Package org.opentrafficsim.demo.fd
Class FundamentalDiagramModel
java.lang.Object
org.djutils.event.LocalEventProducer
nl.tudelft.simulation.dsol.model.AbstractDsolModel<Duration,OtsSimulatorInterface>
org.opentrafficsim.core.dsol.AbstractOtsModel
org.opentrafficsim.demo.fd.FundamentalDiagramModel
- All Implemented Interfaces:
nl.tudelft.simulation.dsol.model.DsolModel<Duration,,OtsSimulatorInterface> EventProducer,OtsModelInterface
Fundamental diagram model.
Copyright (c) 2020-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
Fields inherited from class nl.tudelft.simulation.dsol.model.AbstractDsolModel
inputParameterMap, outputStatistics, simulator, streamInformationFields inherited from interface org.djutils.event.EventProducer
FIRST_POSITION, LAST_POSITION -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opentrafficsim.core.dsol.AbstractOtsModel
defaultInitialStreams, getDescription, getShortName, setDescription, setShortNameMethods inherited from class nl.tudelft.simulation.dsol.model.AbstractDsolModel
addInputParameter, getInputParameter, getInputParameterMap, getOutputStatistics, getResetApplicationExecutable, getSimulator, getStreamInformation, resetApplication, setInputParameterMap, setResetApplicationExecutable, setStreamInformationMethods inherited from class org.djutils.event.LocalEventProducer
getEventListenerMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nl.tudelft.simulation.dsol.model.DsolModel
getDefaultStream, getInputParameterBoolean, getInputParameterDouble, getInputParameterDoubleScalar, getInputParameterFloat, getInputParameterFloatScalar, getInputParameterInteger, getInputParameterLocalDateTime, getInputParameterLong, getInputParameterMap, getInputParameterString, getInputParameterUnit, getOutputStatistics, getResetApplicationExecutable, getSimulator, getStream, getStreamInformation, getStreams, resetApplication, resetStreams, setInputParameterMap, setResetApplicationExecutable, setStreamInformationMethods inherited from interface org.djutils.event.EventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireUnverifiedEvent, fireUnverifiedEvent, fireUnverifiedTimedEvent, fireUnverifiedTimedEvent, getEventTypesWithListeners, getListenerReferences, hasListeners, numberOfListeners, removeAllListeners, removeAllListeners, removeListener
-
Constructor Details
-
FundamentalDiagramModel
Constructor.- Parameters:
simulator- the simulator to use
-
-
Method Details
-
getNetwork
-
constructModel
public void constructModel() throws nl.tudelft.simulation.dsol.SimRuntimeException- Throws:
nl.tudelft.simulation.dsol.SimRuntimeException
-