|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.event.EventProducer
nl.tudelft.simulation.dsol.simulators.Simulator
nl.tudelft.simulation.dsol.simulators.DESSSimulator
The DESS defines the interface of the DESS simulator. DESS stands for the
Differential Equation System Specification. More information on Modeling &
Simulation can be found in "Theory of Modeling and Simulation" by Bernard
Zeigler et. al.
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Field Summary | |
protected double |
timeStep
timeStep represents the timestep of the DESS simulator |
| Fields inherited from class nl.tudelft.simulation.dsol.simulators.Simulator |
replication, running, semaphore, simulatorTime, worker |
| Fields inherited from class nl.tudelft.simulation.event.EventProducer |
listeners |
| Fields inherited from interface nl.tudelft.simulation.dsol.simulators.DESSSimulatorInterface |
DEFAULT_TIME_STEP, TIME_STEP_CHANGED_EVENT |
| Fields inherited from interface nl.tudelft.simulation.dsol.simulators.SimulatorInterface |
END_OF_REPLICATION_EVENT, START_EVENT, START_REPLICATION_EVENT, STEP_EVENT, STOP_EVENT, TIME_CHANGED_EVENT, WARMUP_EVENT |
| Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
| Constructor Summary | |
DESSSimulator()
|
|
| Method Summary | |
double |
getTimeStep()
returns the time step of the DESS simulator |
void |
initialize(Replication replication)
initializes the simulator with a specified replication. |
void |
run()
The run method defines the actual time step mechanism of the simulator. |
void |
setTimeStep(double timeStep)
Method setTimeStep sets the time step of the simulator |
| Methods inherited from class nl.tudelft.simulation.dsol.simulators.Simulator |
getReplication, getSimulatorTime, isRunning, start, step, stop |
| Methods inherited from class nl.tudelft.simulation.event.EventProducer |
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nl.tudelft.simulation.dsol.simulators.SimulatorInterface |
getReplication, getSimulatorTime, isRunning, start, step, stop |
| Methods inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
addListener, addListener, addListener, addListener, getEventTypes, removeListener |
| Field Detail |
protected double timeStep
| Constructor Detail |
public DESSSimulator()
| Method Detail |
public void initialize(Replication replication)
throws java.rmi.RemoteException,
SimRuntimeException
SimulatorInterface
initialize in interface SimulatorInterfaceinitialize in class Simulatorjava.rmi.RemoteException
SimRuntimeException#initialize(nl.tudelft.simulation.dsol.experiment.Replication)public double getTimeStep()
DESSSimulatorInterface
getTimeStep in interface DESSSimulatorInterface#getTimeStep()public void run()
Simulator
run in interface java.lang.Runnablerun in class SimulatorSimulator.run()public void setTimeStep(double timeStep)
DESSSimulatorInterface
setTimeStep in interface DESSSimulatorInterfacetimeStep - the new timeStep. Its value should be >0.0#setTimeStep(double)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||