Ask Your Question

Curve doesn't start from t = 0s

asked 2021-02-04 08:09:51 -0500

Viet Hoang Quoc gravatar image

Hello, I'm using PSS/e ver 33. And when I run simulation, the curve in the plot doesn't start from 0s. I don't know how to solve this problem. Please help me with this, I've been facing it for a long time. Thank you!

edit retag flag offensive close merge delete


Where does your curve start?

perolofl gravatar imageperolofl ( 2021-02-04 08:37:07 -0500 )edit

It starts from t = 1s

Viet Hoang Quoc gravatar imageViet Hoang Quoc ( 2021-02-05 02:09:26 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2021-02-05 03:16:31 -0500

perolofl gravatar image

I believe you are changing the output file name during the dynamic simulation. I give an example below:

psspy.strt_2([0,1],r"""file2"""), 0.5,0,1,0)
psspy.dist_bus_fault(151,1,0.0,[0.0,-0.2E+10]), 0.6,0,1,0)
psspy.dist_clear_fault(1), 2.0,0,1,0)

Here, the API change_channel_out_file changes the name of the output file at t=0.6 s. The resulting plot of output file2.out is:

image description

I.e., file2.out only contains the results up to t=0.6 s.

File file3.out contains the simulation results from time t=0.6 and the plot is shown below:

image description

The output file name shall be defined at strt and not changed during the simulation. So, make sure API change_channel_out_file is not used in your code.

edit flag offensive delete link more


You are absolutely correct. And if file 1.out was saved in the snapshot file, reusing the snapshot file to continue the simulation will pickup where we left off in the previous run.

knguyen gravatar imageknguyen ( 2021-02-05 08:41:04 -0500 )edit

answered 2021-02-04 15:04:20 -0500

Did you import your dynamic file from a .dyr file or a .snp file? If from a .snp file then your initial starting point was saved at a location other than 0s after initialization.

edit flag offensive delete link more


I did create new .dyr and .out files, but the results didn't change.

Viet Hoang Quoc gravatar imageViet Hoang Quoc ( 2021-02-05 02:29:16 -0500 )edit

I need to look at your simulation script to better assist you or tell me axactly step by step of how you initialized your model.

knguyen gravatar imageknguyen ( 2021-02-05 08:34:49 -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


Asked: 2021-02-04 08:09:51 -0500

Seen: 40 times

Last updated: Feb 05