An inverter system for a photovoltaic panel, the inverter system comprising: an inverter adapted for transforming a DC voltage from the photovoltaic panel into an AC voltage to be supplied to an electrical grid; a DC link interconnected with the inverter and providing a positive DC link output connectable to a positive pole of the photovoltaic panel and a negative DC link output connectable to a negative pole of the photovoltaic panel; a switch for disconnecting the negative pole of the photovoltaic panel from the DC link; a controller for controlling the inverter and the switch; wherein the controller is adapted for opening the switch, such that the photovoltaic panel is solely supplyable by the positive DC link output; wherein the controller is adapted for determining, when a voltage produced by the photovoltaic panel falls below a threshold voltage, characterized in that the determination, whether the photovoltaic panel is producing a voltage, is based on an actual time, and wherein the controller is adapted for determining a night-time and for switching into a recovery operation, when the night-time is determined, wherein the controller is adapted for opening the switch during recovery operation, such that the positive pole of the photovoltaic panel is supplied with a positive voltage from the DC link, wherein the controller is adapted for maintaining a DC link voltage during recovery operation, when the switch is opened; wherein the controller is adapted for determining a day-time and for switching to a normal operation, when a day-time is determined, wherein the controller is adapted for closing the switch during normal operation for connecting the negative pole of the photovoltaic panel with the negative output of a DC link. an inverter adapted for transforming a DC voltage from the photovoltaic panel into an AC voltage to be supplied to an electrical grid; a DC link interconnected with the inverter and providing a positive DC link output connectable to a positive pole of the photovoltaic panel and a negative DC link output connectable to a negative pole of the photovoltaic panel; a switch for disconnecting the negative pole of the photovoltaic panel from the DC link; a controller for controlling the inverter and the switch; wherein the controller is adapted for opening the switch, such that the photovoltaic panel is solely supplyable by the positive DC link output; wherein the controller is adapted for determining, when a voltage produced by the photovoltaic panel falls below a threshold voltage, characterized in that the determination, whether the photovoltaic panel is producing a voltage, is based on an actual time, and wherein the controller is adapted for determining a night-time and for switching into a recovery operation, when the night-time is determined, wherein the controller is adapted for opening the switch during recovery operation, such that the positive pole of the photovoltaic panel is supplied with a positive voltage from the DC link, wherein the controller is adapted for maintaining a DC link voltage during recovery operation, when the switch is opened; wherein the controller is adapted for determining a day-time and for switching to a normal operation, when a day-time is determined, wherein the controller is adapted for closing the switch during normal operation for connecting the negative pole of the photovoltaic panel with the negative output of a DC link.