summaryrefslogtreecommitdiff
path: root/OMChem/EngStm.py
blob: cf938adcab479ceda9bb8bb625347515be4039e8 (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