drainCur

Drain current calculation

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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

Syntax

out_c = drainCur(vb, vg, vds, in_c, in_p, in_C, in_vp, in_m_type)

Inputs (8)

vb

Type: Voltage (V)

vg

Type: Voltage (V)

vds

Type: Voltage (V)

in_c

Type: Mos1Calc

Description: Input record Mos1Calc

in_p

Type: Mos1ModelLineParams

Description: Input record model line parameters for MOS1

in_C

Type: SpiceConstants

Description: Spice constants

in_vp

Type: MosModelLineVariables

Description: Input record model line variables

in_m_type

Type: Integer

Description: Type of Mos transistor

Outputs (1)

out_c

Type: Mos1Calc

Description: Output record Mos1Calc