spice_ev.costs.calculate_commodity_costs

spice_ev.costs.calculate_commodity_costs(price_list, power_supply_list, interval, fraction_year)

Calculate commodity costs for all types of customers.

Parameters:
  • price_list (list) – price list with commodity charge per timestamp

  • power_supply_list (list) – power supplied from the grid

  • interval (timedelta) – simulation interval

  • fraction_year (float) – simulation time relative to one year

Returns:

commodity costs per year and simulation period in Euro

Return type:

float