Ask Your Question

ADP's profile - activity

2019-07-05 00:31:45 -0500 received badge  Famous Question (source)
2019-06-14 00:18:56 -0500 commented answer How to add dynamic data to an existing dynamic data in PSSE through Python?

Thank you for your help Sir. I am already able to change the dynamic data values through python using psspy.change_plmod_con

2019-06-09 21:23:56 -0500 received badge  Notable Question (source)
2019-06-09 21:18:34 -0500 commented answer How to add dynamic data to an existing dynamic data in PSSE through Python?

10. run dyn simul 11. add new .dyr 12. run dyn simul

2019-06-09 21:17:30 -0500 commented answer How to add dynamic data to an existing dynamic data in PSSE through Python?

Here is the process I used in my Python Code: 1. load .sav 2. set-up load flow parameter 3. perform load flow 4. load .dyr 5. set up dynamic solution parameters 6. set up output channel 7. convert generators and loads 8. initialize dyn simulation 9. apply disturbance

2019-06-09 21:14:12 -0500 commented answer How to add dynamic data to an existing dynamic data in PSSE through Python?

Hello perolofl, I followed your advice but I still cannot successfully add the new dyr. May be my process of adding the dyr is wrong.

2019-06-07 13:53:33 -0500 received badge  Popular Question (source)
2019-06-05 21:34:09 -0500 asked a question How to add dynamic data to an existing dynamic data in PSSE through Python?

Hi! I am currently conducting a dynamic simulation in PSSE through Python. My concern is changing the dynamic data of one generator's governor from 5% droop to 0% droop (isochronous mode). In my Python file, I used the DYRE_ADD from API (Use this API to read a Dynamics Model Raw Data File and append the model references specified in its data records to the simulation data already contained in dynamics working memory).

ierr = dyre_add(startindx, dyrefile, conecfile, conetfile)

I'm having trouble with identifying the values for "startindx" (CON, STATE, VAR, ICON) to connect the .dyr that I will add to the existing .dyr

I tried using (1,1,1,1), but it just replaced the existing .dyr. psspy.dyreadd([1,1,1,1],dyrfileiso,"","")

I run the existing .dyr in PSSE and got (571,189,80,10), then I applied on the to be added .dyr. But the result showed that PSSE was not able to read the .dyr I added. psspy.dyreadd([571,189,80,10],dyrfileiso,"","")

I hope someone can help me :)