The "facility" can be a generating plant, a consumer, or another network. The grid code is specified by an authority responsible for the system integrity and network operation. Its elaboration usually implicates network operators (distribution and/or transmission operators), representative of users and, to an extent, varying between countries, the regulating body.