master:Line_Berg_Options parametersPSCAD Bergeron Model
Every parameter of the PSCAD Bergeron Model (master:Line_Berg_Options): 6 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().
What master:Line_Berg_Options is
Bergeron Model, a component of PSCAD's Master Library, filed under lines, cables and towers.
- Definition
master:Line_Berg_Options- PSCAD name
- Bergeron Model
- Category
- Lines, cables and towers
- Parameters
- 6, in 1 group; 3 carry a unit
- Read from
- PSCAD 5.0.0, 2026-11-07
Read and write master:Line_Berg_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_Berg_Options"): # the exact definition, namespace first
params = comp.parameters() # every parameter, as PSCAD holds it
print(str(params["F1"])) # Frequency for Loss Approximation, in Hz
comp = project.find_all("master:Line_Berg_Options")[0]
comp.parameters(F1="4000 [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 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, "F1") and px_set(...), which also records the old value so the case is put back at the end. Getting started shows them.
Bergeron Line Model Options
| Parameter | Unit | Default | Description |
|---|---|---|---|
BDampChoice | · | NO | Use Damping Approximation?Written as NO (No), YES (Yes) |
F1Real | Hz | 2000 | Frequency for Loss ApproximationRange 0 to 1e+008Used when (BDamp==1) |
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) |
TPReal | ms | 0.005 | Shaping Time Constant (All Metallic Modes)Range 0 to 100Used when (BDamp==1) |
TZReal | ms | 0.005 | Shaping Time Constant (0 Sequence Mode)Range 0 to 100Used when (BDamp==1) |
Related
← master:Line_Tower_6_Offset 6 Conductor Offset Tower · master:cable_interface Cable Interface →