Table of Contents¶
t3co/energy_models/energy¶
Energy Objects¶
__new__¶
Creates a new instance of the Energy class.
__init__¶
Initializes the Energy instance.
Arguments:
mpggefloat, optional - Miles per gallon gasoline equivalent. Defaults to None.primary_fuel_range_mifloat, 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_noint - Vehicle selection number.scenarioScenario - Scenario instance containing configuration data.vehicle_fileUnion[str, Path], optional - Vehicle model assumptions input CSV file path. Defaults to gl.RESOURCES_FOLDERPATH / "inputs" / "Demo_FY22_vehicle_model_assumptions.csv".