In the context of electrical grids, "contingency" refers to an unexpected event or failure that disrupts the normal operation of the grid. This could involve the loss of a major power generator, transmission line, transformer, or other critical components that support the electricity supply and distribution system. Contingency analysis is an essential part of grid planning and operation.