Trapezoidal voltage source
Library
Electrical/Analog/Sources
Description
This is a trapezoid voltage source. The voltage drop from pin p (left) to pin n (right) is equivalent to a trapezoid signal (see Blocks/Sources/Trapezoid) with amplitude = V .
Parameters

- V [V] : Amplitude of trapezoid (V): Scalar.
- rising [s] : Rising duration of trapezoid (>=0) (rising): Scalar.
- width [s] : Width duration of trapezoid (>=0) (width): Scalar.
- falling [s] : Falling duration of trapezoid (>=0) (falling): Scalar.
- period [s] : Time for one period (>0) (period): Scalar.
- nperiod [-] : Number of periods (< 0 means infinite number of periods) (nperiod): Scalar.
- offset [V] : Voltage offset (offset): Scalar.
- startTime [s] : Time offset (startTime): Scalar.
Ports
- Port 1 at left position: implicit input fixedport numbered 1.
- Port 1 at right position: implicit output fixedport numbered 1.