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

Ask Your Question
0

PSSE dynamic simulation: how do I remove the first 1 cycles?

asked Nov 8 '17

pjlau gravatar image

Hi,

I noticed that the simulation always started at t = -0.01667 second instead of t = 0, as a result of initialization. How do I make change using psspy in python to start the simulation at t = 0?

I tried to make change the settings in psspy.run, but it did not seem to work that way. psspy.run(1,tEnd,1,1,0)

Thank you,

1 answer

Sort by » oldest newest most voted
0

answered Nov 8 '17

perolofl gravatar image

PSSE is always initialising at minus two time steps. In your case at -0.01667 second. What is your reason to start at 0? You can plot the simulation starting at 0 and thereby hide the first two time steps.

link

Comments

Because I would like to simulate in a time step = 0.0333 sec, in a fashion of t =0, 0.0333, 0.0666, 0.1,... Thank you,

pjlau gravatar imagepjlau (Nov 8 '17)

If your time step is 0.0333 sec PSSE will initialise at -0.0667. The simulation time will be: -0.0667, -0.0333, 0, 0.0333, 0.0667, 0.1...I.e. exactly as you want!

perolofl gravatar imageperolofl (Nov 8 '17)

Is it possible to set time step as such using psspy.run? Or other function? Thanks.

pjlau gravatar imagepjlau (Nov 9 '17)

Use psspy.dynamics_solution_param_2(realar3=0.00333333333) to change the time step to 3.33333333 ms.

perolofl gravatar imageperolofl (Nov 10 '17)

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: Nov 8 '17

Seen: 1,375 times

Last updated: Nov 08 '17