blockComplexRampPhasor
Generate a phasor with ramped magnitude and constant angle
Extends from Modelica.ComplexBlocks.Interfaces.ComplexSO (Single Output continuous control block).
Information
The output y is a complex phasor with constant angle and a ramped magnitude.
In case of useLogRamp == false the magnitude ramp is linear:
In case of useLogRamp == true the magnitude ramp appears linear on a logarithmic scale:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | magnitude1 | Magnitude of complex phasor at startTime | |
| Real | magnitude2 | Magnitude of complex phasor at startTime+duration | |
| Boolean | useLogRamp | false | Ramp appears linear on a logarithmic scale, if true |
| Modelica.Units.SI.Angle | phi | Angle of complex phasor | |
| Modelica.Units.SI.Time | startTime | 0 | Start time of frequency sweep |
| Modelica.Units.SI.Time | duration | Duration of ramp (= 0.0 gives a Step) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ComplexOutput | y (from ComplexSO) | Connector of Complex output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | magnitude | Actual magnitude of complex phasor |