Reliability model of demand response is presented based on customers' uncertainty.
Repair and failure rates of advanced metering infrastructure are regarded in model.
A new two-step congestion management with demand response firm is suggested.
A capacity outage probability table for demand response firm's output is developed.
Congestion is relieved by demand response, load shedding and generator reschedules.