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)
def execute(self): self.cost = _landbos.electricalMaterialsCost(Enum2Int(self, 'terrain'), Enum2Int(self, 'layout'), self.farmSize, self.diameter, self.nTurbines, self.padMountTransformer, self.thermalBackfill)
def execute(self): self.cost = _landbos.electricalMaterialsCost( Enum2Int(self, "terrain"), Enum2Int(self, "layout"), self.farmSize, self.diameter, self.nTurbines, self.padMountTransformer, self.thermalBackfill, )
def test_electricalMaterials(self): cost = _landbos.electricalMaterialsCost(self.terrain, self.layout, self.farmSize, self.diameter, self.nTurbines) self.assertAlmostEqual(14675585, cost, delta=0.5)