master:pm_machine parametersPSCAD Permanent Magnet Machine
Every parameter of the PSCAD Permanent Magnet Machine (master:pm_machine): 20 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().
What master:pm_machine is
Permanent Magnet Machine (Permanent Magnet Synchronous Machine), a component of PSCAD's Master Library, filed under machines, exciters and governors.
- Definition
master:pm_machine- PSCAD name
- Permanent Magnet Machine
- Category
- Machines, exciters and governors
- Parameters
- 20, in 3 groups; 14 carry a unit
- Read from
- PSCAD 5.0.0, 2026-11-07
Read and write master:pm_machine 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:pm_machine"): # 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:pm_machine")[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.
Machine Data
| Parameter | Unit | Default | Description |
|---|---|---|---|
DReal | pu | 0.01 | Mechanical DampingEnter damping coefficient; used only when multimass interface is disabled and in torque control modeAt least 0 |
FLDFReal | pu | 1.0 | Magnetic StrengthEnter the magnetic strength the fieldAt least 0 |
JReal | s | 0.7267 | Angular Moment of Inertia (J=2H)Enter angular moment of inertia; used only when multimass interface is disabled and in torque control modeAt least 0 |
RkdReal | pu | 0.055 | D: Damper Winding Resistance [Rkd]Enter the D-axis damper winding resistanceAt least 0 |
RkqReal | pu | 0.183 | Q: Damper Winding Resistance [Rkq]Enter the Q-axis damper winding resistanceAt least 0 |
RsReal | pu | 0.017 | Stator Winding ResistanceEnter the winding resistance of statorAt least 0 |
XdReal | pu | 0.55 | D: Unsaturated Reactance [Xd]Enter the D-axis unsaturated reactanceAt least 0 |
XkdReal | pu | 0.62 | D: Damper Winding Reactance [Xkd]Enter the D-axis damper winding reactanceAt least 0 |
XkqReal | pu | 1.175 | Q: Damper Winding Reactance [Xkq]Enter the Q-axis damper winding reactanceAt least 0 |
XlsReal | pu | 0.064 | Stator Leakage ReactanceEnter the leakage reactance of the statorAt least 0 |
XqReal | pu | 1.11 | Q: Unsaturated Reactance [Xq]Enter the Q-axis unsaturated reactanceAt least 0 |
Configuration
| Parameter | Unit | Default | Description |
|---|---|---|---|
FReal | Hz | 60.0 | Rated FrequencyEnter the rated frequency of the machineAt least 0 |
MMChoice | · | ENABLE | Multimass InterfaceSelect Enable or DisableWritten as DISABLE (Disable), ENABLE (Enable) |
MVAReal | MVA | 0.003 | Rated MVAEnter the rated MVA of the machine |
NameText | · | PMMachine | Name for IdentificationEnter a name for identificationRange 0 to 0 |
NeutChoice | · | DISABLE | External Connection to NeutralWritten as DISABLE (Disable), ENABLE (Enable) |
VRATReal | kV | 0.2 | Rated Voltage (L-L)Enter the rated line-line voltage of the machine |
Internal Outputs
| Parameter | Unit | Default | Description |
|---|---|---|---|
SpdText | · | · | Mechanical Speed [pu]Range 0 to 0 |
THETAText | · | · | Rotor PositionRange 0 to 0 |
TelText | · | · | Electrical Torque [pu]Range 0 to 0 |
Related
← master:macdefn macdefn · master:spim_uw Single Phase Induction Machine →