Comments (5)
See also:
http://newton.ex.ac.uk/teaching/CDHW/Electronics2/userguide/sec2.html#2.3
from ahkab.
Hi!
You are correct. The main issue is that the syntax is slightly different. Not much but enough to make it incompatible with a SPICE netlist, which is rather stupid. This is something I would like to address.
The syntax is:
.model diode model_id [IS= N= ISR= NR= RS= CJ0= M= VJ= FC= CP= TT= BV= IBV= KF= AF= FFE= TEMP= XTI= EG= TBV= TRS= TTT1= TTT2= TM1= TM2=]
so that the line above would be:
.model diode dx is=1e-13 kf=1e-30
The diode code has also been changed very recently and it didn't get much testing, if you find any other problem please report it! :)
edit: grammar
edit model_id was enclosed in '>' and hidden
from ahkab.
So the aforementioned SPICE3 site quoth thus:
.MODEL MNAME TYPE(PNAME1=PVAL1 PNAME2=PVAL2 ... )
Would a patch to modify netlist_parser to conform with the SPICE3 standard (with parens) be accepted?
from ahkab.
Yes!
On Tue, Aug 27, 2013 at 11:20 PM, Ian Daniher [email protected]:
So the aforementioned SPICE3 site quoth thus:
.MODEL MNAME TYPE(PNAME1=PVAL1 PNAME2=PVAL2 ... )
Would a patch to modify netlist_parser to conform with the SPICE3
standard (with parens) be accepted?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-23371838
.
from ahkab.
41ff065 seems to do the job.
from ahkab.
Related Issues (20)
- Issue with ankab HOT 5
- Tran example : 'op_solution' object has no attribute 'asmatrix' HOT 5
- voltage pulse source for a MOS inverter + questions HOT 4
- Zener Diode HOT 2
- Subcircuit call problem HOT 1
- RL circuit vs. LR circuit: different output HOT 5
- Plot circuit HOT 1
- Voltage-Controlled Switch Issue HOT 1
- Issue with a switch
- Compute on GPU using TensorFlow
- Verification RC cutoff frequency HOT 1
- error in AC and TRAN tutorial
- AttributeError: module 'pylab' has no attribute 'hold' HOT 3
- ImportError: No module named matplotlib.pyplot HOT 1
- Help : Finding current through a resistor
- Cant define diode HOT 1
- Help : Modeling a circuit with parallel components HOT 2
- Locale appears not set HOT 2
- How to use User definement device with non-linear property
- print_symbolic_results / print_symbolic_transfer_functions: sort key bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ahkab.