Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

maeSetRunOption

maeSetRunOption(
t_mode
t_runOptionName
t_runOptionValue
[ ?session t_sessionName ] 
)
=> t / nil

Description

Sets value for a run option.

Arguments

t_mode

Name of the run mode.

Valid values are: "Sampling", "Global Optimization", "Local Optimization", "Monte Carlo Sampling"

t_runOptionName

Name of the run option. The run option should be relevant for the run mode specified in the t_mode argument.

Possible value when t_mode is set to "Sampling":

  • points: Number of sampling points

Possible values when t_mode is set to "Global Optimization":

  • tillsatisfied: Optimization stops when all goals are met
  • timelimit: Optimization stops when the program reaches the time limit (in minutes)
  • numpoints: Optimization stops when the program reaches the number of points
  • ptswithnoimprovement: Optimization stops when there is no improvement for the number of points

Possible values when t_mode is set to "Local Optimization":

  • effort: Optimization effort
  • tillsatisfied: Optimization stops when all goals are met
  • timelimit: Optimization stops when the program reaches the time limit (in minutes)
  • numpoints: Optimization stops when the program reaches the number of points
  • ptswithnoimprovement: Optimization stops when there is no improvement for the number of points.

Possible values when t_mode is set to "Monte Carlo Sampling":

  • mcmethod: Monte Carlo Sampling method
  • mcnumpoints: Number of Monte Carlo sampling points
Typically, this number should be at least the number of statistical variables.

t_runOptionValue

Value of the run option.

?session t_sessionName

Name of the session.

If not specified, the currently active session is used.

Value Returned

t

Value for the run option was set.

nil

The command could not be run.

Examples

Sets a value for sampling mode mode

maeOpenSetup("solutions" "amptest" "maestro" ?mode "a")
=> "session1"
maeSetRunOption("Sampling" "points" "10")
=> t
maeRunSimulation()
=> "Interactive.1"

Return to top
 ⠀
X