summaryrefslogtreecommitdiff
path: root/OMChem/CompSep.py
diff options
context:
space:
mode:
authorSaurabhAgarwala2020-01-03 15:54:24 +0530
committerSaurabhAgarwala2020-01-03 15:54:24 +0530
commit8dfb7d836e438035be2284e49554dac36d0af7bf (patch)
tree0a14314f4a248fe5ad4627e2f6cd11068e689673 /OMChem/CompSep.py
parent4138fd762a45b15dc7dfea661a93a047a0eba4a0 (diff)
downloadChemical-Simulator-GUI-8dfb7d836e438035be2284e49554dac36d0af7bf.tar.gz
Chemical-Simulator-GUI-8dfb7d836e438035be2284e49554dac36d0af7bf.tar.bz2
Chemical-Simulator-GUI-8dfb7d836e438035be2284e49554dac36d0af7bf.zip
Made GUI compatible with the new Simulator, abbreviations updated to new convention and few bugs eliminated with code clean up at places
Diffstat (limited to 'OMChem/CompSep.py')
-rw-r--r--OMChem/CompSep.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/OMChem/CompSep.py b/OMChem/CompSep.py
index 5bdfd51..9579498 100644
--- a/OMChem/CompSep.py
+++ b/OMChem/CompSep.py
@@ -40,7 +40,7 @@ class CompSep():
comp_count = len(addedcomp)
self.OM_data_init = self.OM_data_init + 'Simulator.Streams.Energy_Stream '+self.EngStms.name+';\n'
self.OM_data_init = self.OM_data_init + (
- "Simulator.Unit_Operations.Compound_Separator " + self.name + "(NOC = " + str(comp_count))
+ "Simulator.Unit_Operations.Compound_Separator " + self.name + "(Nc = " + str(comp_count))
self.OM_data_init = self.OM_data_init + (",comp = {")
comp = str(addedcomp).strip('[').strip(']')
comp = comp.replace("'", "")