Primary energy compared to electricity as energy. The first adds energy used in driving, chemical industry etc. the second is just the amount of electricity generated.

Got it, thanks. So, not for grid electricity, as in this discussion.

Still, in the second figure of your link, you can see how gas is more or less stable since the start in 2005, and coal + peat is being slowly replaced almost 1:1 by renewables, mainly wind as hydro is stable and solar is marginal in Ireland.