functionextendedPolynomial
Polynomial that is linearly extended at user specified values
Extends from Modelica.Icons.Function (Icon for functions).
Information
For x between the bounds xmin < x < xmax, this function defines a polynomialy = ∑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.Inputs
| 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 |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | y value |
Revisions
-
September 28, 2012 by Michael Wetter:
Fixed typo in the documentation. -
March 30, 2011 by Michael Wetter:
Added keywordzeroDerivative. -
March 23, 2011 by Michael Wetter:
Changed order of argument list to makexthe first argument. -
September 11, 2007 by Michael Wetter:
Fixed error in computing the polynomial outside ofxMinandxMax. -
July 19, 2007 by Michael Wetter:
First implementation.