diff options
Diffstat (limited to 'helper.py')
-rw-r--r-- | helper.py | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -18,7 +18,7 @@ from component_selector import * class HeaterClass(): - counter = 1; + counter = 1 def __init__(self,name='Heater',pressDrop = None, eff = None): self.OM_data_eqn = '' @@ -37,6 +37,13 @@ class HeaterClass(): self.y = 2500-30 self.addedcomp = None self.extra = None + self.Prop = { + 'pressDrop':None, + 'eff':None, + 'outT':None, + 'tempInc':None, + 'heatAdd':None, + } HeaterClass.counter+=1 def modesList(self): @@ -82,7 +89,7 @@ class HeaterClass(): class CoolerClass(): - counter = 1; + counter = 1 def __init__(self,name='Cooler',pressDrop = None, eff = None): self.OM_data_eqn = '' @@ -101,6 +108,13 @@ class CoolerClass(): self.y = 2500-30 self.addedcomp = None self.extra = None + self.Prop = { + 'pressDrop':None, + 'eff':None, + 'outT':None, + 'tempDrop':None, + 'heatRem':None, + } HeaterClass.counter+=1 def modesList(self): @@ -148,7 +162,7 @@ class CoolerClass(): class AdiaCompClass(): - counter = 1; + counter = 1 def __init__(self,name='AdiaComp', eff = None): self.OM_data_eqn = '' @@ -207,7 +221,7 @@ class AdiaCompClass(): return Inst class AdiaExpClass(): - counter = 1; + counter = 1 def __init__(self,name='AdiaExp', eff = None): self.OM_data_eqn = '' |