def calc_weight_pso(x, *args):
    """
    Calculating the current weight
    :param current_dict:
    :return:
    """
    width = args[5]
    span = args[6]
    plate_area = width * x[1]
    stiff_area = (x[2] * x[3] + x[4] * x[5]) * (width // x[0])
    return span * 7850 * (plate_area + stiff_area)
