Пример #1
0
    def test_electricalMaterials2(self):

        padMountTransformer = False
        thermalBackfill = 20.0
        cost = _landbos.electricalMaterialsCost(self.terrain, self.layout,
        self.farmSize, self.diameter, self.nTurbines, padMountTransformer, thermalBackfill)
        self.assertAlmostEqual(10711185, cost, delta=0.5)
Пример #2
0
 def execute(self):
     self.cost = _landbos.electricalMaterialsCost(Enum2Int(self, 'terrain'),
                                                  Enum2Int(self, 'layout'),
                                                  self.farmSize,
                                                  self.diameter,
                                                  self.nTurbines,
                                                  self.padMountTransformer,
                                                  self.thermalBackfill)
Пример #3
0
 def execute(self):
     self.cost = _landbos.electricalMaterialsCost(
         Enum2Int(self, "terrain"),
         Enum2Int(self, "layout"),
         self.farmSize,
         self.diameter,
         self.nTurbines,
         self.padMountTransformer,
         self.thermalBackfill,
     )
Пример #4
0
    def test_electricalMaterials(self):

        cost = _landbos.electricalMaterialsCost(self.terrain, self.layout,
        self.farmSize, self.diameter, self.nTurbines)
        self.assertAlmostEqual(14675585, cost, delta=0.5)