functiondrainCur

Drain current calculation

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function drainCur calculates the main currents that flows from drain node to source node (level 1).

Inputs

TypeNameDefaultDescription
SI.Voltagevb
SI.Voltagevg
SI.Voltagevds
Mos1Calcin_cInput record Mos1Calc
Mos1ModelLineParamsin_pInput record model line parameters for MOS1
SpiceConstantsin_CSpice constants
Mos.MosModelLineVariablesin_vpInput record model line variables
Integerin_m_typeType of Mos transistor

Outputs

TypeNameDefaultDescription
Mos1Calcout_cOutput record Mos1Calc