Ask Your Question
0

How can i use PSS/E 33 to calculate critical clear time through Python

asked 2023-12-15 01:32:53 -0500

ZYW200185 gravatar image

About one week ago ,I asked a question about how can i use PSS/E to calculate critical clear time through Python.But i still can not slove this problem with my software PSS/E which version is 33. So,i still want to need someone to help me to give me some useful ideas about this question or find another arguments to replace the use of critical clear time(CCT). I almost have no idea to solove this problem and urgently to build my dataset about CCT

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2023-12-15 15:12:55 -0500

jconto gravatar image

updated 2024-01-17 15:00:08 -0500

Check the post "MPjobs tool for PSSe runs in Parallel". It has a link to download my tool, MPjobs and it includes a critical clearing time (CCT) study example. Follow the instruction in the readme.txt file.
The CCT data input is in cct_1d.ini and the code that runs the study is in scripts\cct_1d.py. In this example, MPjobs runs multiple instances of cct_1d.py according to data defined in cct_1d.ini. The corresponding *.out and *.log created will have to be analyzed to assert CCT outcome.

The cct_1d.py expects to find a converted case and a snap file in the path specified in the ini file. When you have a non-converted case and a dyr file, the converted case and snap file can be created with the following script:

psspy.case('my.sav')
psspy.conl(0,1,1,[0,0],[ 100.0,0.0,0.0, 100.0])
psspy.conl(0,1,2,[0,0],[ 100.0,0.0,0.0, 100.0])
psspy.conl(0,1,3,[0,0],[ 100.0,0.0,0.0, 100.0])
psspy.cong()
psspy.ordr(0)
psspy.fact()
psspy.tysl(0)
psspy.tysl(0)
psspy.save('my_cnv.sav')

#** Read DYRE records -  system dynamics + solar PV dynamics
psspy.dyre_new([1,1,1,1],'my.dyr','','','')
#** Save snapshot for dynamics
psspy.snap([-1,-1,-1,-1,-1],'my.snp')

If specific channels are monitored, plots of those channels for the multiple *.out files can be done to visualize the CCT outcome (for plotting check the post "Channels - tool to process outs files").

edit flag offensive delete link more

Comments

sorry,i can't find any file about cct in your link . Did you delete them ?

ZYW200185 gravatar imageZYW200185 ( 2023-12-17 00:25:57 -0500 )edit

The link to download MPjobs is in the third paragraph of that post. CCT is an example included in the install.

jconto gravatar imagejconto ( 2023-12-18 10:07:00 -0500 )edit

Yes,i download MPjobs in your post.But i really can't find any example about CCT in MPjobs_jconto_20230911

ZYW200185 gravatar imageZYW200185 ( 2023-12-19 01:21:56 -0500 )edit

Sorry for the missing files. Please download the updated zip file MPjobs_jconto_20240102 and follows the instructions given above.

jconto gravatar imagejconto ( 2024-01-02 13:42:30 -0500 )edit

Sorry for interrupting you again.I have successfully run the base simulation that you provided.but i want to run the case of IEEE 39 power system.I have the file of IEEE 39.sav and IEEE 39.dyr.So,next,what can i do to achieve my goal of doing the simulation of IEEE39's CCT calculation

ZYW200185 gravatar imageZYW200185 ( 2024-01-16 03:23:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2023-12-15 01:32:53 -0500

Seen: 496 times

Last updated: Jan 17