def max_power_rule(mod, g, tmp):
    """
    **Constraint Name**: GenCommitCap_Max_Power_Constraint
    **Enforced Over**: GEN_COMMIT_CAP_OPR_TMPS

    Power plus upward services cannot exceed capacity.
    """
    return mod.GenCommitCap_Provide_Power_MW[g, tmp] \
        + mod.GenCommitCap_Upwards_Reserves_MW[g, tmp] \
        <= mod.Commit_Capacity_MW[g, tmp]