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.eva = cmp.heat_exchanger(label=self.label + '_eva') self.sup = cmp.heat_exchanger(label=self.label + '_sup')
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.drum = cmp.drum(label=self.label + '_drum') self.evaporator = cmp.heat_exchanger(label=self.label + '_evaporator')
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.valve = cmp.valve(label=self.label + '_valve', mode='man')