Package net.simplace.sim.wrapper
Class JavaSimplaceWrapper
java.lang.Object
net.simplace.sim.wrapper.SimplaceWrapper
net.simplace.sim.wrapper.JavaSimplaceWrapper
-
Field Summary
Fields inherited from class net.simplace.sim.wrapper.SimplaceWrapper
iCurrentSession, iInitializedSimulations, iSimulationsCount, iSimulationsQueue, isSimulationInitialized
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Explicitly finishes one simulation run if it is stopped before the end of the simulation is reached.getSimVariable
(String aKey) void
Explicitly initialises a simulation run.boolean
Used for running the simulation stepwise.Methods inherited from class net.simplace.sim.wrapper.SimplaceWrapper
createSimulation, getDirectories, getResult, getSimulationIDs, initializeSpecificSimulation, initSimulations, prepareSession, prepareSession, registerModelListener, registerOutputListener, removeModelListener, removeOutputListener, resetSimulationQueue, run, run, runSimulations, runSimulations, setAllSimulationValues, setCheckLevel, setDirectories, setProjectLines, setProjectLines, setSimulationValues, setSimulationValues, setSpecificSimulationValues, shutDown, step, step, step, step, step, step, step, step, stepAll, stepAll, stepAll, stepAll, stepAll, stepAll, stepAll, stepAll, stepAll, stepSpecific, stepSpecific, stepSpecific, stepSpecific, stepSpecific, stepSpecific, stepSpecific, stepSpecific
-
Constructor Details
-
JavaSimplaceWrapper
public JavaSimplaceWrapper()
-
-
Method Details
-
initializeSimulation
public void initializeSimulation()Explicitly initialises a simulation run. Done automatically by step() or run(). -
stepSimple
public boolean stepSimple()Used for running the simulation stepwise. Only the last created or the first simulation in the first project is useable. You have to run - prepareProject and optional - createSimulation before!- Returns:
- boolean indication whether the model step succeeded
-
getSimVariable
-
getCurrentDate
-
getEndDate
-
finishSimulation
public void finishSimulation()Explicitly finishes one simulation run if it is stopped before the end of the simulation is reached. Otherwise this is called automatically by step().
-