code: def set_nodes_aggregation_flag(self, peak_current_branch_max):
          
  
          for lv_load_area in self.grid_district.lv_load_areas():
              peak_current_node = (lv_load_area.peak_load / (3**0.5) / self.v_level)  # units: kVA / kV = A
              if peak_current_node > peak_current_branch_max:
                  lv_load_area.is_aggregated = True
  
          # add peak demand for all Load Areas of aggregation type
          self.grid_district.add_aggregated_peak_demand()
docs: Set Load Areas with too high demand to aggregated type.
  
          Args
          ----
          peak_current_branch_max: float
              Max. allowed current for line/cable