示例#1
0
文件: landbos.py 项目: gtqite/ssc
 def execute(self):
     self.cost = _landbos.powerPerformanceCost(self.hubHeight,
         self.permanentMetTowers, self.tempMetTowers)
示例#2
0
 def test_powerPerformance2(self):
     cost = _landbos.powerPerformanceCost(self.hubHeight, permanent=5, temporary=4)
     self.assertAlmostEqual(2117200, cost, delta=0.5)
示例#3
0
 def execute(self):
     self.cost = _landbos.powerPerformanceCost(self.hubHeight,
                                               self.permanentMetTowers,
                                               self.tempMetTowers)
示例#4
0
 def test_powerPerformance(self):
     cost = _landbos.powerPerformanceCost(self.hubHeight, self.permanentMetTowers,
         self.tempMetTowers)
     self.assertAlmostEqual(1130400, cost, delta=0.5)