First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
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!
2 | No.2 Revision |
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!advance!!
3 | No.3 Revision |
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!!
4 | No.4 Revision |
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!!
5 | No.5 Revision |
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!!
6 | No.6 Revision |
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:
<em>text-to-html</em>
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!!
7 | No.7 Revision |
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:
psspy.strt(0, outputfile)
<em>text-to-html</em>psspy.dynamicssolutionparam2(intgar1psspy.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 SSsimtimesim_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 = 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!!