master:pi_section2 parametersPSCAD pi_section2

Every parameter of the PSCAD pi_section2 (master:pi_section2): 25 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().

What master:pi_section2 is

pi_section2 (Coupled PI section Transmission line), a component of PSCAD's Master Library, filed under lines, cables and towers.

Definition
master:pi_section2
PSCAD name
pi_section2
Category
Lines, cables and towers
Parameters
25, in 4 groups; 17 carry a unit
Read from
PSCAD 5.0.0, 2026-11-07

Read and write master:pi_section2 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:pi_section2"):   # the exact definition, namespace first
    params = comp.parameters()           # every parameter, as PSCAD holds it
    print(str(params["BPUP2"]))          # +ve Seq. Capacitive Susceptance, in pu/m

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

R,X,B Data (P.U.)

ParameterUnitDefaultDescription
BPUP2Realpu/m1.93387E-6+ve Seq. Capacitive SusceptanceAt least 0
BPUZ2Realpu/m1.27727E-60 Seq. Capacitive SusceptanceAt least 0Used when Estim==0
MVA2RealMVA100.0MVA for All PhasesAt least 0
RPUP2Realpu/m.336786E-7+ve Seq. ResistanceAt least 0
RPUZ2Realpu/m.558072E-60 Seq. ResistanceAt least 0Used when Estim==0
VR2RealkV230.0Rated Voltage L-LAt least 0
XLPUP2Realpu/m.593346E-6+ve Seq. Inductive ReactanceAt least 0
XLPUZ2Realpu/m.196578E-50 Seq. Inductive ReactanceAt least 0Used when Estim==0

R,Xl,B Data (Ohms)

ParameterUnitDefaultDescription
BpRealmho/m3.6557E-9+ve Sequence Capacitive SusceptanceAt least 0
BzRealmho/m2.4145E-9Zero Sequence Capacitive SusceptanceAt least 0Used when Estim==0
RpRealohm/m.17816E-4+ve Sequence ResistanceAt least 0
RzRealohm/m.29522E-3Zero Sequence ResistanceAt least 0Used when Estim==0
XpRealohm/m.31388E-3+ve Sequence Inductive ReactanceAt least 0
XzRealohm/m.10399E-2Zero Sequence Inductive ReactanceAt least 0Used when Estim==0

Main Configuration

ParameterUnitDefaultDescription
ConNeedChoice·YESConnection Needed in Middle?Written as YES (Yes), NO (No)
EstimChoice·ENTEREnter 0 Seq Data, or Estimate:Written as ENTER (Enter), ESTIMATE (Estimate)
FRealHz60.0Line Rated FrequencyAt least 0
NameText·LineT-LINE NAME
PUChoice·OHMSEnter Imped./Admit. Data in:Written as OHMS (R,Xl,B (Ohms)), PU (R,X,B (P.U.))
PercentReal%50Distance to middle connection (%)Range 5 to 95Used when CONNEED==1
ViewChoice·3_PHASEGraphics DisplayWritten as 3_PHASE (3 phase view), SINGLE_LINE (Single line view)
lenRealm1.0E5Line LengthAt least 0

Zero Sequence Estimation Parameters

ParameterUnitDefaultDescription
REstReal·1.50 Seq. R / +ve Seq. RAt least 1
TEstReal·1.50 Seq. Trav. Time / +ve Seq. TAUAt least 1
ZEstReal·1.50 Seq. Z0 / +ve Seq. Z0At least 1

Related

← master:Zpi_ctlr PI Controller · master:Cable_PipeType Pipe-Type Cable →