You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pypsa
Good morning,
I am trying to implement a code to convert the inputs from another power system model (METIS) to PyPSA. Currently, I am working with storage units (reservoir, open- and closed-loop pumping) and I am trying to set a minimum storage for each time step but it appears that for the storage units the minimum must be 0 (3rd equation here https://pypsa.readthedocs.io/en/latest/optimal_power_flow.html#storage-unit-constraints) unless you specify a specific set point using `state_of_charge_set`. Is this correct?
Thanks in advance!
Matteo
Fabian Neumann
unread,
Feb 1, 2022, 3:47:17 AM2/1/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py...@googlegroups.com
Hi Matteo,
yes, as I can see it now, the StorageUnit component only supports a
given set point for the state of charge.
If you have minimum state of charge constraints, these can be
implemented with the more fundamental Store component. Here's an example
how to migrate from StorageUnit to Store/Link/Generator combination:
Visitor Address:
Einsteinufer 25 (TA 8)
10587 Berlin
My working hours may not be your working hours. Do not feel pressure to
reply to this email outside your working hours.
Matteo De Felice
unread,
Feb 6, 2022, 1:37:41 PM2/6/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pypsa
Dear Fabian,
the
Store/Link/Generator implementation works fine and it's flexible but in this setup you cannot impose any constraint on the ramping up/down of the hydropower plant. Because the ramping constraints are only for generators but in this setup you don't have a generator, am I correct?
Do you think would be feasible to add this constraint directly in the PyPSA implementation? Any guidance on how to add this?
Best regards,
Tom Brown
unread,
Feb 7, 2022, 3:23:30 AM2/7/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py...@googlegroups.com
Hi Matteo,
It's definitely possible to add the ramping as an "extra_functionality"
by just copying the constraints over from the generators.
However, we've had a request to put ramping and unit commitment on links
before, so I'll discuss with the team prioritising this for the next
release.
> --
> 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
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pypsa
Hey Matteo,
the PR is merged and the ramping limits for links are now implemented in the current master branch (for pyomo=False). So it'll be supported in the next release.