diff options
author | Fahim | 2016-03-02 15:34:16 +0530 |
---|---|---|
committer | Fahim | 2016-03-02 15:34:16 +0530 |
commit | 35415e97a4a39aa18aeeda9d89abe2f48ff9f146 (patch) | |
tree | 016773213500e14609f8afb248bd4f516def5fd0 /src/kicadtoNgspice/Processing.py | |
parent | 0b0949cb657b07341c9cb17a9bce5c7e1aee09f4 (diff) | |
download | eSim-35415e97a4a39aa18aeeda9d89abe2f48ff9f146.tar.gz eSim-35415e97a4a39aa18aeeda9d89abe2f48ff9f146.tar.bz2 eSim-35415e97a4a39aa18aeeda9d89abe2f48ff9f146.zip |
Added default value to Tranformer model
Diffstat (limited to 'src/kicadtoNgspice/Processing.py')
-rw-r--r-- | src/kicadtoNgspice/Processing.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/kicadtoNgspice/Processing.py b/src/kicadtoNgspice/Processing.py index a80084ce..09544f19 100644 --- a/src/kicadtoNgspice/Processing.py +++ b/src/kicadtoNgspice/Processing.py @@ -311,7 +311,6 @@ class PrcocessNetlist: modelList.append([index,compline,modelname,compName,comment,title,type,paramDict]) elif compType in plotList: - print "Plot Data---------->" schematicInfo.insert(index,"* "+compline) if compType == 'plot_v1': words = compline.split() @@ -358,12 +357,14 @@ class PrcocessNetlist: comment = "* "+compline title = "Transformer details for model "+compName type = "NA" #It is model but do not load from xml and lib file - paramDict['primary_turns'] = "Enter the primary number of turns " paramDict['h1_array'] = "Enter the H1 array " + paramDict['primary_turns'] = "Enter the primary number of turns (default=310) " + paramDict['area'] = "Enter iron core area (default=1)" + paramDict['secondar_turns'] = "Enter the secondary number of turns (default=620)" + paramDict['length'] = "Enter iron core length (default=0.01)" paramDict['b1_array'] = "Enter the B1 array " - paramDict['area'] = "Enter iron core area " - paramDict['length'] = "Enter iron core length" - paramDict['secondar_turns'] = "Enter the secondary number of turns" + + modelList.append([index,compline,modelname,compName,comment,title,type,paramDict]) else: |