How can I control the power of a single phase load in a dynamic simulation using an external file?

Category:
Dynamic Simulation
Answer

In the attached example, the output power of a single-phase load is controlled via an external file element (ElmFile). Import the project, save the text file to the hard disk, and select this file in the measurement file object of the Composite Model.

The composite model frame connects the first two outputs of the file (y1, y2) to an intermediate DSL model, which in turn connects to the input signals of the load Pext and Qext. For a single-phase load, the input signals (Pext and Qext) don't represent active and reactive power, as in a three-phase load, but admittance values. Then it is necessary to include a small DSL model that divides the P and Q values coming from the text file by the load terminal voltage.

To measure the voltage, a StaVmea (voltage measurement device) is required and must be configured for a specific phase.

Having a phase-neutral load requires measuring the phase-neutral voltage, which is available in a single measurement device since V2016. Have a look at the attached project "ElmFile_1Ph_ElmLod_PhN_U.pfd" for this case.

Back