public static class VehicleModel.MassBased extends Object implements VehicleModel
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
VehicleModel.MassBasedMINMAX, NONE| Constructor and Description |
|---|
MassBased(Mass mass,
double momentOfInertiaAboutZ) |
| Modifier and Type | Method and Description |
|---|---|
Acceleration |
boundAcceleration(Acceleration acceleration,
LaneBasedGTU gtu)
Returns a bounded acceleration.
|
Mass |
getMass()
GTU mass.
|
double |
getMomentOfInertiaAboutZ()
Moment of inertia about z-axis and center point of gravity.
|
public MassBased(Mass mass, double momentOfInertiaAboutZ)
mass - Mass; massmomentOfInertiaAboutZ - double; moment of inertia about z-axispublic Acceleration boundAcceleration(Acceleration acceleration, LaneBasedGTU gtu)
boundAcceleration in interface VehicleModelacceleration - Acceleration; intended accelerationgtu - LaneBasedGTU; gtupublic Mass getMass()
getMass in interface VehicleModelpublic double getMomentOfInertiaAboutZ()
getMomentOfInertiaAboutZ in interface VehicleModelCopyright © 2014–2019 Delft University of Technology. All rights reserved.