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 withoutmaster:comes back empty; the Builder'spx_findwalks 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.
- Configuration10
- Magnetizing Curve - Equation2
- Magnetizing Curve - Points19
- Winding Parameters4
- Internal Outputs2
- Armature Reaction Data9
Configuration
| Parameter | Unit | Default | Description |
|---|---|---|---|
CnfgChoice | · | POINTS_ON_VI_CURVE | Magnetizing DataSelect points on VI curve or exponential equationWritten as EXPONENTIAL_EQUATION (Exponential Equation), POINTS_ON_VI_CURVE (points on V-I curve) |
DReal | pu | 0.01 | Mechanical DampingEnter the mechanical damping coefficientAt least 0 |
IaratReal | kA | 0.020 | Rated Armature CurrentEnter the rated armature currentAt least 1E-307 |
IfratReal | kA | 0.002 | Rated Field CurrentEnter the rated field currentAt least 1E-307 |
JReal | s | 0.7267 | Angular Moment of Inertia (J=2H)Enter the angular moment of inertiaAt least 0 |
MMChoice | · | ENABLE | Multimass InterfaceChoose to enable or disable multimass interfaceWritten as DISABLE (Disable), ENABLE (Enable) |
NameText | · | · | Name for IdentificationEnter a name for identificationRange 0 to 0 |
VaratReal | kV | 0.100 | Rated Armature VoltageEnter the rated armature voltageAt least 1E-307 |
arChoice | · | NEGLECT | Armature ReactionChoose to include or neglect armature reaction effectsWritten as INCLUDE (Include AR effects), NEGLECT (Neglect AR effects) |
wmagReal | pu | 1.0 | Speed at which Magnetizing Data is SpecifiedEnter the speed at which magnetizing data is specifiedAt least 1E-307 |
Magnetizing Curve - Equation
| Parameter | Unit | Default | Description |
|---|---|---|---|
EfsReal | pu | 1.65 | Saturated Noload VoltageAt least 1E-307Used when (Cnfg==0) |
Ifld0Real | pu | 0.55 | Saturation ConstantAt least 1E-307Used when (Cnfg==0) |
Magnetizing Curve - Points
| Parameter | Unit | Default | Description |
|---|---|---|---|
Eo1Real | pu | 0 | Point 1 - Open Circuit VoltageAt least 0 |
Eo2Real | pu | 0.4 | Point 2 - Open Circuit VoltageAt least 0 |
Eo3Real | pu | 0.75 | Point 3 - Open Circuit VoltageAt least 0 |
Eo4Real | pu | 1.0 | Point 4 - Open Circuit VoltageAt least 0 |
Eo5Real | pu | 1.16 | Point 5 - Open Circuit VoltageAt least 0 |
Eo6Real | pu | 1.28 | Point 6 - Open Circuit VoltageAt least 0 |
Eo7Real | pu | 1.35 | Point 7 - Open Circuit VoltageAt least 0 |
Eo8Real | pu | 1.42 | Point 8 - Open Circuit VoltageAt least 0 |
Eo9Real | pu | 1.46 | Point 9 - Open Circuit VoltageAt least 0 |
IF1Real | pu | 0 | Point 1 - Field CurrentAt least 0 |
IF2Real | pu | 0.15 | Point 2 - Field CurrentAt least 0 |
IF3Real | pu | 0.3 | Point 3 - Field CurrentAt least 0 |
IF4Real | pu | 0.45 | Point 4 - Field CurrentAt least 0 |
IF5Real | pu | 0.6 | Point 5 - Field CurrentAt least 0 |
IF6Real | pu | 0.75 | Point 6 - Field CurrentAt least 0 |
IF7Real | pu | 0.9 | Point 7 - Field CurrentAt least 0 |
IF8Real | pu | 1.05 | Point 8 - Field CurrentAt least 0 |
IF9Real | pu | 1.2 | Point 9 - Field CurrentAt least 0 |
NpntsChoice | · | 9 | Number of Points AvailableNumber of data points availableWritten as 3 = 3, 4 = 4, 5 = 5, 6 = 6, 7 = 7, 8 = 8, 9 = 9 |
Winding Parameters
| Parameter | Unit | Default | Description |
|---|---|---|---|
LaReal | H | 0.1 | Armature InductanceEnter the inductance of the armatureAt least 1E-307 |
LfReal | H | 1.5 | Field InductanceEnter the inductance of the field windingAt least 1E-307 |
RaReal | ohm | 0.5 | Armature ResistanceEnter the resistance of the armatureAt least 1E-307 |
RfReal | ohm | 25 | Field ResistanceEnter the resistance of the field windingAt least 1E-307 |
Internal Outputs
| Parameter | Unit | Default | Description |
|---|---|---|---|
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
| Parameter | Unit | Default | Description |
|---|---|---|---|
b1Real | · | 0.002 | Coefficient b1 |
b2Real | · | -0.003 | Coefficient b2 |
b3Real | · | 0.002 | Coefficient b3 |
b4Real | · | 0.0066 | Coefficient b4 |
b5Real | · | 0.0752 | Coefficient b5 |
b6Real | · | -0.056 | Coefficient b6 |
b7Real | · | 0.0264 | Coefficient b7 |
b8Real | · | 0.224 | Coefficient b8 |
b9Real | · | -0.224 | Coefficient b9 |
Related
← master:th_tur Thermal Turbine · master:excac Type AC Exciter →