quintel / etmodel

Professional interface of the Energy Transition model.
https://energytransitionmodel.com/
MIT License
25 stars 12 forks source link

Hydrogen merit orders need page reload before capacities are updated #4273

Open mabijkerk opened 1 month ago

mabijkerk commented 1 month ago

If I add flexible capacity for the new hydrogen merit orders, these do not show up until I refresh the page. See screenshot below with 2000 MW of flexible SMR installed. @noracato I recall having this issue with other user-adjustable merit orders as well. Is this something you can pick up easily?

Screenshot 2024-05-17 at 08 40 19

noracato commented 1 month ago

I checked the issue, however in the code it seems like we already reload the order in the background. Also, when I start adding storage and switch slides, the storage is showing up correctly for me in the order.

The only thing I can think of is the code being not triggered somehow when you switch slides very fast. Shall I dive in some more?

mabijkerk commented 1 month ago

When I add dispatchable SMR/ATR/ammonia reforming on the production slide and switch to the production merit order slide it does not show up for me. Would be good to investigate this further.