Group Abstract Group Abstract

Message Boards Message Boards

2
|
27K Views
|
9 Replies
|
9 Total Likes
View groups...
Share
Share this post:

Use Systemmodeler for process-based discrete event simulations?

Posted 10 years ago

Hi, Does anyone use System Modeler for process-based discrete event simulations? e.g. supply chain logistics simulations? Does anyone use ARENALib / SIMANLib / DES / DEVS? I am evaluating if I could use System Modeler for this. Cheers, Stefan

9 Replies

Neil,

meanwhile my experience is the same. But the argumentation (to pass on packages except official ones) is somewhat uncomfortable. One of the great strengths of systems like R is that there is a living community producing libraries with high quality.

And again: Wolfram should anticipate that buyers of WSM want to model queues. This use case is really obvious in the context of modeling software and not beside the point. @Markus: you kindly offered help for questions about SystemDynamics.I will formulate my questions carefully and post them into this discussion.

Best regards Volker

While this thread is old, it appears to be still relevant.

First of all, one may note that DESlib has not been abandoned as there is DESlib2, which has been developed and tested using Dymola 2021 according to the developers (V. Sanz and A. Urquia):

http://www.euclides.dia.uned.es

In a very recent paper, Sanz and Urquia describe their implementation of message passing communication (MPC), which is based on earlier developments of Parallel DEVS (PDEVS) by the authors:

Sanz and Urquia (2022) Cyber-physical system modeling with Modelica using message passing communication

(Links to earlier works can be found on Victorino Sanz Prat's website.)

What does make the MCP/PDEVS approach interesting imo is the fact, that the authors also use it to implement agent-based modeling capabilities in Modelica next to the before mentioned process-based discrete-event simulation. This is interesting, as to my knowledge there are not too many tools out there that fully allow to mix say system dynamics, discrete-event, and agent-based modeling (AnyLogic, of course, comes to mind).

I find it easier to just use the built-in event handling in Modelica. The problem with libraries is that it becomes difficult to understand how something was modeled. For a simple object such as a mass or resistor, it is straightforward. Most of the difficult debugging that I have encountered is when I have relied on someone's library/model and realized that what they did was not consistent with my understanding of the model. Modelica is such a rich language, I suggest that you program your own blocks or use StateGraph blocks if they fit your requirements. In our models, I wound up doing my own blocks (mixed with built-in blocks) because they were simpler and easier to debug and verify. An event is triggered and my block responds to the event.

The built-in Packages are well vetted and are reliable. It is a mistake to add Packages that are publicly available but that you really do not understand -- In my experience you will likely lose more time than you save.

Regards

POSTED BY: Neil Singer
POSTED BY: Markus Dahl
POSTED BY: Markus Dahl

I have the same requirement.Deslib does not work and the WSM documentation is really poor. I am interested to come in contact with you to discuss this topic. My phone nr is +49 175 4109108. Volker

The StateGraph components in SystemModeler will work for this. You can also make your own custom blocks with discrete event behavior customized to your application.

POSTED BY: Neil Singer
Posted 9 years ago

I think Only Sim Events from Mathworks and MATLAB can help you with this . Is very powerfull

POSTED BY: Bogd Timo
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard