Avoid Reduction (Curtailement under PYPSA)

116 views
Skip to first unread message

DR Mohammed Riadh Habour

unread,
Mar 30, 2023, 1:24:34 PM3/30/23
to pypsa
Hi 

I'm modelling some scenarios of 100% renewable electricity system, I observed that PYPSA do too much curtailment even if we include a storage system with e_nom_extendable=True and links set on p_nom_extendable=True, I would like to know if there is any function or how to custom a constraint to avoid curtailment (all electricity generated by PV and wind generators must be oriented only to charge or batteries).

Thank you 
Riadh 

Fabian Neumann

unread,
Mar 31, 2023, 2:09:49 AM3/31/23
to pypsa
Hi Riadh,

to force-avoid curtailment, you can set p_min_pu = p_max_pu. Just be aware that this can cause infeasibilities.

Best wishes,

Fabian N

DR Mohammed Riadh Habour

unread,
Apr 1, 2023, 9:17:25 AM4/1/23
to pypsa
Hi Fabian,

PYPSA simulate for while more then 3 hours without result, by the way I'm using a processor with "11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz   1.38 GHz", do I need laptop with more performance, or the incapacity of simulation is considered as infeasibility ?

Best wishes,

Riadh

DR Mohammed Riadh Habour

unread,
Apr 3, 2023, 7:34:11 AM4/3/23
to pypsa
Hi Fabian,

After a long time (more then 5 hours)  PyPSA simulate the model, Again the exceeding of energy  is not directed to the store, only a small part of it is stored, the result show that the generations exceed a demand in to much  hours, the model can not orient all exceeding electricity to the store to be used in other snapshot when the renewable generators don't meet the demand, if you don't found these problem in your experience before, I would to see some PYPSA example (not a simple example from pypsareadoc, I study them all), if you know any relevant example please don't hesitate to send it to me ? 
Best wishes,

Riadh

Séanadh Ríomhphoist/Email Disclaimer

Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin é. Is féidir tuilleadh a léamh anseo. 

This e-mail and any files transmitted with it are confidential and are intended solely for use by the addressee. Read more here.





 

--
You received this message because you are subscribed to the Google Groups "pypsa" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pypsa+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pypsa/83e1dd43-7728-49e2-b68c-d7189db10483n%40googlegroups.com.

Séanadh Ríomhphoist/Email Disclaimer

Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin é. Is féidir tuilleadh a léamh anseo. 

This e-mail and any files transmitted with it are confidential and are intended solely for use by the addressee. Read more here.





 

Fabian Hofmann

unread,
Apr 3, 2023, 8:18:06 AM4/3/23
to py...@googlegroups.com

Dear Riadh,


I am a bit confused. Did you, as Fabian Neumann suggested, set p_min_pu = p_max_pu? If so, the renewables cannot curtail.


Best

Fabian Hofmann

To view this discussion on the web, visit https://groups.google.com/d/msgid/pypsa/CAMPa1Y9-xBEgRGMboW2orSEyY2ZvR_fnNeayLcV2ZogL9V2UOw%40mail.gmail.com.
-- 
Fabian Hofmann 

Postdoctoral Researcher
Institute of Energy Technology
Technische Universität Berlin
http://fabianhofmann.org/

Group website: https://tub-ensys.github.io/
Message has been deleted
Message has been deleted

Johannes Hampp

unread,
Apr 11, 2023, 2:33:42 AM4/11/23
to DR Mohammed Riadh Habour, pypsa
Dear Riadh,

As Fabian and Fabian wrote, p_min_pu = p_max_pu for all RE generators
should force feed-in.

If it doesn't, you might have an incorrect implementation. It is hard to
tell without digging deeper into your model.

I recommend you do some debugging:

* Reduce your situation to a small amount of components (e.g. 1 load, 1
generator, ...) and see if the problem still occurs. If this simple
model still does not work, you can share it on the mailinglist.

* For faster computation, only solve a few snapshots rather than your
full model. The results won't be the same, but you can check if the
forced feed-in is working. Use

network.lopf(snapshots=<selection of snapshots>)

to only consider a subset of your snapshots. Popular options
snapshots[::3], snapshots[::7], snapshots[::25] for 1 year models with
hourly resolution.

Best,
Johannes

Best regards,
Johannes Hampp (he/him)

Justus Liebig University Giessen (JLU)
Center for international Development and Environmental Research (ZEU)

mailto: johanne...@zeu.uni-giessen.de

Senckenbergstr. 3
DE-35392 Giessen
https://uni-giessen.de/zeu

Am 04.04.23 um 22:36 schrieb DR Mohammed Riadh Habour:
> Dear Fabian
>
> Yes he did, I would like to store all electricity exceeding in storage,
> are there any function to fore store all exceeding ?
>
> Best wishes
> Riadh
>> /
>>
>> *Séanadh Ríomhphoist/Email Disclaimer*
>>
>> *Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi
>> rún agus is lena úsáid ag an seolaí agus sin amháin é. Is
>> féidir tuilleadh a léamh anseo.
>> <https://sites.google.com/view/seanadh-riomhphoist>*
>>
>> *This e-mail and any files transmitted with it are
>> confidential and are intended solely for use by the addressee.
>> Read more here.
>> <https://sites.google.com/view/dcu-email-disclaimer>*
>>
>> /
>>
>>
>>
>> <https://www.facebook.com/DCU/><https://twitter.com/DCU><https://www.linkedin.com/company/dublin-city-university><https://www.instagram.com/dublincityuniversity/?hl=en><https://www.youtube.com/user/DublinCityUniversity>
>> --
>> You received this message because you are subscribed to the
>> Google Groups "pypsa" group.
>> To unsubscribe from this group and stop receiving emails from
>> it, send an email to pypsa+un...@googlegroups.com.
>> To view this discussion on the web, visit
>> https://groups.google.com/d/msgid/pypsa/83e1dd43-7728-49e2-b68c-d7189db10483n%40googlegroups.com <https://groups.google.com/d/msgid/pypsa/83e1dd43-7728-49e2-b68c-d7189db10483n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>
>>
>> /
>>
>> *Séanadh Ríomhphoist/Email Disclaimer*
>>
>> *Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi rún
>> agus is lena úsáid ag an seolaí agus sin amháin é. Is féidir
>> tuilleadh a léamh anseo.
>> <https://sites.google.com/view/seanadh-riomhphoist>*
>>
>> *This e-mail and any files transmitted with it are confidential
>> and are intended solely for use by the addressee. Read more here.
>> <https://sites.google.com/view/dcu-email-disclaimer>*
>>
>> /
>>
>>
>> <https://www.facebook.com/DCU/><https://twitter.com/DCU><https://www.linkedin.com/company/dublin-city-university><https://www.instagram.com/dublincityuniversity/?hl=en><https://www.youtube.com/user/DublinCityUniversity>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "pypsa" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to pypsa+un...@googlegroups.com.
>> To view this discussion on the web, visit
>> https://groups.google.com/d/msgid/pypsa/CAMPa1Y9-xBEgRGMboW2orSEyY2ZvR_fnNeayLcV2ZogL9V2UOw%40mail.gmail.com <https://groups.google.com/d/msgid/pypsa/CAMPa1Y9-xBEgRGMboW2orSEyY2ZvR_fnNeayLcV2ZogL9V2UOw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> Fabian Hofmann
>
> Postdoctoral Researcher
> Institute of Energy Technology
> Technische Universität Berlin
> http://fabianhofmann.org/ <http://fabianhofmann.org/>
>
> Group website:https://tub-ensys.github.io/ <https://tub-ensys.github.io/>
>
>
> /
>
> *Séanadh Ríomhphoist/Email Disclaimer*
>
> *Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi rún agus is
> lena úsáid ag an seolaí agus sin amháin é. Is féidir tuilleadh a léamh
> anseo. <https://sites.google.com/view/seanadh-riomhphoist>*
>
> *This e-mail and any files transmitted with it are confidential and are
> intended solely for use by the addressee. Read more here.
> <https://sites.google.com/view/dcu-email-disclaimer>*
>
>
>
> /
>
>
>
> <https://www.facebook.com/DCU/><https://twitter.com/DCU><https://www.linkedin.com/company/dublin-city-university><https://www.instagram.com/dublincityuniversity/?hl=en><https://www.youtube.com/user/DublinCityUniversity>
>
> --
> You received this message because you are subscribed to the Google
> Groups "pypsa" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to pypsa+un...@googlegroups.com
> <mailto:pypsa+un...@googlegroups.com>.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/pypsa/d259c219-e5b5-4922-97cc-3c5ce870d20fn%40googlegroups.com <https://groups.google.com/d/msgid/pypsa/d259c219-e5b5-4922-97cc-3c5ce870d20fn%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages