functionfunB
Spatial distribution of flux density
Extends from Modelica.Math.Nonlinear.Interfaces.partialScalarFunction (Interface for a function with one input and one output Real signal).
Information
This function defines a piecewise linear function on the interval [0, 2*π], α indicates the angle of pole coverage.
π/2 - α/2 < x < π/2 + α/2: y = +1
3*π/2 - α/2 < x < 3*π/2 + α/2: y = -1
In the remaining intervals the function is a linear transition between positive and negative roof (trapezoidal shape).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | u (from partialScalarFunction) | Independent variable | |
| SI.Angle | alpha | Pole coverage |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y (from partialScalarFunction) | Dependent variable y=f(u) |