How can I add custom mosfet models? #171
Answered
by
marcin-golebiowski
svenboulanger
asked this question in
Q&A
|
Hi! Is it possible to add my own Yours sincerely, |
Answered by
marcin-golebiowski
Dec 15, 2025
Replies: 1 comment 4 replies
|
Take a look at CustomMosfetModelTest class and When_CustomMosfetModel_Used_NoExceptions test. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Parsing parameters of Mosfet model is supported by default. However you need to use Mosfet model that supports lmin, lmax, wmin and wmax parameters
https://github.com/SpiceSharp/SpiceSharp/blob/master/SpiceSharp/Components/Semiconductors/Mosfets/Level3/ModelParameters.cs
seems to not support it.