diff options
Diffstat (limited to 'OMChem/EngStm.py')
-rw-r--r-- | OMChem/EngStm.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/OMChem/EngStm.py b/OMChem/EngStm.py new file mode 100644 index 0000000..c02a5d5 --- /dev/null +++ b/OMChem/EngStm.py @@ -0,0 +1,18 @@ + +class EngStm(): + + def __init__(self,name = 'Engstm'): + self.name = name + self.type = 'EngStm' + self.OM_data_init = '' + self.OM_data_eqn = '' + + + def OM_Flowsheet_Init(self,addedcomp): + self.OM_data_init = '' + self.OM_data_init = self.OM_data_init + 'Simulator.Streams.Energy_Stream '+self.name+';\n' + return self.OM_data_init + + def OM_Flowsheet_Eqn(self,addedcomp): + self.OM_data_eqn='' + return self.OM_data_eqn |