.Modelica.Electrical.Spice3.Internal.Mos1.drainCur

Information

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

Interface

function drainCur
  extends Modelica.Icons.Function;
  input SI.Voltage vb;
  input SI.Voltage vg;
  input SI.Voltage vds;
  input Mos1Calc in_c "Input record Mos1Calc";
  input Mos1ModelLineParams in_p "Input record model line parameters for MOS1";
  input SpiceConstants in_C "Spice constants";
  input Mos.MosModelLineVariables in_vp "Input record model line variables";
  input Integer in_m_type "Type of Mos transistor";
  output Mos1Calc out_c "Output record Mos1Calc";
end drainCur;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39