Table of Contents¶
t3co/input_data/vehicle¶
Vehicle Objects¶
__new__¶
Creates a new instance of the OpportunityCosts class.
from_config¶
Creates a Vehicle instance from the configuration.
Arguments:
selection
int - The selection index.config
Config - The configuration instance.
Returns:
Self
- An instance of the Vehicle class.
from_db¶
Creates a Vehicle instance from the vehicle database file.
Arguments:
selection
int - The selection index.vehicle_db_file
Union[str, Path] - The vehicle database file path.
Returns:
Self
- An instance of the Vehicle class.
set_veh_kg¶
Sets the vehicle weight in kilograms.
delete_dataframes¶
Deletes DataFrame attributes from the Vehicle instance.