quintel / etmodel

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

LOLE dashboard item should take electricity from P2P into account (if available) #2057

Closed jorisberkhout closed 8 years ago

jorisberkhout commented 8 years ago

Before we included P2P (batteries and EV) in the ETM, the loss of load expectation (LOLE) was more of a statistical property. The LOLE calculation, of which the result is shown as a dashboard item, would:

  1. Take the demand profile, scaled by the actual electricity demand
  2. Subtract any electricity production by wind turbines, solar panels and hydro river from it (if available)
  3. Compare the remaining electricity demand with the available dispatchable electricity capacity production and count the hours in which this capacity cannot meet the electricity demand

P2P could lower the LOLE by supplying (some of) its stored electricity back to the grid. It does, however, act differently from a dispatchable electricity, because it might not always be charged when you need its electricity to lower the LOLE. Merit does calculate the amount of electricity stored in the battery at every hour of the year, but including it in the LOLE calculation is a little trickier. I suggest to pick this up after the February deploy.

ChaelKruip commented 8 years ago

but including it in the LOLE calculation is a little trickier

I see the following complication:

Merit currently calculates a production (positive part of the load) curve for P2P if Merit is enabled. In this case, the production curve could be subtracted from the demand as with wind, solar etc. to yield the residual demand curve which needs to be compared to the dispatchable capacity at each point. The current LOLE calculation does not require a full run of Merit, however, so including the effects of P2P would still depend on whether Merit is 'on'.

@antw @dennisschoenmakers any ideas of how to ga about this?

dennisquintel commented 8 years ago

Could we say: "the LOLE calculation is more accurate with respect to P2P when Merit is turned on"?

ChaelKruip commented 8 years ago

Could we say: "the LOLE calculation is more accurate with respect to P2P when Merit is turned on"?

That would be misleading. Currently, the Merit module does not use the effects of P2P on the LOLE whether is is 'on' or 'off'.

dennisquintel commented 8 years ago

That would be misleading. Currently, the Merit module does not use the effects of P2P on the LOLE whether is is 'on' or 'off'.

:grinning: Well, not now: I was talking about that hypothetical situation.

jorisberkhout commented 8 years ago

@dennisschoenmakers and I discussed the following solution to this issue:

This solution has the following advantages:

What do you think of this solution, @AlexanderWirtz , @ChaelKruip and @antw ?

AlexanderWirtz commented 8 years ago

I like the general idea. It would require merit to do something it currently does not: register the generation 'shortfall' per hour, as well as the actual import capacity used each hour.

The latter would be a useful addition, as it is a step on the way to giving import capacity a 'virtual plant' status with assigned marginal costs according to an imported .csv time curve from a scenario for a neighboring country. Once we do that we can let the import capacity compete in a national market.

I do not think import is an available option yet in merit, is it?

dennisquintel commented 8 years ago

@jorisberkhout: we also discussed the addition of an extra node in the graph that will represent the shortfall of electricity that cannot be produced nor imported. Perhaps it is also good to elaborate a bit on this idea here? or do we have another Issue for that somewhere else? 😄

jorisberkhout commented 8 years ago

or do we have another Issue for that somewhere else? 😄

Yes, it is described in https://github.com/quintel/merit/issues/139. Implementing it as we speak 😄

jorisberkhout commented 8 years ago

I'll close this issue; the actionable part regarding a new dashboard item displaying blackout hours is described in https://github.com/quintel/etmodel/issues/2058.