AC and DC breakers for renewable energy systems, for panel or DIN-rail mounting