TrapezoidVoltage

Trapezoidal voltage source

    TrapezoidVoltage

Library

Electrical/Analog/Sources

Description

This voltage source uses the corresponding signal source of the Modelica.Blocks.Sources package. Care for the meaning of the parameters in the Blocks package. Furthermore, an offset parameter is introduced, which is added to the value calculated by the blocks source. The startTime parameter allows to shift the blocks source behavior on the time axis.

Parameters

TrapezoidVoltage_0

NameLabelDescriptionData TypeValid Values

mo_V

V

Amplitude of trapezoid

Scalar

mo_rising

rising

Rising duration of trapezoid

Scalar

mo_width

width

Width duration of trapezoid

Scalar

mo_falling

falling

Falling duration of trapezoid

Scalar

mo_period

period

Time for one period

Scalar

mo_nperiod

nperiod

Number of periods (< 0 means infinite number of periods)

Scalar

mo_offset

offset

Voltage offset

Scalar

mo_startTime

startTime

Time offset

Scalar

TrapezoidVoltage_1

NameLabelDescriptionData TypeValid Values

mo_v

v

v

Structure

mo_v/fixed

fixed

Cell of scalars

true
false

mo_v/start

start

Cell of scalars

mo_i

i

i

Structure

mo_i/fixed

fixed

Cell of scalars

true
false

mo_i/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

p

implicit

Positive electrical pin

input

1

n

implicit

Negative electrical pin

output

1