Giter VIP home page Giter VIP logo

aivika-gpss's Introduction

GPSS-like DSL for Aivika

This package allows defining simulation models in terms of a GPSS-like domain specific language, which can be useful if you are going to translate your models from GPSS into Aivika.

Note that the GPSS-like domain specific language is not equivalent to the original GPSS language, but it may return very similar results in some cases, while it can also return quite different results in other cases.

The package implements the most of GPSS simulation blocks, but the main difference is as follows.

Like GPSS, the package tries to treat the transact priorities properly within each block. Here it works in a very similar way even for such non-trivial blocks as PREEMPT, GATHER and ASSEMBLE. But unlike GPSS, the blocks behave independently from each other, where the transact priorities are not used when deciding which of the blocks will be activated next. The order of activating the blocks is unpredictable.

There is a layer of emulation. The package creates a new discontinuous process for each new transact. Then that process becomes fully responsible for processing the transact by the blocks. Therefore, the speed of simulation is slower than it could be when implementing the same model but based on using the standard Aivika facilities.

The rough estimation is that this particular package is slower in 2-3 times than the existent GPSS simulators in case of sequential simulation. But the point is that you can combine GPSS with discontinuous processes, events and even agents within the same model. Moreover, you can use GPSS in parallel and distributed simulation models.

Finally, you can use the following prepared example.

aivika-gpss's People

Contributors

dsorokin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.