Ask Your Question

Revision history [back]

click to hide/show revision 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.

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)