 An independent system operator ( - ((ONS)), responsible for the technical coordination of electricity dispatching and the management of transmission services, and a wholesale market were created in 1998.During the electricity crisis in 2001 , the government launched a program to build 55 gas-fired power stations with a total capacity of 22 GW, but only 19 power stations were built, with a total capacity of 4,012 MW.Brazil is the third largest hydroelectricity producer in the world after China and Canada.