master:cfilter parametersPSCAD C-Type Filter

Every parameter of the PSCAD C-Type Filter (master:cfilter): 11 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().

What master:cfilter is

C-Type Filter (C-type filter), a component of PSCAD's Master Library, filed under passive branches, loads and filters.

Definition
master:cfilter
PSCAD name
C-Type Filter
Category
Passive branches, loads and filters
Parameters
11, in 1 group; 7 carry a unit
Read from
PSCAD 5.0.0, 2026-11-07

Read and write master:cfilter 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:cfilter"):   # the exact definition, namespace first
    params = comp.parameters()           # every parameter, as PSCAD holds it
    print(str(params["C"]))              # Series Capacitance, in uF

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

Configuration

ParameterUnitDefaultDescription
CRealuF10.48Series CapacitanceValue of capacitance in parallel LC branchAt least 1e-307Used when dentry==0
C1RealuF1.31Common CapacitanceValue of capacitance in the common branchAt least 1e-307Used when dentry==0
LRealH0.671InductanceValue of inductance in parallel LC branchAt least 1e-307Used when dentry==0
NameText··Description
QRealMVA49.0Reactive Power at Fundamental FrequencyEnter reactive power consumed at fundamental frequencyAt least 1e-307Used when dentry==1
QFReal·2.0Quality FactorEnter the quality factor of the filterAt least 1e-307Used when dentry==1
RRealohm1349.0ResistanceValue of resistance in parallel resistive branchAt least 1e-307Used when dentry==0
VRealkV315Rated VoltageEnter rated voltageAt least 1e-307Used when dentry==1
dentryChoice·VOLTAGE_TUNED_HARMONIC_Data Entry FormatFormat could be RLC values or combination of voltage, turned harmonic, quality factor etc.Written as RLC_VALUES (RLC Values), VOLTAGE_TUNED_HARMONIC_ (Voltage, Tuned Harmonic, ...)
f0RealHz60.0Fundamental FrequencyEnter fundamental frequencyAt least 1e-307Used when dentry==1
hReal·3.0Tuned HarmonicEnter the harmonic number of the tuned harmonicAt least 1.0001Used when dentry==1

Related

← master:filter-band Band Pass Filter · master:capacitive_load Capacitive Load →