4.1.1.6. bca_tool_code.operation_modules package
4.1.1.6.1. Submodules
4.1.1.6.2. bca_tool_code.operation_modules.def_cost module
- calc_def_doserate(settings, vehicle)[source]
- Parameters
settings – object; the SetInputs class object.
vehicle – object; an object of the Vehicle class.
- Returns
The DEF dose rate for the passed vehicle (engine) based on the DEF dose rate input file.
- calc_def_cost(settings, vehicle, nox_reduction=None)[source]
- Parameters
settings – object; the SetInputs class object.
vehicle – object; an object of the Vehicle class.
nox_reduction – numeric; the nox_reduction, if applicable, for the vehicle relative to its no_action state.
- Returns
The DEF cost per vehicle, the corresponding DEF cost, the DEF cost per mile and the gallons of DEF consumed.
4.1.1.6.3. bca_tool_code.operation_modules.fuel_cost module
- calc_fuel_cost(settings, vehicle, thc_reduction=None)[source]
- Parameters
settings – object; the SetInputs class object.
vehicle – object; an object of the Vehicle class.
thc_reduction – numeric: the thc_reduction, if applicable, for the vehicle relative to its no_action state.
- Returns
Average retail fuel cost per vehicle, retail fuel cost, pretax fuel cost and retail cost per mile, and the gallons of gasoline captured by ORVR, associated with the passed vehicle.
Note
Note that gallons of fuel captured are not included in the MOVES runs that serve as the input fleet data for the tool although the inventory impacts are included in the MOVES runs.
4.1.1.6.4. bca_tool_code.operation_modules.repair_cost module
- class EmissionRepairCost[source]
Bases:
object- calc_repair_cost(settings, vehicle)[source]
- Parameters
settings – object; an object of the SetInputs class.
vehicle – object; an object of the Vehicle class.
- Returns
Repair and maintenance cost per vehicle, total cost, cost per mile and cost per hour; also updates the object dictionary for inclusion with the run results.