master:hgov90defn parametersPSCAD hgov90defn

Every parameter of the PSCAD hgov90defn (master:hgov90defn): 25 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().

What master:hgov90defn is

hgov90defn (Hydro Governor), a component of PSCAD's Master Library, filed under machines, exciters and governors.

Definition
master:hgov90defn
PSCAD name
hgov90defn
Category
Machines, exciters and governors
Parameters
25, in 4 groups; 12 carry a unit
Read from
PSCAD 5.0.0, 2026-11-07

Read and write master:hgov90defn 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:hgov90defn"):   # the exact definition, namespace first
    params = comp.parameters()           # every parameter, as PSCAD holds it
    print(str(params["C1"]))             # Inverse Gate Velocity Limit, in s/pu

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

Governor Parameters

ParameterUnitDefaultDescription
C1Reals/pu4.8Inverse Gate Velocity LimitAt least 0.001
C2Reals0.1Gate Velocity Time ConstantAt least 0.001
C3Real·0.04Permanent Droop GainAt least 0.001
C4Realpu/s0.22Gate Position Control Rate LimitAt least 0.001
C5Real·0.0Temporary Droop GainAt least 0
C6Reals1.0Temporary Droop Time ConstantAt least 0.001
T1Real·0.88Controller Derivative GainAt least 0
T2Real·3.7Controller Proportional GainAt least 0.001
T3Real·0.44Controller Integral GainAt least 0.001
T4Reals0.02Controller Real Pole Time ConstAt least 0.001
T5Reals0.8Turbine Lead Time ConstantAt least 0.001
T6Reals0.4Turbine Lag Time ConstantAt least 0.001
TSReals0.05Governor Time ConstantAt least 0.001
TmaxRealpu0.957Maximum Mechanical TorqueAt least 0.001
fRealHz60.0Base FrequencyAt least 0.001

Monitoring Internal Variables

ParameterUnitDefaultDescription
Chn1Text··Name for 1st monitored STOR
Chn2Text··Name for 2nd monitored STOR
Mon1Integer·1Monitor internal storage NEXC +Range 1 to 25
Mon2Integer·1Monitor internal storage NEXC +Range 1 to 25

Configuration

ParameterUnitDefaultDescription
IandInteger·1No of activating and-gate inputs [1-2]Range 1 to 2
IshnmInteger·0Show units for icon inputs ? [0-1]Range 0 to 1
ItrqiInteger·1Icon Input: Initializing torque [0-1]Range 0 to 1
ItrqrInteger·0Icon Input: Torque reference [0-1]Range 0 to 1

Operation Settings

ParameterUnitDefaultDescription
TrqiRealpu0.0Initial Mechanical TorqueRange 0 to 10Used when (Itrqr==0)||(Itrqi==0)
TrqrRealpu0.0Torque Ref. (offsets droop)Range 0 to 10Used when (Itrqr==0)||(Itrqi==0)

Related

← master:exci35defn exci35defn · master:hy_gov Hydro Governor →