First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

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

asked Dec 15 '3

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

1 answer

Sort by » oldest newest most voted
0

answered Dec 15 '3

jconto gravatar image

updated Jan 17 '4

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").

link

Comments

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

ZYW200185 gravatar imageZYW200185 (Dec 17 '3)

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

jconto gravatar imagejconto (Dec 18 '3)

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

ZYW200185 gravatar imageZYW200185 (Dec 19 '3)

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

jconto gravatar imagejconto (Jan 2 '4)

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 (Jan 16 '4)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Dec 15 '3

Seen: 591 times

Last updated: Jan 17 '24