Supplementary to EMI/RFI/EMC Immunity of an Equipment. Many Installations are subject to Highly Disruptive Electrical Environment not just EMI. Depending on the budget and the situation a solution has to be found. Sometimes a CVT or an Isolation Transformer can do a lot of good.
Converting all Energy inputs to battery energy and having a Isolated Synthetic Sine Supply may be an expensive but good solution. Either way the devices that face the harsh environment have to be over rated along with these protections. - delabs design Notes