Two US power companies, Mirant and RRI Energy, have agreed to a merger that will create one of the largest independent power producers in the US. The two companies will combine to form GenOn Energy, a power producer with 24,700 megawatts of electric generating capacity and a market value of about $3.1 billion.