-
Notifications
You must be signed in to change notification settings - Fork 9
Custom curve flhs hydro river, solar thermal & geothermal #3223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@kaskranenburgQ will this change model results? If so, we cannot merge it without discussing it with our clients. |
Just did a quick scan of the changes. In addition to Mathijs' question and remark, I think we also need to write a migration, since the inputs that will be deleted with this PR can be set in scenarios... Let's discuss in the sprint. |
I had a look at the scenarios through the server. I couldn't always parse the user_inputs for older scenarios for this hash serialisation issue for some of the values, especially in older scenarios: But from the scenarios which I could check, and definitely for all the scenarios in the etengine pro backup, none of these inputs are set:
|
The user curve for hydro river works as it should! There's an issue in the geothermal and solar thermal user curve in scenarios where there's already installed capacity of related technologies in the start year. For example, take the a blank EU27 scenario and upload custom curves for solar thermal and geothermal. This correctly changes the full load hours, but incorrectly updates the number of units and incorrectly doesn't affect the production output, see example below for two technologies. ![]() I think this is because the flh_..._user_curve input should include a correction where the original NoU is set and preset demand is updated based Is there another way to tackle this with the methods we already have? Or do we need to create this method for steam hot water as well? @kaskranenburgQ @mabijkerk |
Great catch! |
Based on the PR of @louispt1 (quintel/etengine#1537), I have added the preset_demand_by_steam_hot_water_production update in the user curve inputs. While testing I found the following points:
@louispt1 Could you add this in your PR? Then I will change the inputs to accomodate this change. |
@kaskranenburgQ I've added the method, untested except for the pre-existing spec: quintel/etengine@b62b037 |
222ec8a
to
f87983d
Compare
f87983d
to
f66ad1d
Compare
After a rebase of the engine branch the issue has been solved. @kndehaan Could you do one final review? |
UPDATE(V(industry_heat_well_geothermal), number_of_units, original_nou_industry_heat_well_geothermal), | ||
UPDATE(V(industry_heat_well_geothermal), preset_demand_by_steam_hot_water_production, V(industry_heat_well_geothermal, steam_hot_water_production_based_on_number_of_units)), | ||
|
||
UPDATE(V(agriculture_geothermal), full_load_hours, USER_INPUT()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was deliberately chosen to not apply the same method of setting the FLH for agriculture_geothermal
?
An uploaded curve for
So, wouldn't it be undesirable that with one curve, all technologies' full load hours are updated to the same value? |
The custom curve upload works well now for all technologies that have steam_hot_water output, thus the new methods However, the same problem (not updating production but incorrectly updating nr of units as mentioned here) still exists for all technologies with useable_heat output. More specifically, for:
I tried to apply the same method here as is done for the other technologies (including copying the method in ETEngine as done in quintel/etengine#1537 for useable_heat). For it to work, it requires to add So question is, are these nodes preset demand? If so, we could add |
The following to-do's are still open before we can merge this:
These changes go together with these PR's: ETModel: quintel/etmodel#4496 |
I think it would be best practice to still include a migration to remove the outdated inputs - I only checked on a local pro db |
374a181
to
2a99686
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
* Updating solar thermal and geothermal custom curve flh inputs * Removing unnecessary flh inputs * Minor changes in structure * Implementing preset_demand_by method in FLH curve inputs for heat * Adding steam hotwater method to FLH inputs for heat * Split up shallow and deep geothermal heat flh curves * Add extra documentation concerning FLH update inputs * Adjust node position * Minor updates in description and layout --------- Co-authored-by: Kyra de Haan <[email protected]>
* Updating solar thermal and geothermal custom curve flh inputs * Removing unnecessary flh inputs * Minor changes in structure * Implementing preset_demand_by method in FLH curve inputs for heat * Adding steam hotwater method to FLH inputs for heat * Split up shallow and deep geothermal heat flh curves * Add extra documentation concerning FLH update inputs * Adjust node position * Minor updates in description and layout --------- Co-authored-by: Kyra de Haan <[email protected]>
This PR aims to close #3119.
It does so by updating the flh inputs for geothermal, solar thermal and hydro technologies.
Please note that the produced energy of each of the technologies in the input statements will change with the flh's expect for buildings_space_heater_solar_thermal & households_water_heater_solar_thermal, since the energy production of these technologies is set via share inputs and not via a combintion of capaicty and flh's.
Goes with: