master:dc_mac_2w parametersPSCAD Two winding DC machine

Every parameter of the PSCAD Two winding DC machine (master:dc_mac_2w): 46 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().

What master:dc_mac_2w is

Two winding DC machine (Two winding DC Machine), a component of PSCAD's Master Library, filed under machines, exciters and governors.

Definition
master:dc_mac_2w
PSCAD name
Two winding DC machine
Category
Machines, exciters and governors
Parameters
46, in 6 groups; 30 carry a unit
Read from
PSCAD 5.0.0, 2026-11-07

Read and write master:dc_mac_2w in Python

import mhi.pscad

pscad = mhi.pscad.connect()              # the PSCAD that is open; launch() starts one
project = pscad.project("my_case")       # a case loaded in the workspace

for comp in project.find_all("master:dc_mac_2w"):   # the exact definition, namespace first
    params = comp.parameters()           # every parameter, as PSCAD holds it
    print(str(params["D"]))              # Mechanical Damping, in pu

comp = project.find_all("master:dc_mac_2w")[0]
comp.parameters(D="0.02 [pu]")           # a value that carries a unit is written with it
  • A parameter is named exactly as in the table, letter case included: parameters() gives every one of them in a dictionary, and a name the component does not have is refused.
  • A value that carries a unit comes back as a number whose unit is only in its text, so read it as text first (str(...)) or the unit is lost. PSCAD keeps a written unit as it is given: "2500 [mohm]" stays in mohm.
  • A Choice is read and written as its symbol (the capitals in "Written as"), not as the words PSCAD shows in the dialog.
  • find_all() takes the exact definition only. A wildcard or a bare name without master: comes back empty; the Builder's px_find walks the pages for those.

The Builder's runtime does the same with the unit handled for you: px_get(comp, "D") and px_set(...), which also records the old value so the case is put back at the end. Getting started shows them.

Configuration

ParameterUnitDefaultDescription
CnfgChoice·POINTS_ON_VI_CURVEMagnetizing DataSelect points on VI curve or exponential equationWritten as EXPONENTIAL_EQUATION (Exponential Equation), POINTS_ON_VI_CURVE (points on V-I curve)
DRealpu0.01Mechanical DampingEnter the mechanical damping coefficientAt least 0
IaratRealkA0.020Rated Armature CurrentEnter the rated armature currentAt least 1E-307
IfratRealkA0.002Rated Field CurrentEnter the rated field currentAt least 1E-307
JReals0.7267Angular Moment of Inertia (J=2H)Enter the angular moment of inertiaAt least 0
MMChoice·ENABLEMultimass InterfaceChoose to enable or disable multimass interfaceWritten as DISABLE (Disable), ENABLE (Enable)
NameText··Name for IdentificationEnter a name for identificationRange 0 to 0
VaratRealkV0.100Rated Armature VoltageEnter the rated armature voltageAt least 1E-307
arChoice·NEGLECTArmature ReactionChoose to include or neglect armature reaction effectsWritten as INCLUDE (Include AR effects), NEGLECT (Neglect AR effects)
wmagRealpu1.0Speed at which Magnetizing Data is SpecifiedEnter the speed at which magnetizing data is specifiedAt least 1E-307

Magnetizing Curve - Equation

ParameterUnitDefaultDescription
EfsRealpu1.65Saturated Noload VoltageAt least 1E-307Used when (Cnfg==0)
Ifld0Realpu0.55Saturation ConstantAt least 1E-307Used when (Cnfg==0)

Magnetizing Curve - Points

ParameterUnitDefaultDescription
Eo1Realpu0Point 1 - Open Circuit VoltageAt least 0
Eo2Realpu0.4Point 2 - Open Circuit VoltageAt least 0
Eo3Realpu0.75Point 3 - Open Circuit VoltageAt least 0
Eo4Realpu1.0Point 4 - Open Circuit VoltageAt least 0
Eo5Realpu1.16Point 5 - Open Circuit VoltageAt least 0
Eo6Realpu1.28Point 6 - Open Circuit VoltageAt least 0
Eo7Realpu1.35Point 7 - Open Circuit VoltageAt least 0
Eo8Realpu1.42Point 8 - Open Circuit VoltageAt least 0
Eo9Realpu1.46Point 9 - Open Circuit VoltageAt least 0
IF1Realpu0Point 1 - Field CurrentAt least 0
IF2Realpu0.15Point 2 - Field CurrentAt least 0
IF3Realpu0.3Point 3 - Field CurrentAt least 0
IF4Realpu0.45Point 4 - Field CurrentAt least 0
IF5Realpu0.6Point 5 - Field CurrentAt least 0
IF6Realpu0.75Point 6 - Field CurrentAt least 0
IF7Realpu0.9Point 7 - Field CurrentAt least 0
IF8Realpu1.05Point 8 - Field CurrentAt least 0
IF9Realpu1.2Point 9 - Field CurrentAt least 0
NpntsChoice·9Number of Points AvailableNumber of data points availableWritten as 3 = 3, 4 = 4, 5 = 5, 6 = 6, 7 = 7, 8 = 8, 9 = 9

Winding Parameters

ParameterUnitDefaultDescription
LaRealH0.1Armature InductanceEnter the inductance of the armatureAt least 1E-307
LfRealH1.5Field InductanceEnter the inductance of the field windingAt least 1E-307
RaRealohm0.5Armature ResistanceEnter the resistance of the armatureAt least 1E-307
RfRealohm25Field ResistanceEnter the resistance of the field windingAt least 1E-307

Internal Outputs

ParameterUnitDefaultDescription
SpdText··Mechanical Speed [pu]signal name for mechanical speedRange 0 to 0
TelText··Electrical Torque [pu]Signal name for electrical torqueRange 0 to 0

Armature Reaction Data

ParameterUnitDefaultDescription
b1Real·0.002Coefficient b1
b2Real·-0.003Coefficient b2
b3Real·0.002Coefficient b3
b4Real·0.0066Coefficient b4
b5Real·0.0752Coefficient b5
b6Real·-0.056Coefficient b6
b7Real·0.0264Coefficient b7
b8Real·0.224Coefficient b8
b9Real·-0.224Coefficient b9

Related

← master:th_tur Thermal Turbine · master:excac Type AC Exciter →