Nonlinear algebraic equation in one unknown: y = f_nonlinear(x,p,X)
partial function f_nonlinear extends Modelica.Icons.Function; input Real x "Independent variable of function"; input Real p = 0.0 "disregaded variables (here always used for pressure)"; input Real[:] X = fill(0, 0) "disregaded variables (her always used for composition)"; input f_nonlinear_Data f_nonlinear_data "Additional data for the function"; output Real y "= f_nonlinear(x)"; end f_nonlinear;