General objectives of the regulatory authority In carrying out the regulatory tasks specified in this Directive , the regulatory authority shall take all reasonable measures in pursuit of the following objectives within the framework of its duties and powers as laid down in , in close consultation with other relevant national authorities , including competition authorities , as well as authorities , including regulatory authorities , from neighbouring Member States and neighbouring third countries , as appropriate , and without prejudice to their competence : ( a ) promoting , in close cooperation with regulatory authorities of other Member States , the Commission and ACER , a competitive , flexible , secure and environmentally sustainable internal market for electricity within the Union , and effective market opening for all customers and suppliers in the Union , and ensuring appropriate conditions for the effective and reliable operation of electricity networks , taking into account long - term objectives