Package with utility functions
This package contains utility classes that are used by the package Buildings.Fluid.
Extends from Modelica.Icons.Package (Icon for standard packages).
| Name | Description |
|---|---|
| Polynomial that is linearly extended at user specified values | |
| Polynomial, used because OpenModelica 1.4.3 does not expand the sum() into a scalar | |
| Collection of models that illustrate model use and test models | |
| Package with base classes for Buildings.Fluid.Utilities |
Buildings.Fluid.Utilities.extendedPolynomialPolynomial that is linearly extended at user specified values
y = ∑i=1n ci xi-1
where n > 1 and xmin, xmax are parameters. For x < xmin and x > xmax, the polynomial is replaced by a linear function in such a way that the first derivative is continuous everywhere.Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | x value | |
| Real | c[:] | Polynomial coefficients | |
| Real | xMin | Minimum x value for polynomial | |
| Real | xMax | Maximum x value for polynomial |
| Type | Name | Description |
|---|---|---|
| Real | y | y value |
Buildings.Fluid.Utilities.polynomialPolynomial, used because OpenModelica 1.4.3 does not expand the sum() into a scalar
Function that computes
y = ∑i=1n ci xi-1
Extends from Modelica.Icons.Function (Icon for functions).
| Type | Name | Default | Description |
|---|---|---|---|
| Real | c[:] | Coefficients | |
| Real | x | Independent variable |
| Type | Name | Description |
|---|---|---|
| Real | y | Dependent variable |