public abstract class TimeModel extends SimulationEntity
Modifier and Type | Class and Description |
---|---|
static class |
TimeModel.TEMPORALMODE |
Modifier and Type | Field and Description |
---|---|
protected OutputScheme |
outputScheme |
protected ProcessModel |
processModel |
protected double |
simulationTime |
associatedSimulationContainer
Constructor and Description |
---|
TimeModel(SimulationContainer simulationContainer,
ProcessModel processModel)
The TimeModel governs the temporal dynamics of the simulation running
in the simulationContainer, as well as the execution of the processModel
associated with it.
|
Modifier and Type | Method and Description |
---|---|
ProcessModel |
getProcessModel() |
double |
getSimulationTime() |
void |
setOutputScheme(OutputScheme outputScheme) |
abstract void |
startSimulation()
Method that starts the simulation.
|
getAssociatedSimulationContainer
protected ProcessModel processModel
protected double simulationTime
protected OutputScheme outputScheme
public TimeModel(SimulationContainer simulationContainer, ProcessModel processModel)
simulationContainer
- The container in which the simulation governed by this temporal model runsprocessModel
- The process model governed by this temporal modelpublic ProcessModel getProcessModel()
public double getSimulationTime()
public void setOutputScheme(OutputScheme outputScheme)
public abstract void startSimulation()