Ask Your Question
0

Multiple output in dynamic simulation

asked Sep 6 '18

sugui_ 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.

1 answer

Sort by » oldest newest most voted
0

answered Sep 6 '18

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",["",""])
link

Comments

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

sugui_ gravatar imagesugui_ (Sep 6 '18)

Of course! Just record a python script!

perolofl gravatar imageperolofl (Sep 6 '18)

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: Sep 6 '18

Seen: 549 times

Last updated: Sep 06 '18