functionsolve
Solve f_nonlinear(x_zero)=y_zero; f_nonlinear(x_min) - y_zero and f_nonlinear(x_max)-y_zero must have different sign
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y_zero | Determine x_zero, such that f_nonlinear(x_zero) = y_zero | |
| Real | x_min | Minimum value of x | |
| Real | x_max | Maximum value of x | |
| Real | pressure | 0.0 | disregaded variables (here always used for pressure) |
| Real | X | fill(0, 0) | disregaded variables (here always used for composition) |
| f_nonlinear_Data | f_nonlinear_data | Additional data for function f_nonlinear | |
| Real | x_tol | 100*Modelica.Constants.eps | Relative tolerance of the result |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x_zero | f_nonlinear(x_zero) = y_zero |