THERE ARE NOT ENOUGH I-TOLD-YOU-SOS IN THE WORLD FOR THIS STORY: Once a global ideal, Germany’s economy struggles with an energy shock that’s exposing longtime flaws.

For most of this century, Germany racked up one economic success after another, dominating global markets for high-end products like luxury cars and industrial machinery, selling so much to the rest of the world that half the economy ran on exports.

Jobs were plentiful, the government’s financial coffers grew as other European countries drowned in debt, and books were written about what other countries could learn from Germany.

No longer. Now, Germany is the world’s worst-performing major developed economy, with both the International Monetary Fund and European Union expecting it to shrink this year.

It follows Russia’s invasion of Ukraine and the loss of Moscow’s cheap natural gas — an unprecedented shock to Germany’s energy-intensive industries, long the manufacturing powerhouse of Europe.

There’s a lot of talk about losing access to Russia’s natural gas, but the author doesn’t bother to mention until the 18th paragraph Berlin’s 2011 decision to shut down every nuclear plant in the country.