Introduction
Car is an object defined in car_model.py that consumes a self, m, Crr, CdA, max_force, speed_min_ms, speed_max_ms
//fix later
To know:
The object initialization
Dataframe values
With a Car object, we can generate the following:
The force required to _________ , using the
force_req()
methodThe maximum velocity of __________, using the
max_velocity()
methodThe energy used to _______ , using the
energy_used()
method
The object initialization
Initializing the object requires 7 parameters,
self
:
m
:
Crr
:
CdA
:
max_force
:
speed_min_ms
:
speed_max_ms
:
Dataf
The force_req()
method
Creates a Car object.
Consumes a Car object which is itself, {self
The max_velocity()
method
Consumes a string, filename
, and saves a csv of the interpolated route as <filename>.csv
in current directory
The energy_used()
method
Consumes a string, filename
, and saves a csv of the interpolated route as <filename>.csv
in current directory