Sine Current

Sine current source

 Description The Sine 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{sin}\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 sine wave phase $f$ $1$ $\mathrm{Hz}$ Frequency of sine wave freqHz ${T}_{0}$ $0$ $s$ Time offset (start time) startTime ${I}_{h}$ $1$ $A$ Amplitude of sine wave 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.