Table of Contents¶
t3co/energy_models/energy¶
Energy Objects¶
__new__¶
Creates a new instance of the Energy class.
__init__¶
Initializes the Energy instance.
Arguments:
mpgge
float, optional - Miles per gallon gasoline equivalent. Defaults to None.primary_fuel_range_mi
float, optional - Primary fuel range in miles. Defaults to None.
run_fastsim_model¶
Python
def run_fastsim_model(
veh_no: int,
scenario: Scenario,
vehicle_file: Union[str, Path] = gl.RESOURCES_FOLDERPATH / "inputs" /
"Demo_FY22_vehicle_model_assumptions.csv"
) -> None
Runs the FASTSim model to calculate mpgge and primary fuel range.
Arguments:
veh_no
int - Vehicle selection number.scenario
Scenario - Scenario instance containing configuration data.vehicle_file
Union[str, Path], optional - Vehicle model assumptions input CSV file path. Defaults to gl.RESOURCES_FOLDERPATH / "inputs" / "Demo_FY22_vehicle_model_assumptions.csv".