openego / eTraGo

Optimization of flexibility options for transmission grids based on PyPSA
GNU Affero General Public License v3.0
31 stars 13 forks source link

Clustering doesn't work with load_shedding #581

Closed KathiEsterl closed 1 year ago

KathiEsterl commented 1 year ago

Right now, we run into a problem when having a network with load shedding and conducting the clustering. I guess, 'load_shedding' as a carrier needs to be added within the function calculating the weighting for the clustering. Probably the availability factor should be 0 to not consider load shedding in the weighting? @CarlosEpia , could you have a look, please?

CarlosEpia commented 1 year ago

Hi Kathi. About this problem, we are currently using load shedding in a different way. We keep "load_shedding": False in the parameters and use the function after the clustering. It looks like this: image

KathiEsterl commented 1 year ago

Yeah, that's right. Anyways, at some point we should fix this, right? I guess, in the end we want to have the opportunity to adapt this setting in the args and probably also keep the function etrago.load_shedding() in adjust_network, don't we?

CarlosEpia commented 1 year ago

Sure. I will take care of this issue.

KathiEsterl commented 1 year ago

Sure. I will take care of this issue.

Thank you! :)