summaryrefslogtreecommitdiff
path: root/src/main/python/OMChem/Pump.py
diff options
context:
space:
mode:
authorbrenda-br2023-02-24 11:55:27 +0530
committerbrenda-br2023-02-24 11:55:27 +0530
commit2b94618c50110c38cd67564a5b58630aeeb2adc5 (patch)
tree180474d0ed0b1faba9066bb8b9d98432473d9157 /src/main/python/OMChem/Pump.py
parentd476d2e053f937c0060f696312f301591e4f43ea (diff)
downloadChemical-Simulator-GUI-2b94618c50110c38cd67564a5b58630aeeb2adc5.tar.gz
Chemical-Simulator-GUI-2b94618c50110c38cd67564a5b58630aeeb2adc5.tar.bz2
Chemical-Simulator-GUI-2b94618c50110c38cd67564a5b58630aeeb2adc5.zip
Fix #62 Remove Redundant Lines
Diffstat (limited to 'src/main/python/OMChem/Pump.py')
-rw-r--r--src/main/python/OMChem/Pump.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/python/OMChem/Pump.py b/src/main/python/OMChem/Pump.py
index 3b6ed2c..e9b9149 100644
--- a/src/main/python/OMChem/Pump.py
+++ b/src/main/python/OMChem/Pump.py
@@ -3,12 +3,9 @@ class Pump():
counter = 1
def __init__(self,name='Pump',eff = None):
self.eff = eff
- #self.name = name
self.OM_data_eqn = ''
self.OM_data_init = ''
self.InputStms = None
- #self.heatAdd=heatAdd
- #self.outT = outT
self.OutputStms = None
self.EngStms = EngStm(name='EngStm'+name)
self.type = 'Pump'
@@ -54,7 +51,6 @@ class Pump():
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')