functionf_nonlinear
Define sine as non-linear equation to be solved
Extends from Modelica.Math.Nonlinear.Interfaces.partialScalarFunction (Interface for a function with one input and one output Real signal).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | u (from partialScalarFunction) | Independent variable | |
| Real | A | 1 | Amplitude of sine |
| Real | w | 1 | Angular frequency of sine |
| Real | s | 0 | Shift of sine |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y (from partialScalarFunction) | Dependent variable y=f(u) |