An energy management system of a photovoltaic system, the energy management system being adapted to manage an energy flow of the photovoltaic system and to run an energy flow manager, wherein the energy flow manager is configured to calculate recommendations based on collected data stored in a local memory of the energy management system, wherein the recommendations comprise recommendations with respect to performing a fully automatic, semi-automatic and/or manual shutdown of the power-consuming loads of the load network during its operation in an emergency operation mode of the photovoltaic system according to an individual configuration of the respective power consuming load performed by a user in a setup mode, wherein the emergency operation mode of the photovoltaic system is triggered by a power supply grid failure of a power supply grid connected to the photovoltaic system, wherein the photovoltaic system further comprises a measurement device, wherein the measurement device is configured to generate data, wherein the energy flow manager is configured to detect a power supply grid failure of the power supply grid automatically on the basis of the data provided by the measurement device, or wherein the energy management system includes a communication interface and a remote controller is configured to notify a power supply grid failure of the power supply grid to the energy flow manager via the communication interface, wherein said energy management system further comprises a user interface that is configured to notify a user about the emergency operation mode of the photovoltaic system and provide recommendations for the user with respect to a handling of power-consuming loads of the load network of the photovoltaic system during the power supply grid failure. wherein the energy flow manager is configured to calculate recommendations based on collected data stored in a local memory of the energy management system, wherein the recommendations comprise recommendations with respect to performing a fully automatic, semi-automatic and/or manual shutdown of the power-consuming loads of the load network during its operation in an emergency operation mode of the photovoltaic system according to an individual configuration of the respective power consuming load performed by a user in a setup mode, wherein the emergency operation mode of the photovoltaic system is triggered by a power supply grid failure of a power supply grid connected to the photovoltaic system, wherein the photovoltaic system further comprises a measurement device, wherein the measurement device is configured to generate data, wherein the energy flow manager is configured to detect a power supply grid failure of the power supply grid automatically on the basis of the data provided by the measurement device, or wherein the energy management system includes a communication interface and a remote controller is configured to notify a power supply grid failure of the power supply grid to the energy flow manager via the communication interface, wherein said energy management system further comprises a user interface that is configured to notify a user about the emergency operation mode of the photovoltaic system and provide recommendations for the user with respect to a handling of power-consuming loads of the load network of the photovoltaic system during the power supply grid failure. notify a user about the emergency operation mode of the photovoltaic system and provide recommendations for the user with respect to a handling of power-consuming loads of the load network of the photovoltaic system during the power supply grid failure.