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 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, "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 Specification

ParameterUnitDefaultDescription
BL01Integer·4Number of States for Integer Variable 1Range 3 to 2147483647Used when NVI>=1
BL02Integer·4Number of States for Integer Variable 2Range 3 to 2147483647Used when NVI>1
BL03Integer·4Number of States for Integer Variable 3Range 3 to 2147483647Used when NVI>2
BL04Integer·4Number of States for Integer Variable 4Range 3 to 2147483647Used when NVI>3
BL05Integer·4Number of States for Integer Variable 5Range 3 to 2147483647Used when NVI>4
BL06Integer·4Number of States for Integer Variable 6Range 3 to 2147483647Used when NVI>5
BL07Integer·4Number of States for Integer Variable 7Range 3 to 2147483647Used when NVI>6
BL08Integer·4Number of States for Integer Variable 8Range 3 to 2147483647Used when NVI>7
BL09Integer·4Number of States for Integer Variable 9Range 3 to 2147483647Used when NVI>8
BL10Integer·4Number of States for Integer Variable 10Range 3 to 2147483647Used when NVI>9

Genetic Algorithm

ParameterUnitDefaultDescription
BMRReal·5.0Binary Mutation RateRange 0 to 90
DEVIReal·0.0Percentage of Population to be DeviatedRange 0 to 90
DRReal·10.0Maximum Deviation RateRange 10 to 90
EliteInteger·10Elite PopulationRange 0 to 100
IPInteger·100Initial PopulationRange 0 to 1000
PMChoice·RANDOMPairing MethodSelect the paring method from available choicesWritten as RANDOM (Random), RANK_WEIGHTING (Rank Weighting), COST_WEIGHTING (Cost Weighting), TOURNAMENT (Tournament)
PMPInteger·40Population of the Mating PoolRange 0 to 500
PSGInteger·80Population of the Surviving GenerationRange 0 to 500
RMRReal·5.0Real Part Mutation RateRange 0 to 90

Main

ParameterUnitDefaultDescription
EnabChoice·DISABLEThis Optimum Run Enabled or Disabled?Select Enable or DisableWritten as DISABLE (Disable), ENABLE (Enable)
MRUNSInteger·1Maximum Number of Multiple RunsRange 1 to 10000
NVBInteger·1Number of BINARY Variables to Control in This OptimizationRange 0 to 20Used when OM==4
NVIInteger·1Number of INTEGER Variables to Control in This OptimizationRange 0 to 10Used when OM==4
NVRInteger·1Number of REAL Variables to Control in This OptimizationRange 0 to 20Used when OM!=1
NameText··Name for IdentificationEnter a name for identification
OMChoice·SIMPLEXOptimization MethodSelect the optimization method from available choicesWritten as GOLDEN_INTERSECTION (Golden Intersection), SIMPLEX (Simplex), HOOKEJEEVES (Hooke-Jeeves), GENETIC_ALGORITHM (Genetic Algorithm)
TOLReal·1e-06ToleranceAt least 0Used when OM!=4

Output Configuration

ParameterUnitDefaultDescription
FnameText·optimumrun.outOutput FileEnter a name for output fileUsed when Meas==1
MeasChoice·YESWrite Output File?Select Yes or NoWritten as NO (No), YES (Yes)

Simplex / Hookes-Jeeves

ParameterUnitDefaultDescription
IC1Real·1.0Initial Condition for variable 1
IC10Real·1.0Initial Condition for variable 10Used when NVR>9
IC11Real·1.0Initial Condition for variable 11Used when NVR>10
IC12Real·1.0Initial Condition for variable 12Used when NVR>11
IC13Real·1.0Initial Condition for variable 13Used when NVR>12
IC14Real·1.0Initial Condition for variable 14Used when NVR>13
IC15Real·1.0Initial Condition for variable 15Used when NVR>14
IC16Real·1.0Initial Condition for variable 16Used when NVR>15
IC17Real·1.0Initial Condition for variable 17Used when NVR>16
IC18Real·1.0Initial Condition for variable 18Used when NVR>17
IC19Real·1.0Initial Condition for variable 19Used when NVR>18
IC2Real·1.0Initial Condition for variable 2Used when NVR>1
IC20Real·1.0Initial Condition for variable 20Used when NVR>19
IC3Real·1.0Initial Condition for variable 3Used when NVR>2
IC4Real·1.0Initial Condition for variable 4Used when NVR>3
IC5Real·1.0Initial Condition for variable 5Used when NVR>4
IC6Real·1.0Initial Condition for variable 6Used when NVR>5
IC7Real·1.0Initial Condition for variable 7Used when NVR>6
IC8Real·1.0Initial Condition for variable 8Used when NVR>7
IC9Real·1.0Initial Condition for variable 9Used when NVR>8
ISPReal·0.5Initial Step SizeAt least 0
SRFReal·2.0Step Reduction FactorAt least 0Used when OM==3

Golden Section

ParameterUnitDefaultDescription
ISLReal·0.01Initial Step LengthAt least 0Used when SM==1
LHPReal·0.0Left Hand PointUsed when SM==0
RHPReal·1.0Right Hand PointUsed when SM==0
SEFReal·2.0Step Elongation FactorAt least 0Used when SM==1
SIBReal·1.0Search Interval BoundaryUsed when SM==1
SMChoice·INTERVAL_SEARCHSearch MethodSelect Interval seach or Auto searchWritten as INTERVAL_SEARCH (Interval Search), AUTO_SEARCH (Auto Search)
SPReal·0.0Starting PointUsed when SM==1

Genetic Algorithm - Real Specifications

ParameterUnitDefaultDescription
LL01Real·0.0Lower Limits of Variable 1
LL02Real·0.0Lower Limits of Variable 2Used when NVR>1
LL03Real·0.0Lower Limits of Variable 3Used when NVR>2
LL04Real·0.0Lower Limits of Variable 4Used when NVR>3
LL05Real·0.0Lower Limits of Variable 5Used when NVR>4
LL06Real·0.0Lower Limits of Variable 6Used when NVR>5
LL07Real·0.0Lower Limits of Variable 7Used when NVR>6
LL08Real·0.0Lower Limits of Variable 8Used when NVR>7
LL09Real·0.0Lower Limits of Variable 9Used when NVR>8
LL10Real·0.0Lower Limits of Variable 10Used when NVR>9
UL01Real·1.0Upper Limits of Variable 1
UL02Real·1.0Upper Limits of Variable 2Used when NVR>1
UL03Real·1.0Upper Limits of Variable 3Used when NVR>2
UL04Real·1.0Upper Limits of Variable 4Used when NVR>3
UL05Real·1.0Upper Limits of Variable 5Used when NVR>4
UL06Real·1.0Upper Limits of Variable 6Used when NVR>5
UL07Real·1.0Upper Limits of Variable 7Used when NVR>6
UL08Real·1.0Upper Limits of Variable 8Used when NVR>7
UL09Real·1.0Upper Limits of Variable 9Used when NVR>8
UL10Real·1.0Upper Limits of Variable 10Used when NVR>9

Related

← master:fileread File Read · master:angle_resolver Angle Resolver →