Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill blue devices parameters from SPICE model #786

Open
ra3xdh opened this issue Jun 24, 2024 · 2 comments
Open

Fill blue devices parameters from SPICE model #786

ra3xdh opened this issue Jun 24, 2024 · 2 comments

Comments

@ra3xdh
Copy link
Owner

ra3xdh commented Jun 24, 2024

This is follow-up for #679. It would be good to add a possibility to convert the SPICE model to unified nonlinear device parameters from the GUI. I propose to add a special button like Fill from SPICE model in the component dialog. The user can press this button and insert the SPICE modelcard .MODEL code. The device properties will be filled automatically. This button should be available for the following devices: Diode, BJT, MOSFET, JFET

@tomhajjar
Copy link

tomhajjar commented Jun 27, 2024

How would you handle parameters not used by ngspice or extra info used by LTspice like "mfg=xxx"? Would you strip them or pass them through? ngspice doesn't like mfg=xxx

Simplified Mosfet "Thermal" models, Rthjc=0.4 Cthj=5e-3?

Another issue is units used. Would you use 1e-9 or 1n as is? Leading 0? 0.01 versus .01

@ra3xdh
Copy link
Owner Author

ra3xdh commented Jun 28, 2024

How would you handle parameters not used by ngspice or extra info used by LTspice like "mfg=xxx"?

The only option is to ignore such model parameters. Qucsconv also ignores them.

Another issue is units used. Would you use 1e-9 or 1n as is? Leading 0? 0.01 versus .01

It is possible to apply the units conversion. Qucs-S parser accepts both notation. It should be possible to implement a checkbox like Convert number notaiton in the model import dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants