4.17. tech_costs module

tech_costs.calc_per_veh_tech_costs(averages_dict)[source]
Parameters::

averages_dict: Dictionary; contains average direct and indirect costs per vehicle.

Returns:

The averages_dict dictionary updated with average tech costs per vehicle (direct plus indirect).

Note:

Direct and indirect costs apply only for ageID=0 (i.e., new sales).

tech_costs.calc_tech_costs(totals_dict, averages_dict, sales_arg)[source]
Parameters::

totals_dict: Dictionary; contains vehicle population (VPOP) data.

averages_dict: Dictionary; contains average tech costs per vehicle. sales_arg: String; specifies the sales attribute to use (e.g., “VPOP” or “VPOP_withTech”)

Returns:

The totals_dict dictionary updated with annual technology costs for all vehicles.