Expression parameter
The parameter is described by a general mathematical expression depending on the names of the input parameters (either from the design space and environment or from the input of the transformation that the parameter belongs to.
name (str)
The name of the parameter.
Default: This value has no default and must be provided
expression (str)
String defining a mathematical expression of other parameters. The expression can contain numbers as either integers or floating-point reals in standard or exponential notation (
0.0012
or1.2E-3
) as well as the constantsE
(Euler constant) andPI
(\(\pi\)). Parameter names may not start with the capital letters “E
” nor “PI
”. Supported operations are+
,-
,*
,/
,^
, supported single-argument functions aresqrt
,sinh
,sin
,asinh
,asin
,cosh
,cos
,acosh
,acos
,tanh
,tan
,atanh
,atan
,exp
,log10
,log
,erfinv
,erf
,abs
,trunc
,round
,sign
, and supported multi-argument functions aremax
,min
.Default: This value has no default and must be provided
Example
Expression depending on
param1
andparam2
.'1.0 - param1/param2'
bounds (list[float])
The lower and upper bound of possible parameter values. This is required to define a domain of possible length scales for this parameter. Hence, only a rough estimate is often sufficient for complex expression.
Default: This value has no default and must be provided