Buildings.Utilities.Psychrometrics.Functions.Internal

Solve f(x, data) for x with given f

Information


Function to compute the dew point temperature based on the partial water vapor concentration.

Extends from Buildings.Utilities.Math.BaseClasses.OneNonLinearEquation (Determine solution of a non-linear algebraic equation in one unknown without derivatives in a reliable and efficient way).

Package Content

NameDescription
Buildings.Utilities.Psychrometrics.Functions.Internal.f_nonlinear f_nonlinear  
Buildings.Utilities.Psychrometrics.Functions.Internal.solve solve  


Buildings.Utilities.Psychrometrics.Functions.Internal.f_nonlinear Buildings.Utilities.Psychrometrics.Functions.Internal.f_nonlinear

Information

Extends from (Nonlinear algebraic equation in one unknown: y = f_nonlinear(x,p,X)).

Inputs

TypeNameDefaultDescription
Realx Independent variable of function
Realf_nonlinear_data[:] Additional data for the function

Outputs

TypeNameDescription
Realy= f_nonlinear(x)

Modelica definition

redeclare function extends f_nonlinear
algorithm 
   y := pW_TDewPoi(x);
end f_nonlinear;

Buildings.Utilities.Psychrometrics.Functions.Internal.solve Buildings.Utilities.Psychrometrics.Functions.Internal.solve

Information

Extends from (Solve f_nonlinear(x_zero)=y_zero; f_nonlinear(x_min) - y_zero and f_nonlinear(x_max)-y_zero must have different sign).

Inputs

TypeNameDefaultDescription
Realy_zero Determine x_zero, such that f_nonlinear(x_zero) = y_zero
Realx_min Minimum value of x
Realx_max Maximum value of x
Realf_nonlinear_data[:] Additional data for function f_nonlinear
Realx_tol100*Modelica.Constants.epsRelative tolerance of the result

Outputs

TypeNameDescription
Realx_zerof_nonlinear(x_zero) = y_zero

Modelica definition

redeclare function extends solve
end solve;

HTML-documentation generated by Dymola Thu Mar 17 10:17:21 2011.