This internal function calculates the capacitance and the charge dependent on the transittime.
function junctionCapTransTime extends Modelica.Icons.Function; input Types.Capacitance capin "Input capacitance"; input SI.Voltage voltage "Input voltage"; input SI.Voltage depcap; input Real mj; input Real phij; input SI.Voltage f1; input Real f2; input Real f3; input SI.Time transittime; input SI.Conductance conduct "Input conductance"; input SI.Current current "Input current"; output Types.Capacitance capout "Output capacitance"; output SI.Charge charge "Output charge"; end junctionCapTransTime;