def get_total_mnsp_ramp_rate_violation(model):
    """Get total MNSP ramp rate violation"""

    ramp_up = sum(v.value for v in model.V_CV_MNSP_RAMP_UP.values())
    ramp_down = sum(v.value for v in model.V_CV_MNSP_RAMP_DOWN.values())

    return ramp_up + ramp_down