 Cosine Current - MapleSim Help

Cosine Current

Cosine current source  Description The Cosine Current source generates a sinusoidal current. Equations $i={i}_{p}=-{i}_{n}={I}_{0}+{I}_{h}\left\{\begin{array}{cc}0& t<{T}_{0}\\ \mathrm{cos}\left(2\pi f\left(t-{T}_{0}\right)+\mathrm{\phi }\right)& \mathrm{otherwise}\end{array}$ $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 $\mathrm{\phi }$ $0$ $\mathrm{rad}$ Phase of cosine wave phase $f$ $1$ $\mathrm{Hz}$ Frequency of cosine wave freqHz ${T}_{0}$ $0$ $s$ Time offset (start time) startTime ${I}_{h}$ $1$ $V$ Amplitude of cosine wave I ${I}_{0}$ $0$ $V$ 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.