diff options
Diffstat (limited to 'helper.py')
-rw-r--r-- | helper.py | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/helper.py b/helper.py deleted file mode 100644 index e6ecd0c..0000000 --- a/helper.py +++ /dev/null @@ -1,45 +0,0 @@ -from OMChem.Flowsheet import Flowsheet -from OMChem.MatStm import MatStm -from OMChem.Mixer import Mixer -from OMChem.EngStm import EngStm -from OMChem.Heater import Heater -from OMChem.Flash import Flash -from OMChem.Splitter import Splitter -from OMChem.Valve import Valve -from OMChem.Cooler import Cooler -from OMChem.CompSep import CompSep -from OMChem.adiabatic_comp import AdiaComp -from OMChem.DistCol import DistCol -from OMChem.adiabatic_exp import AdiaExp -from OMChem.Pump import Pump -from OMChem.ShortcutColumn import ShortcutColumn -from component_selector import * - - -def helperFunc(type,name1,count): - if(type=="Mixer"): - return Mixer(name=name1) - elif(type=="MatStm"): - return MatStm(name=(name1,count),CompNames=compound_selected) - elif(type=="Splitter"): - return Splitter(name=name1) - elif(type=="Flash"): - return Flash(name=(name1,count)) - elif(type=="Heater"): - return Heater(name=name1) - elif(type=="Valve"): - return Valve(name=name1) - elif(type=="Cooler"): - return Cooler(name=name1) - elif(type=="CompSep"): - return CompSep(name=name1) - elif(type=="AdiaComp"): - return AdiaComp(name=(name1,count)) - elif(type=="AdiaExp"): - return AdiaExp(name=(name1,count)) - elif(type=="DistCol"): - return DistCol(name=(name1,count)) - elif(type=="Pump"): - return Pump(name=name1) - elif(type=="ShortCol"): - return ShortcutColumn(name=(name1,count)) |