master:fdne parametersPSCAD Frequency Dependent Network Equivalent

Every parameter of the PSCAD Frequency Dependent Network Equivalent (master:fdne): 27 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().

What master:fdne is

Frequency Dependent Network Equivalent, a component of PSCAD's Master Library, filed under meters and output.

Definition
master:fdne
PSCAD name
Frequency Dependent Network Equivalent
Category
Meters and output
Parameters
27, in 4 groups; 3 carry a unit
Read from
PSCAD 5.0.0, 2026-11-07

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

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

Configuration

ParameterUnitDefaultDescription
DTChoice·FROM_HARMONIC_IMPEDANCE_COMPONENTData FormatSelect the type of data file from the list of available choicesWritten as FROM_HARMONIC_IMPEDANCE_COMPONENT (From Harmonic Impedance Component), IMPEDANCE_PARAMETERS (Impedance Parameters), SCATTERING_PARAMETERS (Scattering Parameters), ADMITTANCE_PARAMETERS (Admittance Parameters), ADMITTANCE_AS_ABCD_PARAMETERS (Admittance as ABCD Parameters), SCATTERING_AS_ABCD_PARAMETERS (Scattering as ABCD Parameters), SEQUENCE_PARAMETERS (Sequence Parameters)
FnameText·Harm.outInput Data FileEnter the name of the input data fileRange 0 to 0
GrefChoice·GROUNDReference PortChoose to ground the reference or make it available as an external portWritten as GROUND (Ground), EXTERNAL_CONNECTION (External Connection)
NameText·FDNE1Name for IdentificationEnter a name for identification purposeRange 0 to 0
NstatesInteger·70Number of States in ABCD Parameters Input FileUsed for estimating storage requirements. Actual number of states is read from the input data file.Range 1 to 2147483647
PathChoice·RELATIVEPath to Input FileSelect absolute or relative to match the name of the input file enteredWritten as RELATIVE (Relative), ABSOLUTE (Absolute)
ViewChoice·EXPANDEDGraphics DisplaySelect Expanded or CompactWritten as EXPANDED (Expanded), COMPACT (Compact)
detailoutBoolean·FalseDetailed log fileSelect to create a detailed log file or notWritten as False, True
nportInteger·3Total Number of PortsSelect total number of portsRange 1 to 100
nport2Choice·0Number of Ports on one sideThis parameter could be configured so that ports appear on two sides of the component making it easier for external connections.Written as 1 = 1, 2 = 2, 3 = 3, 4 = 4, 5 = 5, 6 = 6, 7 = 7, 8 = 8, 9 = 9, 10 = 10, 0 = 0Used when View==0

Passivity Enforcement

ParameterUnitDefaultDescription
EPChoice·NOEnforce Passivity?Select Yes to enforce passivity, otherwise NoWritten as NO (No), PERTUBATION_METHOD (Yes (Pertubation method)), FILTER_METHOD (Yes (Filter method))
FQSChoice·LOGFrequency ScaleHow the frequency samples are taken: Select Log, Log+Linear or LinearWritten as LOG (Log), LOG_AND_LINEAR (Log and Linear), LINEAR (Linear)Used when EP!=0
FbeginRealHz0.1Starting FrequencyStarting frequency for passivity checkingRange 1E-06 to 10000000000Used when EP!=0
FendRealHz10000End FrequencyEnd frequency for passivity checkingRange 1E-06 to 10000000000Used when EP!=0
MaxerrReal·10.0Maximum Error (%)Maximum error allowed after passivity enforcementRange 0.01 to 100Used when EP!=0
MaxiterInteger·6Maximum IterationsMaximum number of iterationsRange 1 to 100Used when EP!=0
NInteger·2000Number of SamplesNumber of frequency samplesRange 100 to 10000Used when EP!=0

Power Injections

ParameterUnitDefaultDescription
EPIChoice·NOEnable Power InjectionsSelect Yes to inject power at the interface, otherwise NoWritten as NO (No), BOUNDARY_CONDITIONS (Yes (Boundary Conditions)), CURRENT_INJECTIONS (Yes (Current Injections))
Fname2Text·PQ.outInput Data FileEnter the name of the input data fileRange 0 to 0Used when EPI != 0
NumHarmonicsInteger·1000Number of Harmonic Power InjectionsUsed for estimating storage requirements. There is no harm in entering a higher value than the actual.Range 1 to 2147483647Used when EPI != 0
Path2Choice·RELATIVEPath to Input FileSelect absolute or relative to match the name of the input file enteredWritten as RELATIVE (Relative), ABSOLUTE (Absolute)Used when EPI != 0

Curve-fitting Options

ParameterUnitDefaultDescription
F0RealHz60Steady State FrequencyF0 valueRange 0 to 10000000000
MerrReal·1.0Maximum Fitting Error (%)Maximum error allowed in curve fitting processRange 0.01 to 10
OrderInteger·20Maximum Order of Fittingmaximum number of poles to be used for curve fittingRange 1 to 100
W1Real·1.0Weighting Factor for Minimum to Steady Sate FrequencyWeighting factor frequencies below the steady state frequencyRange 1 to 100000000
W2Real·1.0Weighting Factor for Steady State FrequencyWeighting factor for steady state frequencyRange 1 to 100000000
W3Real·1.0Weighting Factor for Steady State to Maximum FrequencyWeighting factor for frequencies above the steady state frequencyRange 1 to 100000000

Related

← master:electrical_tap Electrical tap · master:fdtf Frequency Dependent Transfer Function →