*SetSolverVariable() - for command sets
Creates a set solver variable.
Syntax
*SetSolverVariable(varname, value)
Arguments
- varname
- The variable name of the set solver variable.
- value
- The descriptive label of the set solver variable.
Example
In Define System Block
*SolverVariable(var1, "Variable 1")
In Define Analysis Block
*SolverVariable(var2_a, "Variable 2", `DX(i,i,j)^2 + DY(i.j.j)^2`)
In Define Command Set Block
*SetSolverVariable(var1_e, 67)
*SetSolverVariable(var2_e, 77)
In SetSystem Block
*SetSolverVariable(var1, 11, 7.7)
Context
*DefineAnalysis()
*DefineCommandSet()
Comments
This is similar to the *SolverVariable() statement for the model except that it sets the value of the solver variable within the solver command file.