original_docstring: Update area of the heat exchanger.
docstring: Update area of the heat exchanger.
docstring_tokens: Update area of the heat exchanger .
code: def needed_areas(self):
          """Update area of the heat exchanger."""
          needed_areas = np.zeros([self.number_operating_cases])
          for operating_case in self.range_operating_cases:
              if np.isnan(self.logarithmic_mean_temperature_differences_no_mixer[operating_case]) or self.logarithmic_mean_temperature_differences_no_mixer[operating_case] <= 0:
                  needed_areas[operating_case] = np.nan
              else:
                  needed_areas[operating_case] = self.heat_loads[operating_case] / (self.overall_heat_transfer_coefficients[operating_case] * self.logarithmic_mean_temperature_differences_no_mixer[operating_case])
          return needed_areas
code_tokens: def needed_areas ( self ) : needed_areas = np . zeros ( [ self . number_operating_cases ] ) for operating_case in self . range_operating_cases : if np . isnan ( self . logarithmic_mean_temperature_differences_no_mixer [ operating_case ] ) or self . logarithmic_mean_temperature_differences_no_mixer [ operating_case ] <= 0 : needed_areas [ operating_case ] = np . nan else : needed_areas [ operating_case ] = self . heat_loads [ operating_case ] / ( self . overall_heat_transfer_coefficients [ operating_case ] * self . logarithmic_mean_temperature_differences_no_mixer [ operating_case ] ) return needed_areas
short_docstring: Update area of the heat exchanger.
short_docstring_tokens: Update area of the heat exchanger .
comment: """Update area of the heat exchanger."""