-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to adjust steps of shunt devices in time series simulation #2288
Comments
Can't you just set the step of the shunt? If this is the case, you could write a shunt controller similar to the trafo controller and just add it. Maybe write one and send a Pull Request. |
Hi @mchirsa5, we just merged two new controllers that might solve your issue: A DiscreteShuntController https://github.com/e2nIEE/pandapower/blob/develop/pandapower/control/controller/shunt_control.py for changing the discrete steps of the shunt depending on voltage settings (similar to DiscreteTapControl for trafos) you can find uses for both here: https://github.com/e2nIEE/pandapower/blob/develop/pandapower/test/control/test_shunt_control.py |
I ma trying to add capacitor to my existing code that is currently dealing with continuous devices like inverter and SVC, using DDPG algo, i am wondering if there is a discrete controller for shunt capacitor that dont allow taps, just switches On or OFF when voltage falls below lower limit e.g 0.95 p.u, plz help me regarding this |
i try to use these shunt controllers, raise LoadflowNotConverged("Power Flow {0} did not converge after " |
if you set up the shunt with max_step=1, and use the discrete shunt controller, it should be able to turn it on or off. otherwise you can always build your own controller with this functionality, here's a tutorial that explains it: https://github.com/e2nIEE/pandapower/blob/develop/tutorials/building_a_controller.ipynb for the not-converging power flow, we'll need more information on the grid. does it work with newton raphson? does the DC power flow calculate? maybe you can start with it. Since it's a separate topic from this issue here, please open another issue or discussion |
Thanks for your response.
Actually I am trying to incorporate capacitor in an ieee 33 bus environment that uses DDPG algorithm for continuous devices like Inverter based PVs and SVC. When I just add a capacitor with create_shunt command it gives the same error even without using the discrete controller introduced by you. Would you please give some hint to deal with such a scenario
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: pawellytaev ***@***.***>
Sent: Tuesday, September 10, 2024 5:15:16 PM
To: e2nIEE/pandapower ***@***.***>
Cc: Mehboob Riaz ***@***.***>; Comment ***@***.***>
Subject: Re: [e2nIEE/pandapower] How to adjust steps of shunt devices in time series simulation (Issue #2288)
if you set up the shunt with max_step=1, and use the discrete shunt controller, it should be able to turn it on or off. otherwise you can always build your own controller with this functionality, here's a tutorial that explains it: https://github.com/e2nIEE/pandapower/blob/develop/tutorials/building_a_controller.ipynb
for the not-converging power flow, we'll need more information on the grid. does it work with newton raphson? does the DC power flow calculate? maybe you can start with it. Since it's a separate topic from this issue here, please open another issue or discussion
—
Reply to this email directly, view it on GitHub<#2288 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BAK6YLZBKCM54YRHW6DJ6SLZV3PFJAVCNFSM6AAAAABIDARVVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBQGUZTGMZQHA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Feature Checklist
Searched the issues page for similar reports
Read the relevant sections of the documentation
Browse the tutorials and tests for usefull code snippets and examples of use
Issue
I'm running the time series simulation for a distribution system. In the simulation, I will have hundreds of transformers and shunt capacitors. I want to adjust the tap of the transformers and the steps of the c-bank based on the voltage magnitudes of the connected bus. Currently, I can change the taps of transformers in the network using "trafocontroller". However, I don't know how to adjust the steps of the c-bank based on the voltage magnitude of the connected bus. Could you advise if there is any function to do that kind of adjustment?
Label
Tasks
The text was updated successfully, but these errors were encountered: