def get_total_ramp_rate_violation(model):
    """Total ramp rate violation"""

    ramp_up = sum(v.value for v in model.V_CV_TRADER_RAMP_UP.values())
    ramp_dn = sum(v.value for v in model.V_CV_TRADER_RAMP_DOWN.values())

    return ramp_up + ramp_dn