Trapezoid Current - MapleSim Help

# Online Help

###### All Products    Maple    MapleSim

Trapezoid Current

Trapezoidal current source

 Description The Trapezoid Current source generates a periodic trapezoidal waveform.
 Equations $i={i}_{p}=-{i}_{n}={I}_{0}+{I}_{h}\left\{\begin{array}{cc}0& t\prime <0\\ \frac{t\prime }{{T}_{r}}& 0\le t\prime <{T}_{r}\\ 1& {T}_{r}\le t\prime <{T}_{r}+{T}_{w}\\ \frac{{T}_{r}+{T}_{w}+{T}_{f}-t\prime }{{T}_{f}}& {T}_{r}+{T}_{w}\le t\prime <{T}_{r}+{T}_{w}+{T}_{f}\\ 0& \mathrm{otherwise}\end{array}$ $t\prime =t-{T}_{0}-kT,\phantom{\rule[-0.0ex]{1.0ex}{0.0ex}}k=\left\{0,1,\dots ,n-1\right\}$ $v={v}_{p}-{v}_{n}$

Variables

 Name Units Description Modelica ID $v$ $V$ Voltage drop between the two pins v ${v}_{x}$ $V$ Voltage at pin $x$, $x\in \left\{n,p\right\}$ x.v $i$ $A$ Current flowing from pin $p$ to pin $n$ i ${i}_{x}$ $A$ Current into pin $x$, $x\in \left\{n,p\right\}$ x.i

Connections

 Name Description Modelica ID $p$ Positive pin p $n$ Negative pin n

Parameters

 Name Default Units Description Modelica ID ${n}_{\mathrm{period}}$ $-1$ Number of periods; negative means infinite number of periods) nperiod ${T}_{0}$ $0$ $s$ Time offset startTime ${T}_{r}$ $0$ $s$ Rising duration of trapezoid rising ${T}_{w}$ $0.5$ $s$ Width duration of trapezoid width ${T}_{f}$ $0$ $s$ Falling duration of trapezoid falling $T$ $1$ $s$ Time for one period period ${I}_{h}$ $1$ $A$ Amplitude of trapezoid I ${I}_{0}$ $0$ $A$ Current offset offset

 Modelica Standard Library 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