示例#1
0
    def configure(self):

        super(bos_csm_assembly, self).configure()

        configure_extended_bos(self)

        self.replace('bos', bos_csm_component())

        self.connect('machine_rating', 'bos.machine_rating')
        self.connect('rotor_diameter', 'bos.rotor_diameter')
        self.connect('hub_height', 'bos.hub_height')
        self.connect('RNA_mass', 'bos.RNA_mass')
        self.connect('turbine_cost', 'bos.turbine_cost')
        self.connect('turbine_number', 'bos.turbine_number')
        self.connect('sea_depth', 'bos.sea_depth')
        self.connect('year', 'bos.year')
        self.connect('month', 'bos.month')
        self.connect('multiplier', 'bos.multiplier')
示例#2
0
    def configure(self):

        super(bos_csm_assembly, self).configure()

        configure_extended_bos(self)
        
        self.replace('bos',bos_csm_component())

        self.connect('machine_rating','bos.machine_rating')
        self.connect('rotor_diameter','bos.rotor_diameter')
        self.connect('hub_height','bos.hub_height')
        self.connect('RNA_mass','bos.RNA_mass')
        self.connect('turbine_cost','bos.turbine_cost')
        self.connect('turbine_number','bos.turbine_number')
        self.connect('sea_depth','bos.sea_depth')
        self.connect('year','bos.year')
        self.connect('month','bos.month')
        self.connect('multiplier','bos.multiplier')
    def configure(self):
        
        configure_extended_bos(self)

        self.replace('bos', ExtendedBOSCostAggregator_Example())
    def configure(self):

        configure_extended_bos(self)

        self.replace('bos', ExtendedBOSCostAggregator_Example())