Beispiel #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)
 def execute(self):
     self.cost = _landbos.electricalInstallationCost(
         Enum2Int(self, "terrain"),
         Enum2Int(self, "layout"),
         self.farmSize,
         self.diameter,
         self.nTurbines,
         self.rockTrenchingLength,
         self.overheadCollector,
     )
Beispiel #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)
Beispiel #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)