Ask Your Question
0

Multiple output in dynamic simulation

asked 2018-09-05 20:19:22 -0500

Kevin Chuang gravatar image

Dear everyone,

I am doing a dynamic simulation with python, but I have two questions during the process of simulation. I would like to select BsFreq, Voltage, and Flow(P&Q) as my output. Can I create three output files to output them? The file I'm working has thousands of bus and they have already been classified. How to choose specific area or zone? I'm trying psspy.chsb(), but I am not sure how to do it. Or there is another way to do this process.

Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-09-06 01:11:56 -0500

perolofl gravatar image

You can only have one output file from the simulation but you may have thousands of channels if you want.

It is easier to make the channels selections interactively and record a python script. Change all starting indices to -1 in order to use the default values, see example below:

psspy.bus_frequency_channel([-1,ibus],"")
psspy.voltage_channel([-1,-1,-1,ibus],"")
psspy.branch_p_and_q_channel([-1,-1,-1,ibus,jbus],"1",["",""])
edit flag offensive delete link more

Comments

Can we use python do What we do on "Channel Setup Wizard"? Like select several quantities and specific subsystem.

Kevin Chuang gravatar imageKevin Chuang ( 2018-09-06 02:39:53 -0500 )edit

Of course! Just record a python script!

perolofl gravatar imageperolofl ( 2018-09-06 05:28:24 -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: 2018-09-05 20:19:22 -0500

Seen: 31 times

Last updated: Sep 06