The energy transition towards a more sustainable model characterized by a gradual reduction of CO2 emissions has risks and opportunities connected both with changes in the regulatory and legal context and trends in technology development, electrification and the consequent market developments.