Given that there was a near miss recently of possible solar weather impact on our modern lives, I have to wonder if this has been explored in Star Trek in the past. There was the environmentalist story of over use of warp, but nothing that I can remember regarding the impact of an EMP on a society.
Are Federation electronic systems vulnerable to EMPs or other similar natural phenomena? If not, why not? If so, what plots could be built around the issue?