Пример #1
0
 def calcWindUnitLoadKn(self):
     self.wind_unit_load_kn = self.wind_unit_load / 1000.
     self.wind_unit_load_kn_text = GeneralMethods.textFourPlaces(
         self.wind_unit_load_kn)
Пример #2
0
 def calcSpeedMs(self):
     #calcualted wind speed in m/s and return value
     #first get wind_speed value from input
     wind_speed = self.new_input_values[Constants.WIND_SPEED]
     self.speed_ms, self.speed_text = GeneralMethods.windSpeedMPerSecond(
         wind_speed)
Пример #3
0
 def calcWindUnitLoad(self):
     self.wind_unit_load = GeneralMethods.calcWindUnitLoad(
         self.speed_ms, self.kz)
     self.wind_unit_load_text = GeneralMethods.windUnitLoadText(
         self.wind_unit_load)
Пример #4
0
 def calcKzValue(self):
     height_above_ground = self.new_input_values[
         Constants.HEIGHT_ABOVE_GROUND]
     self.kz = GeneralMethods(self.app_data).kzValue(
         float(height_above_ground))
     self.kz_text = GeneralMethods.kzValueText(self.kz)