Library of signal source blocks generating Complex signals

This icon indicates a package which contains sources.

Extends from `Modelica.Icons.SourcesPackage`

(Icon for packages containing sources).

Name | Description |
---|---|

`ComplexConstant` | Generate constant signal of type Complex |

`ComplexExpression` | Set output signal to a time varying Complex expression |

`ComplexRampPhasor` | Generate a phasor with ramped magnitude and constant angle |

`ComplexRotatingPhasor` | Generate a phasor with constant magnitude and constant angular velocity of type Complex |

`ComplexStep` | Generate step signal of type Complex |

`LogFrequencySweep` | Logarithmic frequency sweep |

Set output signal to a time varying Complex expression

The (time varying) Complex output signal of this block can be defined in its
parameter menu via variable **y**. The purpose is to support the
easy definition of Complex expressions in a block diagram.
Note, that "time" is a built-in variable that is always
accessible and represents the "model time" and that
Variable **y** is both a variable and a connector.

Type | Name | Description |
---|---|---|

`ComplexOutput` | `y` | Value of Complex output |

Generate constant signal of type Complex

The Complex output y is a constant signal:

Extends from `Modelica.ComplexBlocks.Interfaces.ComplexSO`

(Single Output continuous control block).

Type | Name | Default | Description |
---|---|---|---|

`Complex` | `k` | Constant output value |

Type | Name | Description |
---|---|---|

`ComplexOutput` | `y` | Connector of Complex output signal |

Generate step signal of type Complex

The Complex output y is a step signal (of real and imaginary part):

Extends from `Modelica.ComplexBlocks.Interfaces.ComplexSignalSource`

(Base class for continuous signal source).

Type | Name | Default | Description |
---|---|---|---|

`Complex` | `height` | `Complex(1)` | Height of step |

`Complex` | `offset` | `Complex(0)` | Offset of output signal y |

`Time` | `startTime` | `0` | Output y = offset for time < startTime |

Type | Name | Description |
---|---|---|

`ComplexOutput` | `y` | Connector of Complex output signal |

Generate a phasor with constant magnitude and constant angular velocity of type Complex

The output y is a complex phasor with constant magnitude, spinning with constant angular velocity.

Extends from `Modelica.ComplexBlocks.Interfaces.ComplexSO`

(Single Output continuous control block).

Type | Name | Default | Description |
---|---|---|---|

`Real` | `magnitude` | `1` | Magnitude of complex phasor |

`AngularVelocity` | `w` | `1` | Constant angular velocity of complex phasor |

`Angle` | `phi0` | `0` | Initial angle of complex phasor at time = 0 |

Type | Name | Description |
---|---|---|

`ComplexOutput` | `y` | Connector of Complex output signal |

Generate a phasor with ramped magnitude and constant angle

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:

Extends from `Modelica.ComplexBlocks.Interfaces.ComplexSO`

(Single Output continuous control block).

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 |

`Angle` | `phi` | Angle of complex phasor | |

`Time` | `startTime` | `0` | Start time of frequency sweep |

`Time` | `duration` | Duration of ramp (= 0.0 gives a Step) |

Type | Name | Description |
---|---|---|

`ComplexOutput` | `y` | Connector of Complex output signal |

Logarithmic frequency sweep

The output `y`

performs a logarithmic frequency sweep.
The logarithm of frequency `w`

performs a linear ramp from `log10(wMin)`

to `log10(wMax)`

.
The output is the decimal power of this logarithmic ramp.

For `time < startTime`

the output is equal to `wMin`

.

For `time > startTime+duration`

the output is equal to `wMax`

.

Extends from `Modelica.Blocks.Interfaces.SO`

(Single Output continuous control block).

Type | Name | Default | Description |
---|---|---|---|

`Real` | `wMin` | Start frequency | |

`Real` | `wMax` | End frequency | |

`Time` | `startTime` | `0` | Start time of frequency sweep |

`Time` | `duration` | Duration of ramp (= 0.0 gives a Step) |

Type | Name | Description |
---|---|---|

`RealOutput` | `y` | Connector of Real output signal |

Generated 2018-12-12 12:09:58 EST by *MapleSim*.