assume-framework / assume

ASSUME - Agent-based Simulation for Studying and Understanding Market Evolution
https://assume.readthedocs.io
23 stars 7 forks source link

Column ["demand_EOM"] in forecast does not allow several demand units #263

Closed adamsjohanna closed 8 months ago

adamsjohanna commented 9 months ago

the functions calculate_EOM_price_forecast() and calculate_residual_demand_forecast() in forecast.py use forecast["demand_EOM"], but this is never defined in the code, it has to be specifically used in the csv input for demand. This results in an error in the pay_as_clear clearing algorithm if instead of one demand, several demand units are used. Maybe a sum of all demand in the EOM market could be inserted here.