def func_tower_weight_d2h(
    diameter: float, height: float, coeff_a: float, coeff_b: float
) -> float:
    """
    Returns tower mass, in kg, based on tower diameter and height.
    :param diameter: tower diameter (m)
    :param height: tower height (m)
    :param coeff_a: coefficient
    :param coeff_b: coefficient
    :return: tower mass (in kg)
    """
    tower_mass = coeff_a * diameter ** 2 * height + coeff_b
    return 1e3 * tower_mass