AC power flow module

52 views
Skip to first unread message

Lisa Laurent

unread,
Oct 10, 2022, 7:54:45 AM10/10/22
to Switch Model
Hello,

While going trough the documentation, I read that there already exists "an experimental module that provides security-constrained AC power flow in a production-cost environment". 
I have not found this module in the swich_model nor in the examples. 
Is it possible to have more information regarding this module ? Where to find it, how it should be used in the model, etc ?  

I would also be interested to include a DC power flow model in the future, as the documentation states future work will add this feature. Do you already have an idea of when this module would be made available ? 

Thanks for your work on Switch and for your time.

Best regards,
Lisa

Matthias Fripp

unread,
Oct 14, 2022, 10:38:59 PM10/14/22
to switch...@googlegroups.com
Hi Lisa,

The AC power flow is implemented in https://github.com/switch-hawaii/scuc. It unfortunately hasn't been maintained much as Switch and Pyomo have evolved over the years. But it has quite a lot of notes that may aid in updating it.

To use this, you would install Switch as normal, then download this repository and run the model stored there (or one similar to it). The key idea is that you would add "trans_branch_flow" to your modules.txt, which will load the module with that name from this repository. You would also create an iterate.txt with the same module in it. That module removes the normal zonal load balancing constraints, and instead uses an iterative AC power flow. It is fairly complicated -- it creates a DC power flow in Switch and then incrementally updates the loss and flow coefficients based on an AC power flow, until the DC flow matches the AC flow and there are no overloads even during line outages. 

As I said, this is quite experimental. But it did work at one point, and if you'd like to use it, I could work with you to update it for the current versions of Pyomo and Switch.

About the DC power flow -- it should be fairly straightforward (certainly simpler than the scuc), which is why we promised it. But no one has needed it enough to implement it yet. Again, if you're interested in using it I could see about fast-tracking that.

Matthias

On Oct 10, 2022, at 4:54 AM, Lisa Laurent <laurent...@gmail.com> wrote:

Hello,
--
You received this message because you are subscribed to the Google Groups "Switch Model" group.
To unsubscribe from this group and stop receiving emails from it, send an email to switch-model...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/switch-model/4256119d-7a9e-493b-b3fe-59a8003d27cen%40googlegroups.com.

Lisa Laurent

unread,
Oct 26, 2022, 11:05:28 AM10/26/22
to Switch Model
Dear Matthias,

Thank you for your quick answer. 

As a first step, I would rather be interested in implementing a DC power flow. And then see if it could be worth to add the AC power flow, as I am afraid it might be computationally too heavy for the system we are modelling.

I would be very interested to contribute to the development of the DC module, let me know if I can be of any help. I remain available for any future collaboration.

Best regards,
Lisa
Reply all
Reply to author
Forward
0 new messages