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 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, "FixedDelay") 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 |
|---|---|---|---|
CrossDirChoice | · | FROM_NEG_TO_POS | Crossing 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 | · | VA | Enter Crossing Signal NameAt least 0Used when (WaitType==3) |
CrossValueReal | · | 0.0 | Enter Crossing ValueAt least 0Used when (WaitType==3) |
FixedDelayReal | s | 0.05 | Wait for Time DelayAt least 0Used when (WaitType==0) |
MaxReal | s | 1.0 | Maximum Time for the Random DelayUsed when WaitType==1 |
MinReal | s | 0.0 | Minimum Time for the Random DelayUsed when WaitType==1 |
NameText | · | · | Name for IdentificationEnter a name for identification |
SeedChoice | · | NO | Regenerate the Seed if Starting from a Snapshot?Written as NO (No), YES (Yes)Used when WaitType==1 |
StateInteger | · | 0 | State (Updated Automatically)Used for Active GraphicsRange -2147483648 to 2147483647 |
UntilTimeReal | s | 1.0 | Wait Until TimeAt least 0Used when (WaitType==2) |
WaitTypeChoice | · | FOR_FIXED_DELAY | WaitWritten 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 →