Vehicle

scalation.simulation.process.Vehicle
See theVehicle companion class
object Vehicle

The Vehicle object contains driver/vehicle characteristics/properties.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Vehicle.type

Members list

Value members

Concrete methods

inline def T: Double
inline def amax: Double
inline def bmax: Double
def butcher(Ft: Double, ft: Double, ft_rt: Double, rt: Double): Double

Butcher's Method (fifth order) for numerically solving an ordinary differential equation.

Butcher's Method (fifth order) for numerically solving an ordinary differential equation.

Value parameters

Ft

the "original" function value at time t

ft

the "derivative" function value at time t

ft_rt

the "derivative" function value at time t - rt

rt

the time difference (reaction time) FIX - integrate into Dynamics package

Attributes

inline def del: Double
inline def len: Double
inline def rt: Double

Return the current value for 'prop("rt") the driver reaction time

Return the current value for 'prop("rt") the driver reaction time

Attributes

inline def s: Double
def setProps(new_prop: Map[String, Double]): Unit

Set the driver/vehicle characteristics/properties to the new property values.

Set the driver/vehicle characteristics/properties to the new property values.

Value parameters

new_prop

the new property values

Attributes

inline def v0: Double
inline def vmax: Double

Concrete fields

val def_prop: Map[String, Double]

defaults values for driver/vehicle characteristics/properties (PUBLIC access required)

defaults values for driver/vehicle characteristics/properties (PUBLIC access required)

Attributes

See also