thalerjonathan / chimera

A library for pure functional Agent-Based Simulation in Haskell
GNU General Public License v3.0
13 stars 0 forks source link

Example: can we do Discrete Event Simulation? #8

Open thalerjonathan opened 6 years ago

thalerjonathan commented 6 years ago

Our approach is already a true hybrid approach because of parallel update-strategy and continuous time which allows us to do System Dynamics (SD). The question is if our approach is also capable of implementing DES problems e.g. single queue with multiple servers? also specialist vs. generalist. Try to implement this and then put the derived primitives into a general definition as was done for SD. If it turns out that we can do that then we are truly a hybrid approach.

Source, sink, queue, service with queue. Use a WriterT Double monad in addition which allows to update the time-delta for the next update - will start with +inf and can only be reduced (ivan has described a similar approach in his thesis)