master:Line_FreDep_Options parametersPSCAD Frequency Dependent (Mode) Model

Every parameter of the PSCAD Frequency Dependent (Mode) Model (master:Line_FreDep_Options): 13 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().

What master:Line_FreDep_Options is

Frequency Dependent (Mode) Model (Frequency Dependent (Mode) Model (Obsolete)), a component of PSCAD's Master Library, filed under lines, cables and towers.

Definition
master:Line_FreDep_Options
PSCAD name
Frequency Dependent (Mode) Model
Category
Lines, cables and towers
Parameters
13, in 1 group; 5 carry a unit
Read from
PSCAD 5.0.0, 2026-11-07

Read and write master:Line_FreDep_Options 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:Line_FreDep_Options"):   # the exact definition, namespace first
    params = comp.parameters()           # every parameter, as PSCAD holds it
    print(str(params["AMaxE"]))          # Maximum Fitting Error for Propagation Function, in %

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

Frequency Dependent Model

ParameterUnitDefaultDescription
AMaxEReal%1.0Maximum Fitting Error for Propagation FunctionRange 0.01 to 100
AMaxPInteger·20Maximum # of Pole/Zeroes for Propagation FunctionRange 5 to 100
FERealHz1.0E6Curve Fitting End FrequencyRange 0 to 1e+008
FSRealHz0.5Curve Fitting Starting FrequencyRange 0 to 1e+008
FTRealHz2000Frequency to Calculate Constant TransformRange 0 to 1e+008
InflenChoice·NODo you want this to be a reflectionless line?reflectionless line corresponds to a line with infinite length. Suitable for high frequency studies of short durations e.g. lightning studiesWritten as NO (No), YES (Yes)
Interp1Choice·YESInterpolate Travel Times?Written as NO (No), YES (Yes)
OutputChoice·NOOutput Detailed Output Files?Written as NO (No), YES (Yes)
W1Real·1.0Least Squares Weighting Factor, 0 to F0:Range 0 to 1e+010
W2Real·1000.0Least Squares Weighting Factor at F0:Range 0 to 1e+010
W3Real·1.0Least Squares Weighting Factor, F0 to Fmax:Range 0 to 1e+010
ZMaxEReal%1.0Maximum Fitting Error for Surge ImpedanceRange 0.01 to 100
ZMaxPInteger·20Maximum # of Pole/Zeroes for Surge ImpedanceRange 5 to 100

Related

← master:pi_double_cct Double Circuit Pi section · master:Line_FrePhase_Options Frequency Dependent (Phase) Model →