spice_ev.costs.find_prices
- spice_ev.costs.find_prices(price_sheet_path, strategy, voltage_level, utilization_time_per_year, energy_supply_per_year, utilization_time_per_year_ec=2500)
Read commodity and capacity charge from price sheets.
For type ‘SLP’ the capacity charge is equivalent to the basic charge.
- Parameters:
price_sheet_path (str) – path of price sheet
strategy (str) – charging strategy for the electric vehicles
voltage_level (str) – voltage level of the power grid
utilization_time_per_year (int) – utilization time of the power grid per year
energy_supply_per_year (float) – total energy supply from the power grid per year
utilization_time_per_year_ec (int) – minimum value of the utilization time per year in order to use the right column of the price sheet (ec: edge condition)
- Returns:
commodity charge, capacity charge, fee type
- Return type:
float, float, str