master:optimum_run parametersPSCAD Optimum Run
Every parameter of the PSCAD Optimum Run (master:optimum_run): 78 names, with the unit, the default and the meaning PSCAD gives each one. Copy a name into parameters().
What master:optimum_run is
Optimum Run, a component of PSCAD's Master Library, filed under runtime.
- Definition
master:optimum_run- PSCAD name
- Optimum Run
- Category
- Runtime
- Parameters
- 78, in 7 groups
- Read from
- PSCAD 5.0.0, 2026-11-07
Read and write master:optimum_run 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:optimum_run"): # the exact definition, namespace first
params = comp.parameters() # every parameter, as PSCAD holds it
print(str(params["BL01"])) # Number of States for Integer Variable 1
comp = project.find_all("master:optimum_run")[0]
comp.parameters(BL01="8") # 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, "BL01") and px_set(...), which also records the old value so the case is put back at the end. Getting started shows them.
- Genetic Algorithm - Integer Specification10
- Genetic Algorithm9
- Main8
- Output Configuration2
- Simplex / Hookes-Jeeves22
- Golden Section7
- Genetic Algorithm - Real Specifications20
Genetic Algorithm - Integer Specification
| Parameter | Unit | Default | Description |
|---|---|---|---|
BL01Integer | · | 4 | Number of States for Integer Variable 1Range 3 to 2147483647Used when NVI>=1 |
BL02Integer | · | 4 | Number of States for Integer Variable 2Range 3 to 2147483647Used when NVI>1 |
BL03Integer | · | 4 | Number of States for Integer Variable 3Range 3 to 2147483647Used when NVI>2 |
BL04Integer | · | 4 | Number of States for Integer Variable 4Range 3 to 2147483647Used when NVI>3 |
BL05Integer | · | 4 | Number of States for Integer Variable 5Range 3 to 2147483647Used when NVI>4 |
BL06Integer | · | 4 | Number of States for Integer Variable 6Range 3 to 2147483647Used when NVI>5 |
BL07Integer | · | 4 | Number of States for Integer Variable 7Range 3 to 2147483647Used when NVI>6 |
BL08Integer | · | 4 | Number of States for Integer Variable 8Range 3 to 2147483647Used when NVI>7 |
BL09Integer | · | 4 | Number of States for Integer Variable 9Range 3 to 2147483647Used when NVI>8 |
BL10Integer | · | 4 | Number of States for Integer Variable 10Range 3 to 2147483647Used when NVI>9 |
Genetic Algorithm
| Parameter | Unit | Default | Description |
|---|---|---|---|
BMRReal | · | 5.0 | Binary Mutation RateRange 0 to 90 |
DEVIReal | · | 0.0 | Percentage of Population to be DeviatedRange 0 to 90 |
DRReal | · | 10.0 | Maximum Deviation RateRange 10 to 90 |
EliteInteger | · | 10 | Elite PopulationRange 0 to 100 |
IPInteger | · | 100 | Initial PopulationRange 0 to 1000 |
PMChoice | · | RANDOM | Pairing MethodSelect the paring method from available choicesWritten as RANDOM (Random), RANK_WEIGHTING (Rank Weighting), COST_WEIGHTING (Cost Weighting), TOURNAMENT (Tournament) |
PMPInteger | · | 40 | Population of the Mating PoolRange 0 to 500 |
PSGInteger | · | 80 | Population of the Surviving GenerationRange 0 to 500 |
RMRReal | · | 5.0 | Real Part Mutation RateRange 0 to 90 |
Main
| Parameter | Unit | Default | Description |
|---|---|---|---|
EnabChoice | · | DISABLE | This Optimum Run Enabled or Disabled?Select Enable or DisableWritten as DISABLE (Disable), ENABLE (Enable) |
MRUNSInteger | · | 1 | Maximum Number of Multiple RunsRange 1 to 10000 |
NVBInteger | · | 1 | Number of BINARY Variables to Control in This OptimizationRange 0 to 20Used when OM==4 |
NVIInteger | · | 1 | Number of INTEGER Variables to Control in This OptimizationRange 0 to 10Used when OM==4 |
NVRInteger | · | 1 | Number of REAL Variables to Control in This OptimizationRange 0 to 20Used when OM!=1 |
NameText | · | · | Name for IdentificationEnter a name for identification |
OMChoice | · | SIMPLEX | Optimization MethodSelect the optimization method from available choicesWritten as GOLDEN_INTERSECTION (Golden Intersection), SIMPLEX (Simplex), HOOKEJEEVES (Hooke-Jeeves), GENETIC_ALGORITHM (Genetic Algorithm) |
TOLReal | · | 1e-06 | ToleranceAt least 0Used when OM!=4 |
Output Configuration
| Parameter | Unit | Default | Description |
|---|---|---|---|
FnameText | · | optimumrun.out | Output FileEnter a name for output fileUsed when Meas==1 |
MeasChoice | · | YES | Write Output File?Select Yes or NoWritten as NO (No), YES (Yes) |
Simplex / Hookes-Jeeves
| Parameter | Unit | Default | Description |
|---|---|---|---|
IC1Real | · | 1.0 | Initial Condition for variable 1 |
IC10Real | · | 1.0 | Initial Condition for variable 10Used when NVR>9 |
IC11Real | · | 1.0 | Initial Condition for variable 11Used when NVR>10 |
IC12Real | · | 1.0 | Initial Condition for variable 12Used when NVR>11 |
IC13Real | · | 1.0 | Initial Condition for variable 13Used when NVR>12 |
IC14Real | · | 1.0 | Initial Condition for variable 14Used when NVR>13 |
IC15Real | · | 1.0 | Initial Condition for variable 15Used when NVR>14 |
IC16Real | · | 1.0 | Initial Condition for variable 16Used when NVR>15 |
IC17Real | · | 1.0 | Initial Condition for variable 17Used when NVR>16 |
IC18Real | · | 1.0 | Initial Condition for variable 18Used when NVR>17 |
IC19Real | · | 1.0 | Initial Condition for variable 19Used when NVR>18 |
IC2Real | · | 1.0 | Initial Condition for variable 2Used when NVR>1 |
IC20Real | · | 1.0 | Initial Condition for variable 20Used when NVR>19 |
IC3Real | · | 1.0 | Initial Condition for variable 3Used when NVR>2 |
IC4Real | · | 1.0 | Initial Condition for variable 4Used when NVR>3 |
IC5Real | · | 1.0 | Initial Condition for variable 5Used when NVR>4 |
IC6Real | · | 1.0 | Initial Condition for variable 6Used when NVR>5 |
IC7Real | · | 1.0 | Initial Condition for variable 7Used when NVR>6 |
IC8Real | · | 1.0 | Initial Condition for variable 8Used when NVR>7 |
IC9Real | · | 1.0 | Initial Condition for variable 9Used when NVR>8 |
ISPReal | · | 0.5 | Initial Step SizeAt least 0 |
SRFReal | · | 2.0 | Step Reduction FactorAt least 0Used when OM==3 |
Golden Section
| Parameter | Unit | Default | Description |
|---|---|---|---|
ISLReal | · | 0.01 | Initial Step LengthAt least 0Used when SM==1 |
LHPReal | · | 0.0 | Left Hand PointUsed when SM==0 |
RHPReal | · | 1.0 | Right Hand PointUsed when SM==0 |
SEFReal | · | 2.0 | Step Elongation FactorAt least 0Used when SM==1 |
SIBReal | · | 1.0 | Search Interval BoundaryUsed when SM==1 |
SMChoice | · | INTERVAL_SEARCH | Search MethodSelect Interval seach or Auto searchWritten as INTERVAL_SEARCH (Interval Search), AUTO_SEARCH (Auto Search) |
SPReal | · | 0.0 | Starting PointUsed when SM==1 |
Genetic Algorithm - Real Specifications
| Parameter | Unit | Default | Description |
|---|---|---|---|
LL01Real | · | 0.0 | Lower Limits of Variable 1 |
LL02Real | · | 0.0 | Lower Limits of Variable 2Used when NVR>1 |
LL03Real | · | 0.0 | Lower Limits of Variable 3Used when NVR>2 |
LL04Real | · | 0.0 | Lower Limits of Variable 4Used when NVR>3 |
LL05Real | · | 0.0 | Lower Limits of Variable 5Used when NVR>4 |
LL06Real | · | 0.0 | Lower Limits of Variable 6Used when NVR>5 |
LL07Real | · | 0.0 | Lower Limits of Variable 7Used when NVR>6 |
LL08Real | · | 0.0 | Lower Limits of Variable 8Used when NVR>7 |
LL09Real | · | 0.0 | Lower Limits of Variable 9Used when NVR>8 |
LL10Real | · | 0.0 | Lower Limits of Variable 10Used when NVR>9 |
UL01Real | · | 1.0 | Upper Limits of Variable 1 |
UL02Real | · | 1.0 | Upper Limits of Variable 2Used when NVR>1 |
UL03Real | · | 1.0 | Upper Limits of Variable 3Used when NVR>2 |
UL04Real | · | 1.0 | Upper Limits of Variable 4Used when NVR>3 |
UL05Real | · | 1.0 | Upper Limits of Variable 5Used when NVR>4 |
UL06Real | · | 1.0 | Upper Limits of Variable 6Used when NVR>5 |
UL07Real | · | 1.0 | Upper Limits of Variable 7Used when NVR>6 |
UL08Real | · | 1.0 | Upper Limits of Variable 8Used when NVR>7 |
UL09Real | · | 1.0 | Upper Limits of Variable 9Used when NVR>8 |
UL10Real | · | 1.0 | Upper Limits of Variable 10Used when NVR>9 |
Related
- All 345 definitions in the component reference
- Snapshots, simulation sets and batch runs
- PSCAD automation with Python: getting started
← master:fileread File Read · master:angle_resolver Angle Resolver →