master:Sequencer_Wait parametersPSCAD Sequencer: Wait for an event

Every parameter of the PSCAD Sequencer: Wait for an event (master:Sequencer_Wait): 11 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().

What master:Sequencer_Wait is

Sequencer: Wait for an event (Sequencer (Wait for an event)), a component of PSCAD's Master Library, filed under control blocks.

Definition
master:Sequencer_Wait
PSCAD name
Sequencer: Wait for an event
Category
Control blocks
Parameters
11, in 1 group; 4 carry a unit
Read from
PSCAD 5.0.0, 2026-11-07

Read and write master:Sequencer_Wait 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:Sequencer_Wait"):   # the exact definition, namespace first
    params = comp.parameters()           # every parameter, as PSCAD holds it
    print(str(params["FixedDelay"]))     # Wait for Time Delay, in s

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

Configuration

ParameterUnitDefaultDescription
CrossDirChoice·FROM_NEG_TO_POSCrossing DirectionWritten as FROM_NEG_TO_POS (From -ve to +ve), FROM_POS_TO_NEG (From +ve to -ve), IN_ANY_DIRECTION (In Any Direction)Used when WaitType==3
CrossSigReal·VAEnter Crossing Signal NameAt least 0Used when (WaitType==3)
CrossValueReal·0.0Enter Crossing ValueAt least 0Used when (WaitType==3)
FixedDelayReals0.05Wait for Time DelayAt least 0Used when (WaitType==0)
MaxReals1.0Maximum Time for the Random DelayUsed when WaitType==1
MinReals0.0Minimum Time for the Random DelayUsed when WaitType==1
NameText··Name for IdentificationEnter a name for identification
SeedChoice·NORegenerate the Seed if Starting from a Snapshot?Written as NO (No), YES (Yes)Used when WaitType==1
StateInteger·0State (Updated Automatically)Used for Active GraphicsRange -2147483648 to 2147483647
UntilTimeReals1.0Wait Until TimeAt least 0Used when (WaitType==2)
WaitTypeChoice·FOR_FIXED_DELAYWaitWritten as FOR_FIXED_DELAY (For Fixed Delay), FOR_RANDOM_DELAY (For Random Delay), UNTIL_SPECIFIED_TIME (Until Specified Time), FOR_SIGNAL_CROSSING (For Signal Crossing)

Related

← master:Sequencer_Start Sequencer: Start · master:shiftreg Serial-In/Serial-Out Shift Register →