Class JavaSimplaceWrapper

java.lang.Object
net.simplace.sim.wrapper.SimplaceWrapper
net.simplace.sim.wrapper.JavaSimplaceWrapper

public class JavaSimplaceWrapper extends SimplaceWrapper
  • 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

      public FWSimVariable<?> getSimVariable(String aKey)
    • getCurrentDate

      public LocalDateTime getCurrentDate()
    • getEndDate

      public LocalDateTime 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().