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

TypeNameDefaultDescription
Realu (from partialScalarFunction)Independent variable
SI.AnglealphaPole coverage

Outputs

TypeNameDefaultDescription
Realy (from partialScalarFunction)Dependent variable y=f(u)