Can you provide an example illustrating how to define a parameter event from a Modelica dynamic model in PowerFactory?

Category:
Dynamic Simulation
Answer

The attached example includes two options for defining a parameter event using Modelica.

Option 1: executes three events on Load 1; the event is predefined inside the Modelica model and is called and executed three times with different configurations. The first is executed as predefined; the second and the third change the value and add a delay (second). The first two events are declared using named arguments, and the third event uses positional arguments.

Option 2: the event is not predefined and therefore created by the function. A frame is needed in this case to link the target element (in this case Load 2).

Back