First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Use an extra loop to perform the simulation in steps of a delta time, e.g. 1 second step.
The simulation will then stop every second and you can check the channel value with psspy.chnval.
Terminate the loop with break if rotor angle exceeds the chosen limit.
2 | No.2 Revision |
Use an extra loop to perform the simulation in steps of a delta time, e.g. 1 second step.
The simulation will then stop every second and you can check the channel value with psspy.chnval.
Terminate the loop with break if rotor angle exceeds the chosen limit.
Please note that chnval returns a tuple:
ierr, rval = chnval(n)