rl-institut / spice_ev

Simulation Program for Individual Charging Events of Electric Vehicles
MIT License
22 stars 9 forks source link

Allow price time series for power procurement and grid fees #198

Open jakobgemassmer opened 11 months ago

jakobgemassmer commented 11 months ago

You can add a grid connector specific price time series. The strategy balanced_market considers this price time series. However, the cost calculation only uses these prices for the calculation of the grid fees (commodity and capacity charges) - only with strategy balanced_market (line 283 ff in costs.py). It would make more sense to allow two columns in the price time series. One column for grid fees and one for power procurement.

In the cost calculation the power procurement (line 592 in costs.py) should consider its column. Only if no "power procurement"-column is provided the current logic (taking the power procurement charge from the price sheet) should be used.