functionmos2CalcNoBypassCodeRevised

Calculation of currents and capacities (level 2)

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

Information

This function mos2CalcNoBypassCodeRevised calculates the currents (and the capacitances) that are necessary for the currents sum in the toplevelmodel (level 2).

Inputs

TypeNameDefaultDescription
Spice3.Internal.Mosfet.Mosfetin_mInput record MOSFET parameters
Integerin_m_typeType of MOS transistor
Spice3.Internal.Mos2.Mos2Calcin_cInput record Mos2Calc
Spice3.Internal.Mos2.Mos2ModelLineParamsin_pInput record model line parameters
Booleanin_m_bInit
SI.Voltagein_m_pVoltageValues

Outputs

TypeNameDefaultDescription
Modelica.Electrical.Spice3.Internal.Mos.CurrrentsCapacitancesout_ccCalculated currents and capacitances