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)
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)
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)
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)