Menu

#15 Steady-state replications

open
nobody
dsol (7)
7
2004-12-03
2004-12-03
nlang
No

Currently, the DEVSSimulator performs each replication
as a terminating one, which implies resetting warm-up
status, simtime and model after each replication. In
addition, steady-state simulation may be supported (see
Law & Kelton, chapter 8).
For such a simulation, only a warm-up is defined for
the first replication. After that, replication changes
only imply a reset of statistics (triggered by
REP_START/REP_END events). Model and simulator status
are thus not affected by such a replication change.
It appears that the main work for allowing such
'steady-state' replications is located in the
(DEVS)Simulator code, which currently handles resetting
of simtime, warm-up and model state. In addition,
statistics may reset on replication end events,
something which does not occur at present.
The attachments provide a first proposal for the
resulting state transitions for Simulator and
statistics objects.
Finally, it is recommended to add a utility function
'getReplicationSimTime' which returns the amount of
time run for the current replication. This eases the
collection of intermediate statistics data. For a
steady-state sim, with warm-up 100 and replication
length 1000, such a function would return 500 at
simtime=2600.

Discussion

  • nlang

    nlang - 2004-12-03

    Steady state state transitions

     
  • Peter Jacobs

    Peter Jacobs - 2004-12-16

    Logged In: YES
    user_id=387577

    Niels,

    I agree on the topic. This will be added to the next
    release. Work is in progress.

    Peter

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.