public class ImportSimulation extends StdSimulation
ImportSimulation does not actually run the simulation itself.
Instead, it goes through the batches and collects batch results from previous
simulation runs and produces the final results.model, simEnvbatchHandler, transientPhaseHandler| Constructor and Description |
|---|
ImportSimulation(Model model,
SimulationEnvironment simEnv) |
| Modifier and Type | Method and Description |
|---|---|
void |
runSimulation()
executes the actual simulation with a subdivision in simulation phases
a warm-up (transient) phase at the beginning of simulation several batches during which statistical data is collected In each phase event generation and processing is started by calling the method processPendingEvents() of the model object given as
parameter on construction of StdSimulation
notifies the
SimulationControlManager
at the beginning and end of each simulation phase as well as at the end of
the simulation
prints the partial results after each batch (
printBatchResults())
|
handleEndOfCurrentBatch, handleEndOfTransientPhase, printBatchResults, printResultsgetBatchNotifier, getTransientPhaseNotifier, initSimulation, run, startSimulationpublic ImportSimulation(Model model, SimulationEnvironment simEnv)
public void runSimulation()
StdSimulationprocessPendingEvents() of the model object given as
parameter on construction of StdSimulation
SimulationControlManager
at the beginning and end of each simulation phase as well as at the end of
the simulationprintBatchResults())runSimulation in class StdSimulation