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 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, "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
| Parameter | Unit | Default | Description |
|---|---|---|---|
AMaxEReal | % | 1.0 | Maximum Fitting Error for Propagation FunctionRange 0.01 to 100 |
AMaxPInteger | · | 20 | Maximum # of Pole/Zeroes for Propagation FunctionRange 5 to 100 |
FEReal | Hz | 1.0E6 | Curve Fitting End FrequencyRange 0 to 1e+008 |
FSReal | Hz | 0.5 | Curve Fitting Starting FrequencyRange 0 to 1e+008 |
FTReal | Hz | 2000 | Frequency to Calculate Constant TransformRange 0 to 1e+008 |
InflenChoice | · | NO | Do 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 | · | YES | Interpolate Travel Times?Written as NO (No), YES (Yes) |
OutputChoice | · | NO | Output Detailed Output Files?Written as NO (No), YES (Yes) |
W1Real | · | 1.0 | Least Squares Weighting Factor, 0 to F0:Range 0 to 1e+010 |
W2Real | · | 1000.0 | Least Squares Weighting Factor at F0:Range 0 to 1e+010 |
W3Real | · | 1.0 | Least Squares Weighting Factor, F0 to Fmax:Range 0 to 1e+010 |
ZMaxEReal | % | 1.0 | Maximum Fitting Error for Surge ImpedanceRange 0.01 to 100 |
ZMaxPInteger | · | 20 | Maximum # 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 →