Example #1
0
    def test_insurance(self):
        fcost = _landbos.foundationCost(self.rating, self.diameter, self.towerTopMass,
            self.hubHeight, self.soil, self.nTurbines)

        performanceBond = False
        values = _landbos.insuranceMultiplierAndCost(self.TCC,
            self.farmSize, fcost, performanceBond)

        cost = values['cost'] + values['alpha']*_landbos.totalCost(self.rating,
            self.diameter, self.hubHeight, self.nTurbines, self.voltage,
            self.distToInterconnect, self.terrain, self.layout, self.soil,
            self.farmSize, self.TCC, self.towerTopMass, self.constructionTime,
            self.buildingSize, self.tempMetTowers, self.permanentMetTowers,
            self.weatherDelayDays, self.craneBreakdowns, self.accessRoadEntrances,
            performanceBond=performanceBond)

        self.assertAlmostEqual(2265350, cost, delta=0.5)
Example #2
0
 def execute(self):
     values = _landbos.insuranceMultiplierAndCost(self.TCC, self.farmSize,
     self.foundationCost, self.performanceBond)
     self.alpha = values['alpha']
     self.cost = values['cost']
Example #3
0
 def execute(self):
     values = _landbos.insuranceMultiplierAndCost(self.TCC, self.farmSize,
                                                  self.foundationCost,
                                                  self.performanceBond)
     self.alpha = values['alpha']
     self.cost = values['cost']