Ejemplo n.º 1
0
    def test_electricalInstallation2(self):

        rockTrenchingLength = 5.0
        overheadCollector = 5.0
        cost = _landbos.electricalInstallationCost(self.terrain, self.layout,
        self.farmSize, self.diameter, self.nTurbines, rockTrenchingLength, overheadCollector)
        self.assertAlmostEqual(8512430, cost, delta=0.5)
Ejemplo n.º 2
0
 def execute(self):
     self.cost = _landbos.electricalInstallationCost(
         Enum2Int(self, "terrain"),
         Enum2Int(self, "layout"),
         self.farmSize,
         self.diameter,
         self.nTurbines,
         self.rockTrenchingLength,
         self.overheadCollector,
     )
Ejemplo n.º 3
0
 def execute(self):
     self.cost = _landbos.electricalInstallationCost(
         Enum2Int(self, 'terrain'), Enum2Int(self, 'layout'), self.farmSize,
         self.diameter, self.nTurbines, self.rockTrenchingLength,
         self.overheadCollector)
Ejemplo n.º 4
0
    def test_electricalInstallation(self):

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