Interface AlchemistSimulationAdapter
-
- All Implemented Interfaces:
public interface AlchemistSimulationAdapter
The Alchemist simulation adapter that allows MultiVesta adapter to interact with the simulation.
-
-
Method Summary
Modifier and Type Method Description abstract Double
getTime()
Get the simulation time. abstract Double
rval(String obs)
Get the value for the given observation. abstract Double
rval(Integer obsId)
Get the value for the given observation. abstract Unit
doStep()
Perform a simulation step. abstract Unit
performWholeSimulation()
Perform the whole simulation. -
-
Method Detail
-
rval
abstract Double rval(String obs)
Get the value for the given observation.
- Parameters:
obs
- the name of the observation
-
rval
abstract Double rval(Integer obsId)
Get the value for the given observation.
- Parameters:
obsId
- the id of the observation
-
doStep
abstract Unit doStep()
Perform a simulation step. In Alchemist this means that the simulation will be advanced of the number of step needed to reach the next time.
-
performWholeSimulation
abstract Unit performWholeSimulation()
Perform the whole simulation.
-
-
-
-