diff options
Diffstat (limited to 'src/main/python/OMChem/adiabatic_exp.py')
-rw-r--r-- | src/main/python/OMChem/adiabatic_exp.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/python/OMChem/adiabatic_exp.py b/src/main/python/OMChem/adiabatic_exp.py index 2754f0a..48381fa 100644 --- a/src/main/python/OMChem/adiabatic_exp.py +++ b/src/main/python/OMChem/adiabatic_exp.py @@ -3,14 +3,12 @@ class AdiabaticExpander(): counter = 1 def __init__(self,name='AdiabaticExpander', eff = None): self.eff = eff - #self.name = name[0] self.name = name + str(AdiabaticExpander.counter) self.OM_data_eqn = '' self.OM_data_init = '' self.InputStms = None self.OutputStms = None self.EngStms = EngStm(name='EngStm'+self.name) - #self.count = name[1] self.count = AdiabaticExpander.counter self.type = 'AdiabaticExpander' self.thermoPackage ="RaoultsLaw" @@ -59,7 +57,6 @@ class AdiabaticExpander(): def OM_Flowsheet_Eqn(self, addedcomp): self.OM_data_eqn = '' - # self.OM_data_eqn = self.name + '.pressDrop = ' + str(self.PressDrop) + ';\n' self.OM_data_eqn = self.OM_data_eqn + ('connect(' + self.InputStms[0].name + '.outlet,' + self.name + '.inlet' + ');\n') self.OM_data_eqn = self.OM_data_eqn + ('connect(' + self.name + '.outlet,' + self.OutputStms[0].name + '.inlet);\n') self.OM_data_eqn = self.OM_data_eqn + ('connect(' + self.EngStms.name + '.outlet,' + self.name + '.energy);\n') |