Beispiel #1
0
    def create_comps(self):

        self.num_i = 2
        self.num_o = 2
        self.inlet = cmp.subsys_interface(label=self.label + '_inlet',
                                          num_inter=self.num_i)
        self.outlet = cmp.subsys_interface(label=self.label + '_outlet',
                                           num_inter=self.num_o)
        self.desup = cmp.desuperheater(label=self.label + '_desup')
        self.condenser = cmp.condenser(label=self.label + '_condenser')
        self.valve = cmp.valve(label=self.label + '_valve', mode='man')
Beispiel #2
0
    def create_comps(self):

        self.num_i = 2
        self.num_o = 2
        self.inlet = cmp.subsys_interface(label=self.label + '_inlet',
                                          num_inter=self.num_i)
        self.outlet = cmp.subsys_interface(label=self.label + '_outlet',
                                           num_inter=self.num_o)
        self.desup = cmp.desuperheater(label=self.label + '_desup')
        self.condenser = cmp.condenser(label=self.label + '_condenser')
        self.subcooler = cmp.heat_exchanger(label=self.label + '_subcooler')
        self.vessel = cmp.vessel(label=self.label + '_vessel', mode='man')