0

Multiple output in dynamic simulation

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.

Kevin Chuang's avatar
15
Kevin Chuang
asked 2018-09-05 20:19:22 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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",["",""])
perolofl's avatar
3.8k
perolofl
answered 2018-09-06 01:11:56 -0500
edit flag offensive 0 remove flag delete link

Comments

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

Kevin Chuang's avatar Kevin Chuang (2018-09-06 02:39:53 -0500) edit

Of course! Just record a python script!

perolofl's avatar perolofl (2018-09-06 05:28:24 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer