Documentation Home Page ePHASORSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

General Elm Components

On this page:

Note: The following is the list of components that are only supported through ePHASORSIM native library. If you are missing support for your components, you can check out the ePHASORSIM Modelica User Defined Library, there you can find out how to use the existing Modelica models or create your own Modelica model.

Common Data

The following attributes are common to all imported components:

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

ID / FID

Unique identifier for DGS-XML file

Any Value

loc_name

Location Name. A human readable description of the component

Any Value

outserv

Out of service

 

Note: The loc_name, ID and FID attributes are used to create the components unique name.
This name must be used when referencing IO pins as described in I/O Pins for PowerFactory Data.

Note: All components that exist in the DGS-XML file will be imported and considered to be in-service.
That means for a component that is out-of-service in PowerFactory, the Solver imports its data and treats it as in-service. Thus, it is recommended to remove the data from the input file for the components that are required to be out-of-service during simulation.

Bus Data

The bus data comes from ElmTerm section in the DGS-XML file.

These PowerFactory components are mapped to the Bus

component of the Native Library

Parameters from ElmTerm Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

uknom

Nominal Voltage: Line-Line in kV

Any value

Line Data

The Line data comes from ElmLne and TypLne sections in the XML file.

These PowerFactory components are mapped to the Line

component of the Native Library.

Parameters from ElmLne Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

dline

Length of Line (km)

Positive Value

Parameters from TypLne Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

uline

Rated Voltage

Any value

sline

Rated Current

rline

Series resistance (Ohm/km)

xline

Series reactance (Ohm/km)

bline

Shunt Susceptance (uS/km)

aohl

Line Type

  • ohl Overhead Line

Load Data

The load data comes from ElmLod and TypLod sections in the DGS-XML file.

These PowerFactory components are mapped to the Load

component of the Native Library.

Parameters from ElmLod Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

plini

Operating Point: Active Power in MW

Any value

qlini

Operating Point: Reactive Power in MVAr

scale0

Scaling factor of operating point

Parameters from TypLod Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

aP

Active power portion of impedance load.

Any value from 0 to 1

bP

Active power portion of current load.

cP

Active power portion of power load.

aQ

Reactive power portion of impedance load.

bQ

Reactive power portion of current load.

cQ

Reactive power portion of power load.

Shunt Data

The shunt data comes from the ElmShnt sections in the DGS-XML file.

These PowerFactory components are mapped to the Positive Sequence Shunt

component of the Native Library.

Parameters from ElmShnt Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

shtype

Shunt Type

  • 1 for RL shunt

  • 2 for C shunt

rrea

 

 

xrea

Impedance

 

qcapn

Rated Capacitive Power

 

Switch Data

The switch data comes from StaSwitch and ElmCoup section in the DGS-XML file.

These PowerFactory components are mapped to the Switch

component of the Native Library.

Parameters from StaSwitch Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

on_off

Switch initial status

  • 1 for close

  • 0 for open

Transformers

Two-Winding Transformer Data

The two-winding transformer data comes from ElmTr2 and TypTr2 sections in the DGS-XML file.

These PowerFactory components are mapped to the Positive Sequence Transformer | PositiveSequenceTransformer PositiveSequence2WTransformer

component of the Native Library.

Parameters from ElmTr2 Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

nntap

Position for “Tap Changer 1”

Any value

rSbasepu

Resistance on network Sbase (p.u.)

xSbasepu

Reactance on network Sbase (p.u.)

bSbasepu

Susceptance on network Sbase (p.u.)

Parameters from TypTr2 Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

strn

Rated power (MVA)

Any value

utrn_h

HV-Side rated voltage (kv)

utrn_l

LV-Side rated voltage (kv)

tr2cn_h

HV-Side vector group.

  • YN

  • D

tr2cn_l

LV-Side vector group.

  • YN

  • D

nt2ag

Phase shift vector group

Any value

dutap

Additional voltage per tap

phitr

Phase change per tap

nntap0

Neutral tap position

ntpmn

Minimum tap position

ntpmx

Maximum tap position

Three-Winding Transformer Data

The three-winding transformer data is obtained from ElmTr3 and TypTr3 sections in the DGS-XML file.

These PowerFactory components are mapped to the Positive Sequence Transformer | PositiveSequenceTransformer PositiveSequence3WTransformer

component of the Native Library.

Parameters from ElmTr3 Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

n3tap_h

Tap HV-Side: Act. Position in

Any value

n3tap_m

Tap MV-Side: Act. Position in

n3tap_l

Tap LV-Side: Act. Position in

rSbasepu_hm

Resistance between HV-MV in Net­work Sbase (p.u.)

rSbasepu_ml

Resistance between MV-LV in Net­work Sbase (p.u.)

rSbasepu_lh

Resistance between LV-HV in Net­work Sbase (p.u.)

xSbasepu_hm

Reactance between HV-MV in Net­work Sbase (p.u.)

xSbasepu_ml

Reactance between MV-LV in Net­work Sbase (p.u.)

xSbasepu_lh

Reactance between LV-HV in Network Sbase (p.u.)

bSbasepu

Susceptance in network Sbase (p.u.)

Parameters from TypTr3 Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

strn3_h

Rated Power: HV-Side (MVA)

Any value

strn3_m

Rated Power: MV-Side (MVA)

strn3_l

Rated Power: LV-Side (MVA)

utrn3_h

HV-Side rated voltage (kv)

utrn3_m

MV-Side rated voltage (kv)

utrn3_l

LV-Side rated voltage (kv)

tr3cn_h

HV-Side vector group.

  • YN

  • D

tr3cn_m

MV-Side vector group.

tr3cn_l

LV-Side vector group.

nt3ag_h

HV-side phase shift vector group

Any value

nt3ag_m

MV-side phase shift vector group

nt3ag_l

LV-side phase shift vector group

du3tp_h

Tap HV-Side: Add. Voltage per Tap

du3tp_m

Tap MV-Side: Add. Voltage per Tap

du3tp_l

Tap LV-Side: Add. Voltage per Tap

n3tp0_h

HV-Side: Neutral Position

n3tp0_m

MV-Side: Neutral Position

n3tp0_l

LV-Side: Neutral Position

i3loc

Magnetizing Impedance

Machines

Synchronous Machine Data

The synchronous machine data comes from ElmSym and TypSym sections in the DGS-XML file.

These PowerFactory components are mapped to the Synchronous Machine

component of the Native Library.

Parameters from ElmSym Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

ngnum

Number of parallel Machines

Any value

pgini

Dispatch: Active Power in MW

qgini

Dispatch: Reactive Power in MVAr

usetp

Dispatch: Voltage in p.u.

q_min

Minimum reactive power operational Limits (p.u.)

q_max

Maximum reactive power operational Limits (p.u.)

ip_ctrl

Slack bus

  • 0 for false

  • 1 for true

i_mot

Generator/Motor

Must be 0: Generator

phiini

Initial voltage angle in degree

-180 to 180

Parameters from TypSym Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

sgn

Nominal apparent power (MVA)

Any value

ugn

Nominal voltage (kV)

iturbo

Rotor type

  • 0 for salient rotor

  • 1 for round rotor

rstr

Stator resistance (p.u.)

Any value

xd

d-axis reactance (p.u.)

xq

q-axis reactance (p.u.)

xds

d-axis transient reactance xd' (p.u.)

xqs

q-axis transient reactance xq' (p.u.)

xdss

d-axis sub-transient reactance (p.u.)

xqss

q-axis sub-transient reactance (p.u.)

h

Inertia constant H (s)

dpu

Turbine shaft friction torque coefficient

(Damping factor)

xl

Leakage reactance (p.u.)

tds0

d-axis transient time constant (s)

tqs0

q-axis transient time constant (s)

tdss0

d-axis sub-transient time constant (s)

tqss0

q-axis sub-transient time constant (s)

sg10

Saturation function value for 1 p.u

sg12

Saturation function value for 1.2 p.u

model_inp

Model type

  • det for Standard Model

  • cls for Classical Model

isat

Flux saturation considered or not

  • 0 for not considered

  • 1 for considered

Static Generator Data

The static generator data come from ElmGenstat sections in the DGS-XML file.

These PowerFactory components are mapped to the constant Load

component of the Native Library.

Parameters from ElmGenstat Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

ngnum

Number of parallel units

Any integer value

model_inp

Dispatch: Input model

Must be DEF

pgini

Dispatch: Active Power in MW

Any value

qgini

Dispatch: Reactive Power in MVAr

scale0

Dispatch: Scaling Factor

Any value

av_mode

Local Controller Mode

constant Q

iSimModel

Simulation RMS Model

  • 4 for Constant Power

Example

For parameter values as, ngum = 2, scale0 = 1, pgini = 15 and qgini = 5, ePHASORSIM models a negative constant power load whose apparent power is given by,

 

Untitled-20240229-184011.svg

 

Voltage Source Data

Voltage source data come from ElmVac sections in the DGS-XML file.

These PowerFactory components are mapped to the Positive Sequence Voltage Source component of the Native Library.

Parameters from ElmVac Section

Parameter

Description

Acceptable Values

Parameter

Description

Acceptable Values

phisetp

Voltage angle offset (deg)

Any value

usetp

Voltage magnitude (pu)

X1

Internal inductance (Ohm)

R1

Internal resistance (Ohm)

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter