master:mrun_extra parametersPSCAD Multiple Run Additional Recording
Every parameter of the PSCAD Multiple Run Additional Recording (master:mrun_extra): 26 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().
What master:mrun_extra is
Multiple Run Additional Recording, a component of PSCAD's Master Library, filed under control blocks.
- Definition
master:mrun_extra- PSCAD name
- Multiple Run Additional Recording
- Category
- Control blocks
- Parameters
- 26, in 2 groups
- Read from
- PSCAD 5.0.0, 2026-11-07
Read and write master:mrun_extra 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:mrun_extra"): # the exact definition, namespace first
params = comp.parameters() # every parameter, as PSCAD holds it
print(str(params["NDIV"])) # Number of Divisions for Probability Density Ouputs
comp = project.find_all("master:mrun_extra")[0]
comp.parameters(NDIV="20") # 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, "NDIV") and px_set(...), which also records the old value so the case is put back at the end. Getting started shows them.
Labels and Statistical Summary
| Parameter | Unit | Default | Description |
|---|---|---|---|
NDIVInteger | · | 10 | Number of Divisions for Probability Density OuputsNumber of disions in the probability density outputRange 5 to 1000 |
O10LabelText | · | Out#10 | Label for Output 10:Enter a name for this outputRange 0 to 0Used when NM>=10 |
O1LabelText | · | Out#1 | Label for Output 1:Enter a name for this outputRange 0 to 0Used when NM>=1 |
O2LabelText | · | Out#2 | Label for Output 2:Enter a name for this outputRange 0 to 0Used when NM>=2 |
O3LabelText | · | Out#3 | Label for Output 3:Enter a name for this outputRange 0 to 0Used when NM>=3 |
O4LabelText | · | Out#4 | Label for Output 4:Enter a name for this outputRange 0 to 0Used when NM>=4 |
O5LabelText | · | Out#5 | Label for Output 5:Enter a name for this outputRange 0 to 0Used when NM>=5 |
O6LabelText | · | Out#6 | Label for Output 6:Enter a name for this outputRange 0 to 0Used when NM>=6 |
O7LabelText | · | Out#7 | Label for Output 7:Enter a name for this outputRange 0 to 0Used when NM>=7 |
O8LabelText | · | Out#8 | Label for Output 8:Enter a name for this outputRange 0 to 0Used when NM>=8 |
O9LabelText | · | Out#9 | Label for Output 9:Enter a name for this outputRange 0 to 0Used when NM>=9 |
Recording Data Configuration
| Parameter | Unit | Default | Description |
|---|---|---|---|
NMChoice | · | 0 | Number of Channles to RecordNumber of channels to record in this unitWritten as 0 = 0, 1 = 1, 2 = 2, 3 = 3, 4 = 4, 5 = 5, 6 = 6, 7 = 7, 8 = 8, 9 = 9, 10 = 10 |
NameText | · | · | Name for IdentificationEnter a name for identificationRange 0 to 0 |
OUTNAMText | · | mrunout | Base Output File NameActual output filename would be in the form BaseOutputFileName_ReordingUnit.outRange 0 to 0 |
RType1Choice | · | MAXIMUM_ABS_X_ | Auto Processing of Channel 1?Select the type of processing for this channelWritten as NONE (None), MINIMUM_X_ (Minimum( X )), MAXIMUM_X_ (Maximum( X )), MAXIMUM_ABS_X_ (Maximum( | X | )), ISE_X_SUMX_X (ISE( X ) [Sum(X*X)])Used when NM>=1 |
RType10Choice | · | MAXIMUM_ABS_X_ | Auto Processing of Channel 10?Select the type of processing for this channelWritten as NONE (None), MINIMUM_X_ (Minimum( X )), MAXIMUM_X_ (Maximum( X )), MAXIMUM_ABS_X_ (Maximum( | X | )), ISE_X_SUMX_X (ISE( X ) [Sum(X*X)])Used when NM>=10 |
RType2Choice | · | MAXIMUM_ABS_X_ | Auto Processing of Channel 2?Select the type of processing for this channelWritten as NONE (None), MINIMUM_X_ (Minimum( X )), MAXIMUM_X_ (Maximum( X )), MAXIMUM_ABS_X_ (Maximum( | X | )), ISE_X_SUMX_X (ISE( X ) [Sum(X*X)])Used when NM>=2 |
RType3Choice | · | MAXIMUM_ABS_X_ | Auto Processing of Channel 3?Select the type of processing for this channelWritten as NONE (None), MINIMUM_X_ (Minimum( X )), MAXIMUM_X_ (Maximum( X )), MAXIMUM_ABS_X_ (Maximum( | X | )), ISE_X_SUMX_X (ISE( X ) [Sum(X*X)])Used when NM>=3 |
RType4Choice | · | MAXIMUM_ABS_X_ | Auto Processing of Channel 4?Select the type of processing for this channelWritten as NONE (None), MINIMUM_X_ (Minimum( X )), MAXIMUM_X_ (Maximum( X )), MAXIMUM_ABS_X_ (Maximum( | X | )), ISE_X_SUMX_X (ISE( X ) [Sum(X*X)])Used when NM>=4 |
RType5Choice | · | MAXIMUM_ABS_X_ | Auto Processing of Channel 5?Select the type of processing for this channelWritten as NONE (None), MINIMUM_X_ (Minimum( X )), MAXIMUM_X_ (Maximum( X )), MAXIMUM_ABS_X_ (Maximum( | X | )), ISE_X_SUMX_X (ISE( X ) [Sum(X*X)])Used when NM>=5 |
RType6Choice | · | MAXIMUM_ABS_X_ | Auto Processing of Channel 6?Select the type of processing for this channelWritten as NONE (None), MINIMUM_X_ (Minimum( X )), MAXIMUM_X_ (Maximum( X )), MAXIMUM_ABS_X_ (Maximum( | X | )), ISE_X_SUMX_X (ISE( X ) [Sum(X*X)])Used when NM>=6 |
RType7Choice | · | MAXIMUM_ABS_X_ | Auto Processing of Channel 7?Select the type of processing for this channelWritten as NONE (None), MINIMUM_X_ (Minimum( X )), MAXIMUM_X_ (Maximum( X )), MAXIMUM_ABS_X_ (Maximum( | X | )), ISE_X_SUMX_X (ISE( X ) [Sum(X*X)])Used when NM>=7 |
RType8Choice | · | MAXIMUM_ABS_X_ | Auto Processing of Channel 8?Select the type of processing for this channelWritten as NONE (None), MINIMUM_X_ (Minimum( X )), MAXIMUM_X_ (Maximum( X )), MAXIMUM_ABS_X_ (Maximum( | X | )), ISE_X_SUMX_X (ISE( X ) [Sum(X*X)])Used when NM>=8 |
RType9Choice | · | MAXIMUM_ABS_X_ | Auto Processing of Channel 9?Select the type of processing for this channelWritten as NONE (None), MINIMUM_X_ (Minimum( X )), MAXIMUM_X_ (Maximum( X )), MAXIMUM_ABS_X_ (Maximum( | X | )), ISE_X_SUMX_X (ISE( X ) [Sum(X*X)])Used when NM>=9 |
RUInteger | · | 1 | Recording UnitEnter it as non-literal constant if used inside a multi-instanced module, and make each constant unique.Range 0 to 99 |
statChoice | · | NO | Write Statistical SummaryChoose whether to add a statistical summary at the end of the fileWritten as NO (No), YES (Yes) |