modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
481 stars 169 forks source link

Spice3: documentation for MOSFET seems wrong #2795

Open JoeRiel opened 5 years ago

JoeRiel commented 5 years ago

The html string for Modelica.Electrical.Spice3.Semiconductors.ModelcardMOS2 states that the record is for a level 1: Shichman-Hodges model. Should that be level 2?

beutlich commented 5 years ago

I tried to figure out, but found more questions than answers the last hour. Seems hard to tell, if it is by design, a copy+paste error, why LEVEL is set fixed to 1 in ModelcardMOS2, why mos2RenameParametersDev requires LEVEL=1, why m_nLevel is obsolete etc. Then I gave up.