diff options
Diffstat (limited to 'UnitOperations.py')
-rw-r--r-- | UnitOperations.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/UnitOperations.py b/UnitOperations.py index da01df0..064b2da 100644 --- a/UnitOperations.py +++ b/UnitOperations.py @@ -447,7 +447,13 @@ class CompoundSeparator(UnitOperation): 'SepVal_c' : {'name':'Separation Value', 'value':['']*len(self.compounds), 'unit':''}, 'SepFact_c' : {'name':'Separaction Factor', 'value':['']*len(self.compounds), 'unit':''}, } - + + def init_variables(self): + self.variables = { + 'SepStrm' : {'name':'Separation Stream', 'value':1, 'unit':''}, + 'SepVal_c' : {'name':'Separation Value', 'value':['']*len(self.compounds), 'unit':''}, + 'SepFact_c' : {'name':'Separaction Factor', 'value':['']*len(self.compounds), 'unit':''}, + } def update_compounds(self): self.compounds = [c[:c.index('(')] for c in compound_selected] |