summaryrefslogtreecommitdiff
path: root/helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'helper.py')
-rw-r--r--helper.py22
1 files changed, 18 insertions, 4 deletions
diff --git a/helper.py b/helper.py
index 5f83216..2af4cde 100644
--- a/helper.py
+++ b/helper.py
@@ -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 = ''