master:source3R parametersPSCAD Three Phase Voltage Source Model 3

Every parameter of the PSCAD Three Phase Voltage Source Model 3 (master:source3R): 23 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().

What master:source3R is

Three Phase Voltage Source Model 3, a component of PSCAD's Master Library, filed under sources.

Definition
master:source3R
PSCAD name
Three Phase Voltage Source Model 3
Category
Sources
Parameters
23, in 4 groups; 12 carry a unit
Read from
PSCAD 5.0.0, 2026-11-07

Read and write master:source3R 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:source3R"):   # the exact definition, namespace first
    params = comp.parameters()           # every parameter, as PSCAD holds it
    print(str(params["F"]))              # Base Frequency, in Hz

comp = project.find_all("master:source3R")[0]
comp.parameters(F="120 [Hz]")            # 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, "F") and px_set(...), which also records the old value so the case is put back at the end. Getting started shows them.

Configuration

ParameterUnitDefaultDescription
FRealHz60.0Base FrequencyAt least 0.001
IdealChoice·NOInfinite Bus ?Select Yes or No. If Yes, internal impedance is set to zero.Written as NO (No), YES (Yes)
ImpChoice·REALIMAGINARYImpedance Data Format:Select Real-Imagninary or Mangnitude-AngleWritten as REALIMAGINARY (Real-Imaginary), MAGNITUDEANGLE (Magnitude-Angle)Used when Ideal==0
MVARealMVA100.0Base MVA (3-phase)At least 0.001
NameText·SourceSource Name
TcReals0.05Voltage Input Time ConstantAt least 0
ViewChoice·SINGLE_LINEGraphics DisplaySelect 3 phase view or Single line viewWritten as 3_PHASE (3 phase view), SINGLE_LINE (Single line view)
VmRealkV230.0Base Voltage (L-L, RMS)At least 0.001
ZSeqChoice·NOZero Seq. Differs from Positive Seq. ?Select Yes or No.Written as NO (No), YES (Yes)Used when Ideal==0
detailsChoice·NODisplay Details ?Select Yes or No. If Yes, basic parameters are displayed on canvas.Written as NO (No), YES (Yes)

Internal Output Variables

ParameterUnitDefaultDescription
IaText··Name for Phase A Current [kA]
IbText··Name for Phase B Current [kA]
IcText··Name for Phase C Current [kA]
PText··Name for Real Power (+Out) [MW]
QText··Name for Reactive Power (+Out) [MVAR]

Zero Sequence Impedance

ParameterUnitDefaultDescription
Phi0Realdeg80.0Phase AngleRange 0 to 90Used when (Imp==1)
R0pRealohm1.0ResistanceAt least 0.001Used when (Imp==0)
X0pRealohm0.1ReactanceAt least 0.0001Used when (Imp==0)
Z0Realohm1.0ImpedanceAt least 0.001Used when (Imp==1)

Positive Sequence Impedance

ParameterUnitDefaultDescription
Phi1Realdeg80.0Phase AngleRange 0.1 to 89.9Used when (Imp==1)
R1pRealohm1.0ResistanceAt least 0.001Used when (Imp==0)
X1pRealohm0.1ReactanceAt least 0.0001Used when (Imp==0)
Z1Realohm1.0ImpedanceAt least 0.001Used when (Imp==1)

Related

← master:source_3 Three Phase Voltage Source Model 2 · master:src_voltage_dependent_current Voltage Dependent Current Source →