How can I get phasor quantities and RMS values as results of an EMT simulation?

Dynamic Simulation

In the attached projects a DSL model can be found that converts current and voltage signals from an EMT simulation into phasor quantities and RMS values.


Attached are two projects, one in English, one in German, with an EMT to RMS current and voltage signal converter implemented as a DSL model, which converts instantaneous currents and voltages obtained in an EMT simulation into phasors.
Within either attached projects, a DSL model is contained which calculates the phasor quantities listed below in an EMT simulation. As the model runs within the simulation, results can be obtain from the model directly, no post-processing is necessary.

The DSL model calculates the following phasor quantities in an EMT simulation:

  • alpha, beta and zero components as instantaneous values (Clarke transform)
  • Space phasor, rotating in a fixed reference frame
  • d, q and zero components (Park Transform)
  • Space phasor, non-rotating (i.e. in a rotating reference frame)
  • alpha, beta and zero component phasors in the fundamental frequency (Clarke transform), expressed in real and imaginary components
  • Fundamental frequency phasors of the phase quantities (A, B, C), expressed in real and imaginary components
  • Positive, negative, zero sequence component phasors in the fundamental frequency, expressed in real and imaginary components

The model has inputs for voltage and current. If both are connected, it calculates the power as well:

  • Real power as instantaneous values in the phases
  • Instantaneous active and reactive power of space phasors
  • Fundamental frequency active and reactive power in phases
  • Fundamental frequency active and reactive power in positive, negative and zero sequence

The model calculates the phasor quantities for the frequency which the user inputs into the model, usually the nominal frequency. Hence, RMS values are calculated for this frequency, i.e. usually the fundamental frequency RMS value are calculated. The model does not calculate the full RMS signal, which results from fundamental frequency and harmonic components. i.e. it only contains the fundamental frequency component. Due to the time delay of a fundamental frequency period, t

The DSL model is well suited for post-simulation data analysis. It is not recommended to use the DSL model as a building block for a controller.