quintel / merit

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

Import should become merit order participant #139

Closed jorisberkhout closed 8 years ago

jorisberkhout commented 8 years ago

As discussed in https://github.com/quintel/merit/issues/133, import should become a participant in the merit order calculation. Doing this would have quite some impact on the graph. See the discussion in #133 and references therein.

Putting on hold for now.

jorisberkhout commented 8 years ago

Adding milestone 'lole calculation update' as this is relevant for quintel/etmodel#2057 and quintel/etmodel#2058.

jorisberkhout commented 8 years ago

As discussed in #133 , restricting the import can have a large and inexplainable effect on the graph. One solution I can think of is to add an electricity_power_shortage converter to the graph. This would look something like this

screen shot 2016-06-07 at 16 07 13

That way we could make sure that the demand and supply of energy_power_hv_network_electricity are always balanced. In addition, we could use the demand of electricity_power_shortage to give the user a feel for how much electricity is missing and if it is at all possible to mitigate this shortage with more batteries and/or different discharging strategies.

Do you think this would work, @antw and @ChaelKruip ?

jorisberkhout commented 8 years ago

Removing the on hold label as we need this for https://github.com/quintel/etmodel/issues/2058.

ChaelKruip commented 8 years ago

Do you think this would work, @antw and @ChaelKruip ?

Sounds like it would/should work 👍

jorisberkhout commented 8 years ago

Thanks for your quick responses. I will try to get the graph part of this to work. I do realise that in order to test this, we need the import to be restricted. I will pick this up with @antw and @grdw .

jorisberkhout commented 8 years ago

Assigning myself.

antw commented 8 years ago

This should be quite simple. Once you've added the new node and edge, revert quintel/etsource@529c50f and it'll probably work as expected.

AlexanderWirtz commented 8 years ago

Note that for https://github.com/quintel/etmodel/issues/2057 and https://github.com/quintel/etmodel/issues/2058 merit also needs to return the import capacity used for each hour.