quintel / merit

A system for calculating hourly electricity and heat loads with a merit order
MIT License
3 stars 2 forks source link

Limit the discharge of storage to output capacity left #152

Closed noracato closed 1 year ago

noracato commented 1 year ago

The following was happening: On the second iteration through the dispatchables (price sensitive) max_load_at was not limited by the output capacity left, but the total output capacity.

I am adding a test case for it so it doesn't happen again!

Closes quintel/etengine#1300