master:fdtf parametersPSCAD Frequency Dependent Transfer Function

Every parameter of the PSCAD Frequency Dependent Transfer Function (master:fdtf): 8 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().

What master:fdtf is

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

Definition
master:fdtf
PSCAD name
Frequency Dependent Transfer Function
Category
Meters and output
Parameters
8, in 1 group
Read from
PSCAD 5.0.0, 2026-11-07

Read and write master:fdtf 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:fdtf"):   # the exact definition, namespace first
    params = comp.parameters()           # every parameter, as PSCAD holds it
    print(str(params["ni"]))             # Dimension of the Input

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

Configuration

ParameterUnitDefaultDescription
EmatChoice·NOMatrix E is Provided?Specify whether matrix E is provided or notWritten as NO (No), YES (Yes)
FnameText·data.txtInput FileEnter the name of the file where ABCD parameters are listed
NameText··Name for IdentificationEnter a name for identification
PathChoice·RELATIVESpecified Path to Input FileChoose relative or absolute pathWritten as RELATIVE (Relative), ABSOLUTE (Absolute)
initChoice·INPUT_AT_TIME_0InitializationInitialize internal parameters based on input at timezero or the value zeroWritten as ZERO (zero), INPUT_AT_TIME_0 (input at time=0)
niInteger·1Dimension of the InputEnter the dimension of the inputRange 1 to 1000
noInteger·1Dimension of the OutputEnter the dimension of the outputRange 1 to 1000
nsInteger·1Number of State VariablesEnter the number of state variablesRange 1 to 1000

Related

← master:fdne Frequency Dependent Network Equivalent · master:freq-meas Frequency/Phase/RMS Meter →