Trapezoid Voltage
Trapezoidal voltage source
Description
Equations
Variables
Connections
Parameters
Modelica Standard Library
The Trapezoid Voltage source generates a periodic trapezoidal waveform.
i=ip=−in
v=vp−vn=V0+Vh⁢{0t′<0t′Tr0≤t′<Tr1Tr≤t′<Tr+TwTr+Tw+Tf−t′TfTr+Tw≤t′<Tr+Tw+Tf0otherwise
t′=t−T0−k⁢T,k=0,1,…,n−1
Name
Units
Modelica ID
v
V
Voltage drop between the two pins
vx
Voltage at pin x, x∈n,p
x.v
i
A
Current flowing from pin p to pin n
ix
Current into pin x, x∈n,p
x.i
p
Positive pin
n
Negative pin
Default
nperiod
−1
Number of periods; negative means infinite number of periods)
T0
0
s
Time offset
startTime
Tr
Rising duration of trapezoid
rising
Tw
0.5
Width duration of trapezoid
width
Tf
Falling duration of trapezoid
falling
T
1
Time for one period
period
Vh
Amplitude of trapezoid
V0
Voltage offset
offset
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
See Also
Analog Components
Electrical Library
Voltage Sources
Download Help Document