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 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, "C") and px_set(...), which also records the old value so the case is put back at the end. Getting started shows them.
Configuration
| Parameter | Unit | Default | Description |
|---|---|---|---|
CReal | uF | 10.48 | Series CapacitanceValue of capacitance in parallel LC branchAt least 1e-307Used when dentry==0 |
C1Real | uF | 1.31 | Common CapacitanceValue of capacitance in the common branchAt least 1e-307Used when dentry==0 |
LReal | H | 0.671 | InductanceValue of inductance in parallel LC branchAt least 1e-307Used when dentry==0 |
NameText | · | · | Description |
QReal | MVA | 49.0 | Reactive Power at Fundamental FrequencyEnter reactive power consumed at fundamental frequencyAt least 1e-307Used when dentry==1 |
QFReal | · | 2.0 | Quality FactorEnter the quality factor of the filterAt least 1e-307Used when dentry==1 |
RReal | ohm | 1349.0 | ResistanceValue of resistance in parallel resistive branchAt least 1e-307Used when dentry==0 |
VReal | kV | 315 | Rated 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, ...) |
f0Real | Hz | 60.0 | Fundamental FrequencyEnter fundamental frequencyAt least 1e-307Used when dentry==1 |
hReal | · | 3.0 | Tuned HarmonicEnter the harmonic number of the tuned harmonicAt least 1.0001Used when dentry==1 |
Related
- All 345 definitions in the component reference
- Harmonics and THD from a PSCAD run
- PSCAD automation with Python: getting started
← master:filter-band Band Pass Filter · master:capacitive_load Capacitive Load →