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:

ComplexRampPhasorLinear.png

In case of useLogRamp == true the magnitude ramp appears linear on a logarithmic scale:

ComplexRampPhasorLog.png

Parameters

TypeNameDefaultDescription
Realmagnitude1Magnitude of complex phasor at startTime
Realmagnitude2Magnitude of complex phasor at startTime+duration
BooleanuseLogRampfalseRamp appears linear on a logarithmic scale, if true
Modelica.Units.SI.AnglephiAngle of complex phasor
Modelica.Units.SI.TimestartTime0Start time of frequency sweep
Modelica.Units.SI.TimedurationDuration of ramp (= 0.0 gives a Step)

Connectors

TypeNameDefaultDescription
ComplexOutputy (from ComplexSO)Connector of Complex output signal

Components

TypeNameDefaultDescription
RealmagnitudeActual magnitude of complex phasor