Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Initial conditions, snp and rstr for dynamic simulations

Hi guys,

I run a simulation in steady-state conditions but frequency changes slightly at the begining of the simulation, then it goes steady-state. I tried to save the snp at t=300 s with this code:

psspy.strt(0, outputfile) psspy.dynamics_solution_param_2(intgar1 = 5000, realar1 = 0.25, realar3 = 0.001) psspy.strt(0, outputfile) # 2nd start is needed to get initial conditions to SS sim_time = 300.0 # simulation psspy.run(0, sim_time, 9999,1000,1000) psspy.progress_output(1,"",[0,0]) # turn it on psspy.save('post2simulation.sav') psspy.snap(sfile = 'post2simulation.snp')

Then, I used post2simulation.snp as ini2simulation.snp and load it at the begining of my next simulation with this code:

psspy.case(casefile + '.sav') psspy.rstr(sfile = 'ini2simulation.snp')

But I still have that stage of transition at the begining of my simulation.

Do you think this is related to my save case, dyr or snp?

Thanks in advance!image description

Initial conditions, snp and rstr for dynamic simulations

Hi guys,

I run a simulation in steady-state conditions but frequency changes slightly at the begining of the simulation, then it goes steady-state. https://drive.google.com/drive/folders/1RKPD_ED-xdk6kirFo1x2oLDEJrwucP8q?usp=sharing

I tried to save the snp at t=300 s with this code:

psspy.strt(0, outputfile) psspy.dynamics_solution_param_2(intgar1 = 5000, realar1 = 0.25, realar3 = 0.001) psspy.strt(0, outputfile) # 2nd start is needed to get initial conditions to SS sim_time = 300.0 # simulation psspy.run(0, sim_time, 9999,1000,1000) psspy.progress_output(1,"",[0,0]) # turn it on psspy.save('post2simulation.sav') psspy.snap(sfile = 'post2simulation.snp')

Then, I used post2simulation.snp as ini2simulation.snp and load it at the begining of my next simulation with this code:

psspy.case(casefile + '.sav') psspy.rstr(sfile = 'ini2simulation.snp')

But I still have that stage of transition at the begining of my simulation.

Do you think this is related to my save case, dyr or snp?

Thanks in advance!image descriptionadvance!!

Initial conditions, snp and rstr for dynamic simulations

Hi guys,

I run a simulation in steady-state conditions but frequency changes slightly at the begining of the simulation, then it goes steady-state. https://drive.google.com/drive/folders/1RKPD_ED-xdk6kirFo1x2oLDEJrwucP8q?usp=sharing

I tried to save the snp at t=300 s with this code:

psspy.strt(0, outputfile) psspy.dynamics_solution_param_2(intgar1 = 5000, realar1 = 0.25, realar3 = 0.001) psspy.strt(0, outputfile) # 2nd start is needed to get initial conditions to SS sim_time = 300.0 # simulation psspy.run(0, sim_time, 9999,1000,1000) psspy.progress_output(1,"",[0,0]) # turn it on psspy.save('post2simulation.sav') psspy.snap(sfile = 'post2simulation.snp')

Then, I used post2simulation.snp as ini2simulation.snp and load it at the begining of my next simulation with this code:

psspy.case(casefile + '.sav') psspy.rstr(sfile = 'ini2simulation.snp')

But I still have that stage of transition at the begining of my simulation.

Do you think this is related to my save case, dyr or snp?

Thanks in advance!!

Initial conditions, snp and rstr for dynamic simulations

Hi guys,

I run a simulation in steady-state conditions but frequency changes slightly at the begining of the simulation, then it goes steady-state. https://drive.google.com/drive/folders/1RKPD_ED-xdk6kirFo1x2oLDEJrwucP8q?usp=sharing

I tried to save the snp at t=300 s with this code:

psspy.strt(0, *psspy.strt(0, outputfile) psspy.dynamics_solution_param_2(intgar1 psspy.dynamicssolutionparam2(intgar1 = 5000, realar1 = 0.25, realar3 = 0.001) psspy.strt(0, outputfile) # 2nd start is needed to get initial conditions to SS sim_time simtime = 300.0 # simulation psspy.run(0, sim_time, simtime, 9999,1000,1000) psspy.progress_output(1,"",[0,0]) psspy.progressoutput(1,"",[0,0]) # turn it on psspy.save('post2simulation.sav') psspy.save('post2simulation.sav')

psspy.snap(sfile = 'post2simulation.snp')'post2simulation.snp')*

Then, I used post2simulation.snp as ini2simulation.snp and load it at the begining of my next simulation with this code:

psspy.case(casefile + '.sav') psspy.rstr(sfile = 'ini2simulation.snp')

But I still have that stage of transition at the begining of my simulation.

Do you think this is related to my save case, dyr or snp?

Thanks in advance!!

Initial conditions, snp and rstr for dynamic simulations

Hi guys,

I run a simulation in steady-state conditions but frequency changes slightly at the begining of the simulation, then it goes steady-state. https://drive.google.com/drive/folders/1RKPD_ED-xdk6kirFo1x2oLDEJrwucP8q?usp=sharing

I tried to save the snp at t=300 s with this code:

*psspy.strt(0, psspy.strt(0, outputfile) psspy.dynamicssolutionparam2(intgar1 psspy.dynamics_solution_param_2(intgar1 = 5000, realar1 = 0.25, realar3 = 0.001) psspy.strt(0, outputfile) # 2nd start is needed to get initial conditions to SS simtime sim_time = 300.0 # simulation psspy.run(0, simtime, sim_time, 9999,1000,1000) psspy.progressoutput(1,"",[0,0]) psspy.progress_output(1,"",[0,0]) # turn it on psspy.save('post2simulation.sav')

psspy.save('post2simulation.sav') psspy.snap(sfile = 'post2simulation.snp')*'post2simulation.snp')

Then, I used post2simulation.snp as ini2simulation.snp and load it at the begining of my next simulation with this code:

psspy.case(casefile + '.sav') psspy.rstr(sfile = 'ini2simulation.snp')

But I still have that stage of transition at the begining of my simulation.

Do you think this is related to my save case, dyr or snp?

Thanks in advance!!

Initial conditions, snp and rstr for dynamic simulations

Hi guys,

I run a simulation in steady-state conditions but frequency changes slightly at the begining of the simulation, then it goes steady-state. https://drive.google.com/drive/folders/1RKPD_ED-xdk6kirFo1x2oLDEJrwucP8q?usp=sharing

I tried to save the snp at t=300 s with this code:

code: <em>text-to-html</em>

psspy.strt(0, outputfile) psspy.dynamics_solution_param_2(intgar1 psspy.dynamicssolutionparam2(intgar1 = 5000, realar1 = 0.25, realar3 = 0.001) psspy.strt(0, outputfile) # 2nd start is needed to get initial conditions to SS sim_time simtime = 300.0 # simulation psspy.run(0, sim_time, simtime, 9999,1000,1000) psspy.progress_output(1,"",[0,0]) psspy.progressoutput(1,"",[0,0]) # turn it on psspy.save('post2simulation.sav') psspy.snap(sfile = 'post2simulation.snp')

'post2simulation.snp') Then, I used post2simulation.snp as ini2simulation.snp and load it at the begining of my next simulation with this code:

psspy.case(casefile + '.sav') psspy.rstr(sfile = 'ini2simulation.snp')

But I still have that stage of transition at the begining of my simulation.

Do you think this is related to my save case, dyr or snp?

Thanks in advance!!

Initial conditions, snp and rstr for dynamic simulations

Hi guys,

I run a simulation in steady-state conditions but frequency changes slightly at the begining of the simulation, then it goes steady-state. https://drive.google.com/drive/folders/1RKPD_ED-xdk6kirFo1x2oLDEJrwucP8q?usp=sharing

I tried to save the snp at t=300 s with this code: code:

<em>text-to-html</em> psspy.strt(0, outputfile) 
psspy.dynamicssolutionparam2(intgar1 psspy.dynamics_solution_param_2(intgar1 = 5000, realar1 = 0.25, realar3 = 0.001)
psspy.strt(0, outputfile) # 2nd start is needed to get initial conditions to SS
simtime sim_time = 300.0 # simulation
psspy.run(0, simtime, sim_time, 9999,1000,1000)
psspy.progressoutput(1,"",[0,0]) psspy.progress_output(1,"",[0,0]) # turn it on
psspy.save('post2simulation.sav')
psspy.snap(sfile = 'post2simulation.snp')

Then, I used post2simulation.snp as ini2simulation.snp and load it at the begining of my next simulation with this code:

psspy.case(casefile + '.sav')
psspy.rstr(sfile = 'ini2simulation.snp')

'ini2simulation.snp')

But I still have that stage of transition at the begining of my simulation.

Do you think this is related to my save case, dyr or snp?

Thanks in advance!!