I don't think it's necessarily a failure of the EU for member states to prioritize stability and independence of their electrical grid.
Texas having their own grid is not a failure of American federalism.