master:trv parametersPSCAD TRV Envelope Generator

Every parameter of the PSCAD TRV Envelope Generator (master:trv): 48 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().

What master:trv is

TRV Envelope Generator (TRV envelope generator and failure detection), a component of PSCAD's Master Library, filed under control blocks.

Definition
master:trv
PSCAD name
TRV Envelope Generator
Category
Control blocks
Parameters
48, in 3 groups; 27 carry a unit
Read from
PSCAD 5.0.0, 2026-11-07

Read and write master:trv 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:trv"):   # the exact definition, namespace first
    params = comp.parameters()           # every parameter, as PSCAD holds it
    print(str(params["pt10x"]))          # Curve 3 TRV Peak Time, in us

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

Source Faults

ParameterUnitDefaultDescription
flt_locChoice·SYSTEMSOURCEFault LocationSelect from system-source fault or generator-source faultWritten as SYSTEMSOURCE (System-Source Fault), GENERATORSOURCE (Generator-Source Fault)
tmvaRealMVA100Transformer/Generator Three Phase MVA RatingIf the fault is system-source then enter the Transformer MVA, else, enter the Generator MVA.At least 0
vrmRealkV33Rated Maximum VoltageAt least 0

Standard TRV Points

ParameterUnitDefaultDescription
iec1Choice·3.6_KVIEC S1 Rated VoltageWritten as 3.6_KV (3.6 [kV]), 4.76_KV (4.76 [kV]), 7.2_KV (7.2 [kV]), 8.25_KV (8.25 [kV]), 12_KV (12 [kV]), 15_KV (15 [kV]), 17.5_KV (17.5 [kV]), 24_KV (24 [kV]), 25.8_KV (25.8 [kV]), 36_KV (36 [kV]), 38_KV (38 [kV]), 48.3_KV (48.3 [kV]), 52_KV (52 [kV]), 72.5_KV (72.5 [kV])Used when ((user_standard==2) || (user_standard==4)) && (user_class==1)
iec2Choice·15_KVIEC S2 Rated VoltageWritten as 15_KV (15 [kV]), 175_KV (17.5 [kV]), 24_KV (24 [kV]), 258_KV (25.8 [kV]), 36_KV (36 [kV]), 38_KV (38 [kV]), 483_KV (48.3 [kV]), 52_KV (52 [kV]), 725_KV (72.5 [kV])Used when ((user_standard==2) || (user_standard==4)) && (user_class==2)
iec3Choice·100_KVIEC EENS Rated VoltageWritten as 100_KV (100 [kV]), 123_KV (123 [kV]), 145_KV (145 [kV]), 170_KV (170 [kV]), 245_KV (245 [kV]), 300_KV (300 [kV]), 362_KV (362 [kV]), 420_KV (420 [kV]), 550_KV (550 [kV]), 800_KV (800 [kV])Used when ((user_standard==2) || (user_standard==4)) && (user_class==3)
iec4Choice·100_KVIEC NENS Rated VoltageWritten as 100_KV (100 [kV]), 123_KV (123 [kV]), 145_KV (145 [kV]), 170_KV (170 [kV])Used when ((user_standard==2) || (user_standard==4)) && (user_class==4)
ieee1Choice·476_KVIEEE S1 Rated VoltageWritten as 476_KV (4.76 [kV]), 825_KV (8.25 [kV]), 15_KV (15 [kV]), 27_KV (27 [kV]), 38_KV (38 [kV]), 725_KV (72.5 [kV])Used when ((user_standard==3) || (user_standard==5)) && (user_class==1)
ieee2Choice·155_KVIEEE S2 Rated VoltageWritten as 155_KV (15.5 [kV]), 258_KV (25.8 [kV]), 38_KV (38 [kV]), 483_KV (48.3 [kV]), 725_KV (72.5 [kV])Used when ((user_standard==3) || (user_standard==5)) && (user_class==2)
ieee3Choice·123_KVIEEE EENS Rated VoltageWritten as 123_KV (123 [kV]), 145_KV (145 [kV]), 170_KV (170 [kV]), 245_KV (245 [kV]), 362_KV (362 [kV]), 550_KV (550 [kV]), 800_KV (800 [kV])Used when ((user_standard==3) || (user_standard==5)) && (user_class==3)
ieee4Choice·123_KVIEEE NENS Rated VoltageWritten as 123_KV (123 [kV]), 145_KV (145 [kV]), 170_KV (170 [kV]), 245_KV (245 [kV]), 362_KV (362 [kV]), 550_KV (550 [kV]), 800_KV (800 [kV])Used when ((user_standard==3) || (user_standard==5)) && (user_class==4)
tolRealkV0.5Tolerance for failure detectionEnter an additional tolerance for violation detectionAt least 0
user_classChoice·1_KV_KVTRV ClassWritten as 15_KV_KV (15 kv kv), 1_KV_KV (1 kv kv), KV_170_KV (Kv 170 kv), KV_800_KV (Kv 800 kv)Used when (user_standard > 1) && (user_standard < 6)
user_standardChoice·IEEETRV StandardSelect from IEEE, IEC with/without additional user defined curvesWritten as USER_DEFINED (User Defined), IEC, IEEE, IEC_USER_DEFINED (IEC + User Defined), IEEE_USER_DEFINED (IEEE + User Defined), SOURCE_FAULT (Source Fault)

User Defined TRV Points

ParameterUnitDefaultDescription
num2Choice·0Number of 2 Parameter CurvesNumber of single point curvesWritten as 0 = 0, 1 = 1, 2 = 2, 3 = 3, 4 = 4
num4Choice·0Number of 4 Parameter CurvesNumber of 2 point curvesWritten as 0 = 0, 1 = 1, 2 = 2, 3 = 3, 4 = 4
pt10xRealus0Curve 3 TRV Peak TimeAt least 0Used when num4 > 2
pt10yRealkV0Curve 3 TRV Peak ValueAt least 0Used when num4 > 2
pt11xRealus0Curve 4 First TimeAt least 0Used when num4 > 3
pt11yRealkV0Curve 4 First Reference VoltageAt least 0Used when num4 > 3
pt12xRealus0Curve 4 TRV Peak TimeAt least 0Used when num4 > 3
pt12yRealkV0Curve 4 TRV Peak ValueAt least 0Used when num4 > 3
pt1xRealus0Curve 1 TRV Peak TimeAt least 0Used when num2 > 0
pt1yRealkV0Curve 1 TRV Peak ValueAt least 0Used when num2 > 0
pt2xRealus0Curve 2 TRV Peak TimeAt least 0Used when num2 > 1
pt2yRealkV0Curve 2 TRV Peak ValueAt least 0Used when num2 > 1
pt3xRealus0Curve 3 TRV Peak TimeAt least 0Used when num2 > 2
pt3yRealkV0Curve 3 TRV Peak ValueAt least 0Used when num2 > 2
pt4xRealus0Curve 4 TRV Peak TimeAt least 0Used when num2 > 3
pt4yRealkV0Curve 4 TRV Peak ValueAt least 0Used when num2 > 3
pt5xRealus0Curve 1 First TimeAt least 0Used when num4 > 0
pt5yRealkV0Curve 1 First Reference VoltageAt least 0Used when num4 > 0
pt6xRealus0Curve 1 TRV Peak TimeAt least 0Used when num4 > 0
pt6yRealkV0Curve 1 TRV Peak ValueAt least 0Used when num4 > 0
pt7xRealus0Curve 2 First TimeAt least 0Used when num4 > 1
pt7yRealkV0Curve 2 First Reference VoltageAt least 0Used when num4 > 1
pt8xRealus0Curve 2 TRV Peak TimeAt least 0Used when num4 > 1
pt8yRealkV0Curve 2 TRV Peak ValueAt least 0Used when num4 > 1
pt9xRealus0Curve 3 First TimeAt least 0Used when num4 > 2
pt9yRealkV0Curve 3 First Reference VoltageAt least 0Used when num4 > 2
textText··Curve 1 NameOptional name for referenceRange 0 to 0Used when num2 >0
text_1Text··Curve 2 NameOptional name for referenceRange 0 to 0Used when num2 > 1
text_2Text··Curve 3 NameOptional name for referenceRange 0 to 0Used when num2 > 2
text_3Text··Curve 4 NameOptional name for referenceRange 0 to 0Used when num2 > 3
text_4Text··Curve 1 NameOptional name for referenceRange 0 to 0Used when num4 >0
text_4_1Text··Curve 2 NameOptional name for referenceRange 0 to 0Used when num4 >1
text_4_2Text··Curve 3 NameOptional name for referenceRange 0 to 0Used when num4 > 2
text_4_3Text··Curve 4 NameOptional name for referenceRange 0 to 0Used when num4 > 3

Related

← master:trip_polygon Trip Polygon · master:compar Two Input Comparator →