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

public class FundamentalDiagramModel extends AbstractOtsModel
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
  • Constructor Details

    • FundamentalDiagramModel

      public FundamentalDiagramModel(OtsSimulatorInterface simulator)
      Constructor.
      Parameters:
      simulator - the simulator to use
  • Method Details

    • getNetwork

      public Network getNetwork()
    • constructModel

      public void constructModel() throws nl.tudelft.simulation.dsol.SimRuntimeException
      Throws:
      nl.tudelft.simulation.dsol.SimRuntimeException