diff options
author | fahim-oscad | 2016-06-07 16:21:11 +0530 |
---|---|---|
committer | fahim-oscad | 2016-06-07 16:21:11 +0530 |
commit | 856bd47d3eb38b766bb6026c90edfbbca52928cc (patch) | |
tree | cc17cca4429afd1605dc50c8bd3982233d87fb21 /src | |
parent | dab6b1084d39e676305f89a59ab6685edec5e9ee (diff) | |
parent | dcba6eb93704e5684feb868ddfafed52a57d01e3 (diff) | |
download | eSim-856bd47d3eb38b766bb6026c90edfbbca52928cc.tar.gz eSim-856bd47d3eb38b766bb6026c90edfbbca52928cc.tar.bz2 eSim-856bd47d3eb38b766bb6026c90edfbbca52928cc.zip |
Merge branch 'release' into developv1.1.2
Diffstat (limited to 'src')
-rw-r--r-- | src/kicadtoNgspice/Convert.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kicadtoNgspice/Convert.py b/src/kicadtoNgspice/Convert.py index 0454e1a5..f02435d2 100644 --- a/src/kicadtoNgspice/Convert.py +++ b/src/kicadtoNgspice/Convert.py @@ -219,10 +219,10 @@ class Convert: else: bh_array = "H_array = [-1000 -500 -375 -250 -188 -125 -63 0 63 125 188 250 375 500 1000] B_array = [-3.13e-3 -2.63e-3 -2.33e-3 -1.93e-3 -1.5e-3 -6.25e-4 -2.5e-4 0 2.5e-4 6.25e-4 1.5e-3 1.93e-3 2.33e-3 2.63e-3 3.13e-3]" area=str(self.obj_track.model_entry_var[start+2].text()) - length=str(self.obj_track.model_entry_var[start+4].text()) + length=str(self.obj_track.model_entry_var[start+3].text()) if area=="": area="1" if length=="":length="0.01" - num_turns2=str(self.obj_track.model_entry_var[start+3].text()) + num_turns2=str(self.obj_track.model_entry_var[start+4].text()) if num_turns2=="": num_turns2="620" addmodelLine=".model "+line[3]+"_primary lcouple (num_turns= "+num_turns+")" modelParamValue.append([line[0],addmodelLine,"*primary lcouple"]) |