Skip to content

Commit

Permalink
Utilize constant
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Aug 18, 2024
1 parent c58f0c3 commit 670d154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modelica/Electrical/Spice3.mo
Original file line number Diff line number Diff line change
Expand Up @@ -7581,7 +7581,7 @@ This record MosCalc contains further MOSFET variables (for level 1, 2, 3 and 6).
end if;
wkfngs := wkfng - (3.25 +0.5 * egfet1 + fermis);
if (not (in_p.m_gammaIsGiven > 0.5)) then
out_v.m_gamma := sqrt(2 * 11.70 * 8.854214871e-12 * SpiceConstants.CHARGE *
out_v.m_gamma := sqrt(2 * SpiceConstants.EPSSIL * SpiceConstants.CHARGE *
in_p.m_substrateDoping * 1e6 / out_v.m_oxideCapFactor); // (cm**3/m**3)
end if;
if (not (in_p.m_vtOIsGiven > 0.5)) then
Expand Down

0 comments on commit 670d154

Please sign in to comment.