diff options
author | Fahim | 2015-10-27 11:17:38 +0530 |
---|---|---|
committer | Fahim | 2015-10-27 11:17:38 +0530 |
commit | 68d86baddc4c6680e96acf93e479d63137e78764 (patch) | |
tree | a20b14b64e6ac254e408e5e022c8ef53d34ab6bf /src/ngspicetoModelica/NgspicetoModelica.py | |
parent | e383c8b9dd13465dc8b7cad2586e1db829845ff8 (diff) | |
download | eSim-68d86baddc4c6680e96acf93e479d63137e78764.tar.gz eSim-68d86baddc4c6680e96acf93e479d63137e78764.tar.bz2 eSim-68d86baddc4c6680e96acf93e479d63137e78764.zip |
Subject: Added Zener Diode Library and Modified normal Diode
Description: Added Zener Diode Library and Modified normal Diode
Diffstat (limited to 'src/ngspicetoModelica/NgspicetoModelica.py')
-rw-r--r-- | src/ngspicetoModelica/NgspicetoModelica.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 3b1752d3..95f991bd 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -166,9 +166,12 @@ class NgMoConverter: """ Split the number k,u,p,t,g etc into powers e3,e-6 etc """ + print "Val------------->",val for i in range(0,len(val),1): + print "Val[i]----------------->",val[i] if val[i] in ['k','u','p','t','g','m','n','f']: newval = val.split(val[i]) + print "new Value------------>",newval if val[i] == 'k': value = newval[0] + 'e3' if val[i] == 'u': |