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!!