Example #1
0
    def test_markup(self):
        tcost = _landbos.transportationCost(self.TCC, self.rating, self.nTurbines,
            self.hubHeight)

        values = _landbos.markupMultiplierAndCost(tcost)

        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)

        self.assertAlmostEqual(11151202, cost, delta=0.5)
Example #2
0
 def execute(self):
     self.cost = _landbos.transportationCost(self.TCC, self.rating,
         self.nTurbines, self.hubHeight, self.transportDist)
Example #3
0
 def execute(self):
     self.cost = _landbos.transportationCost(self.TCC, self.rating,
                                             self.nTurbines, self.hubHeight,
                                             self.transportDist)
Example #4
0
 def test_transportation2(self):
     cost = _landbos.transportationCost(self.TCC, self.rating, self.nTurbines,
         self.hubHeight, transportDist=10.0)
     self.assertAlmostEqual(200993446, cost, delta=0.5)
Example #5
0
 def test_transportation(self):
     cost = _landbos.transportationCost(self.TCC, self.rating, self.nTurbines,
         self.hubHeight)
     self.assertEqual(200000000, cost)