Legal conditions relevant to the electricity and gas market