diff options
author | brenda-br | 2023-03-02 15:49:11 +0530 |
---|---|---|
committer | brenda-br | 2023-03-02 15:49:11 +0530 |
commit | 7af3526e105cc330422f8742ec5edec1c4a0a98f (patch) | |
tree | c00e283eaa3f67c64f66c828f518bb74abe55752 /OMChem/EngStm.py | |
parent | 78624489cbff516cc4d15b0df738c6c2fe4f8a8d (diff) | |
download | Chemical-Simulator-GUI-7af3526e105cc330422f8742ec5edec1c4a0a98f.tar.gz Chemical-Simulator-GUI-7af3526e105cc330422f8742ec5edec1c4a0a98f.tar.bz2 Chemical-Simulator-GUI-7af3526e105cc330422f8742ec5edec1c4a0a98f.zip |
Restructuring Finalized for App Bundling
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 |