- Index
- » Programming
- » Modelica Language
- » Variable initiation (lowerBond,...
Page Start Prev 1 Next End
Variable initiation (lowerBond, UpperBound)
Variable initiation (lowerBond, UpperBound)
Nov-08-12 12:30:24
Is there any syntax to hold low and upper value of variable simulation. We have lower bound to initiate a variable with Variable(start=StartValue) but I would like to know if there is upper bound to be used in conjunction with the start value something like: Variable(start=StartValue, end=EndValue)?
Re: Variable initiation (lowerBond, UpperBound)
Nov-08-12 12:39:28
variable(min=minValue,max=maxValue,start=initialGuess)
- sjoelund.se
- 1700 Posts
Re: Variable initiation (lowerBond, UpperBound)
Nov-08-12 13:14:41
sjoelund.se wrote:
variable(min=minValue,max=maxValue,start=initialGuess)
Thank you sjoelund. I tied that but it didn't stop the variable from breaching the max value. I just wanted the simulation to be performed with in the range as noted above.
Page Start Prev 1 Next End
- Index
- » Programming
- » Modelica Language
- » Variable initiation (lowerBond,...
There are 0 guests and 0 other users also viewing this topic