How can you stop an EMT simulation after exceeding a defined threshold?
PowerFactory provides the event category Stop Event (EvtStop) to stop a simulation. In order to trigger such an event, a DSL model can used. The DSL model compares the threshold during the simulation with the instantaneous value of the calculation and executes the EvtStop if the stop termination is fullfild.
In the attached example, the voltage difference across the circuit breaker is compared with a predefined threshold in the Common model “Comparator”. Once the threshold is exceeded (in this example 1000 kV across the switch) the DSL model creates a stop event and terminates the simulation.