Regulations relating to grid regulation and the energy market