Self-consumption of electricity by means of solar panels is arousing great interest among consumers both because of the savings in energy consumption, as they are less dependent on the external electricity grid, and because of the reduction in environmental impact. The high cost of installing solar panels in private homes, given that they take several years to pay for themselves, makes it essential that they are protected against the destructive effects of a lightning strike.