blob: c02a5d5743a76b062394b15b70e45ac1ad82d11a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|