rl-institut / SimBA

GNU Affero General Public License v3.0
2 stars 1 forks source link

multiple gc prices #163

Closed stefansc1 closed 8 months ago

stefansc1 commented 8 months ago

Allows to specify price CSV files for grid connectors in electrified stations file.

Adds warning if multiple price timeseries are given to SpiceEV through the include-price-csv command line argument (SpiceEV ignores all but the last), fix path check for those. No change to seeded price generation.

Make seed in tests static.

PaulScheerRLI commented 8 months ago

generate_price_list_from_csv reads the data and also handles the data. can this be split into two functions? Tests show that events are handled by SpiceEV but line 720ff in schedule is still not covered by tests, i.e. is the input from the electrified_stations properly handled. Functionality testing is missing, i.e. is the electricity cost simba will "spit out" actually changing. This can be done by calculating costs and checking the costobject.cost_per_gc dict