master:dir_neg32 parametersPSCAD Negative Sequence Directional Element
Every parameter of the PSCAD Negative Sequence Directional Element (master:dir_neg32): 9 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().
What master:dir_neg32 is
Negative Sequence Directional Element (Negatives sequence directional element), a component of PSCAD's Master Library, filed under protection.
- Definition
master:dir_neg32- PSCAD name
- Negative Sequence Directional Element
- Category
- Protection
- Parameters
- 9, in 2 groups
- Read from
- PSCAD 5.0.0, 2026-11-07
Read and write master:dir_neg32 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:dir_neg32"): # the exact definition, namespace first
params = comp.parameters() # every parameter, as PSCAD holds it
print(str(params["KI1"])) # I1 Restraint Factor
comp = project.find_all("master:dir_neg32")[0]
comp.parameters(KI1="0.2") # written as text
- 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, "KI1") 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 |
|---|---|---|---|
ASChoice | · | DEGREES | Input Angles are Given inSelect degrees or radiansWritten as RADIANS (Radians), DEGREES (Degrees) |
KI1Real | · | 0.1 | I1 Restraint FactorRestraint factor for the fundamentalRange 0.02 to 0.5 |
NameText | · | · | Name for IdentificationEnter a name for identification |
QF50Real | · | 0.5 | Forward OC SettingRange 0.001 to 1000000 |
QR50Real | · | 0.25 | Reverse OC SettingRange 0.001 to 1000000 |
S1Real | · | 85.0 | Line AnglePhase angle of the line impedance at system frequencyRange 0 to 90 |
Z2FReal | · | 0.5 | Z2 Forward ThresholdZone 2 forward threshold |
Z2RReal | · | 0.6 | Z2 Reverse ThresholdZone 2 reverse threshold |
Internal Output Variables
| Parameter | Unit | Default | Description |
|---|---|---|---|
IntZ2Text | · | IntZ2 | Negative Impedance |
Related
← master:itoc51 Inverse Time Over Current Relay · master:breakout 3 phase to Single line Converter →