Hello all

I have a query. I want to write my model equations and want to include them in NGSPICE like we have already inbuilt BSIM models. What i have been able to find out that there are code models to define new models. But what I can understand from that in code models we can only define functionality and can't write model equations.

Is it possible anyway to write our equations and include them in NGSPCE circuit simulations.