Trapezoid Current
Trapezoidal current source
Description
Equations
Variables
Connections
Parameters
Modelica Standard Library
The Trapezoid Current source generates a periodic trapezoidal waveform.
i=ip=−in=I0+Ih⁢{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
v=vp−vn
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
Ih
Amplitude of trapezoid
I
I0
Current 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
Current Sources
Electrical Library
Download Help Document