Class StraightModel

  • All Implemented Interfaces:
    Serializable, DSOLModel<Duration,​org.opentrafficsim.core.dsol.OTSSimulatorInterface>, UNITS, EventProducerInterface, org.opentrafficsim.core.dsol.OTSModelInterface

    public class StraightModel
    extends org.opentrafficsim.core.dsol.AbstractOTSModel
    implements UNITS
    Simulate a single lane road of 5 km length. Vehicles are generated at a constant rate of 1500 veh/hour. At time 300s a blockade is inserted at position 4 km; this blockade is removed at time 500s. The used car following algorithm is IDM+ Integrated Lane Change Model with Relaxation and Synchronization, by Wouter J. Schakel, Victor L. Knoop and Bart van Arem, 2012.
    Output is a set of block charts:
    • Traffic density
    • Speed
    • Flow
    • Acceleration
    All these graphs display simulation time along the horizontal axis and distance along the road along the vertical axis.

    Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See OpenTrafficSim License.

    $LastChangedDate: 2019-01-06 01:35:05 +0100 (Sun, 06 Jan 2019) $, @version $Revision: 4831 $, by $Author: averbraeck $, initial version ug 1, 2014

    Author:
    Peter Knoppers
    See Also:
    Serialized Form
    • Constructor Detail

      • StraightModel

        public StraightModel​(org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator)
        Parameters:
        simulator - OTSSimulatorInterface; the simulator for this model