V_pulse
Pulse voltage source
Description
Equations
Variables
Connections
Parameters
Modelica Standard Library
The V_pulse component models a periodic pulse source with unlimited number of periods. A single pulse is described by the following table:
time
value
0
V1
TD
TD+TR
V2
TD+TR+PW
TD+TR+PW+TF
TSTOP
Intermediate points are determined by linear interpolation. A pulse it looks like a saw tooth, use this parameters e.g.:
Parameter
Value
1
TR
TF
PW
2
PER
Note:
All parameters of sources should be set explicitly.
Since TSTEP and TSTOP are not available for modeling in Modelica, differences to SPICE may occur if not all parameters are set.
i=ip=−in
v=vp−vn=V1+{0t<TD∨counter2=0∨T0+Tfalling≤tt−T0⁢V2−V1Trisingt<T0+TrisingV2−V1t<T0+TwidthT0+Tfalling−t⁢V2−V1Tfalling−Twidthotherwise
Name
Units
Modelica ID
v
V
Voltage drop between the two pins vp−vn
i
A
Current flowing from pin p to pin n
p
Positive pin
n
Negative pin
Default
Initial value
Pulsed value
s
Delay time
Rise time
Fall time
Modelica⋅Constants⋅inf
Pulse width
Period
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
Spice3 Overview
Spice3 Voltage Sources
Download Help Document