def upscale_beam(self, target_floor):
     """
     This method is used to increase beam size which might be necessary when beam strength is not sufficient
     :param target_floor: a scalar to denote which floor beam shall be improved. (from 0 to total story # - 1)
     :return: update the beam size stored in self.member_size
     """
     temp_size = increase_member_size(self.element_candidate['beam']['floor level %s' % (target_floor + 2)],
                                      self.member_size['beam'][target_floor])
     self.member_size['beam'][target_floor] = temp_size
 def upscale_column(self, target_story, type_column):
     """
     This method is used to increase  column size which might be necessary when column strength is not sufficient
     or strong column weak beam is not satisfied.
     :param target_story: a scalar to denote which story column shall be increased (from 0 to total story # - 1).
     :param type_column: a string denoting whether it is an exterior column or interior column
     :return: update the column size stored in self.member_size
     """
     temp_size = increase_member_size(self.element_candidate[type_column]['story %s' % (target_story + 1)],
                                      self.member_size[type_column][target_story])
     self.member_size[type_column][target_story] = temp_size