Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
ENERGY MANAGEMENT SYSTEM
Document Type and Number:
WIPO Patent Application WO/2023/208947
Kind Code:
A1
Abstract:
An energy management system comprising a photovoltaic system (1) having at least one photovoltaic array (2) adapted to generate electrical DC power converted by an inverter (4) of said photovoltaic system (1) into AC power, wherein in a normal operation mode of the photovoltaic system (1) an energy flow within said photovoltaic system (1) is controlled according to control values received as setpoints via an Internet connection (15) from a remote energy management scheme run by a remote server (14), wherein if a communication failure with the remote server (14) is detected a fallback operation mode of the photovoltaic system (1) is initiated where the energy flow within said photovoltaic system (1) is controlled according to local control values provided as setpoints by a local energy management scheme.

Inventors:
WOLF MARTIN (AT)
ANGERER CHRISTIAN (AT)
HÜTTNER THOMAS (AT)
Application Number:
PCT/EP2023/060834
Publication Date:
November 02, 2023
Filing Date:
April 25, 2023
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
FRONIUS INT GMBH (AT)
International Classes:
H02J3/00; H02J3/38; H02J13/00
Foreign References:
US20180351401A12018-12-06
US20210066919A12021-03-04
US20120089260A12012-04-12
US20180351401A12018-12-06
EP2941809B12020-09-30
Download PDF:
Claims:
Claims

1. An energy management system comprising a photovoltaic system (1) having at least one photovoltaic array (2) adapted to generate electrical DC power converted by an inverter (4) of said photovoltaic system (1) into AC power, wherein in a normal operation mode of the photovoltaic system (1) an energy flow within said photovoltaic system (1) is controlled according to control values received as setpoints via an Internet connection (15) from a remote energy management scheme run by a remote server ( 14 ) , wherein set points are transmitted by the remote en- ergy management scheme run by the remote server (14) during the normal operation mode periodically or con- tinuously via the Internet connection (15) , and wherein if a communication failure with the remote server (14) is detected a fallback operation mode of the photovoltaic system (1) is initiated where the en- ergy flow within said photovoltaic system (1) is con- trolled according to local control values provided as setpoints by a local energy management scheme.

2. The energy management system according to claim 1 wherein, after occurrence of the communication failure with the remote server (14) at a time point, A, the en- ergy management system use after a time period, tl, at a time point, B, the local control values provided by the local energy management scheme in the fallback operation mode . The energy management system according to claim 1 or 2 wherein a transition from the remote control values to the local control values is started after the time pe- riod, tl, and during a time period t2 the local control values are reached smoothly and used as set points to control the energy flow within said photovoltaic system (1) • The energy management system according to any of the claims 1 to 3 wherein, in the fallback operation mode, the local energy management scheme is performed to opti- mize a self-consumption of electrical power generated by the photovoltaic arrays (2) of the photovoltaic system (1) by power-consuming devices of a local load network (7) of said photovoltaic system (1) . The energy management system according to any of the claims 1 to 4 wherein the Internet connection (15) be- tween the remote server (14) and the photovoltaic system (1) and/or an unavailability of the remote server (14) is checked by a controller or by a detection unit of the photovoltaic system (1) in regular time intervals. The energy management system according to claim 5 wherein a communication failure with the remote server (14) is detected by a controller or by a detection unit of the photovoltaic system (1) if a data transfer rate, DTR, or package transfer rate, PTR, via the Internet connection (15) falls beneath a predefined threshold value. The energy management system according to claim 5 or 6 wherein a communication failure with the remote server (14) is detected if remote set points or data packets from the remote server (14) are no longer transferred to the photovoltaic system (14) . The energy management system according to any of the claims 5 to 7 wherein a communication failure with the remote server (14) is detected if pings from the remote server (14) are no longer transferred to the photovoltaic system (1) . The energy management fallback system according to any of the claims 1 to 8 wherein a communication failure with the remote server (14) is notified to a user by means of a user interface (13) . A method for performing an energy management of a photo- voltaic system (1) having at least one photovoltaic array (2) adapted to generate electrical DC power converted by an inverter (4) of said photovoltaic system (1) into AC power, wherein the method comprises the steps of:

- performing (SA) in a normal operation mode control of energy flows within the photovoltaic system (1) accord- ing to control values received as setpoints via an In- ternet connection (15) and calculated according to a remote energy management scheme run by a remote server (14) , wherein the setpoints are transmitted by the remote en- ergy management scheme run by the remote server (14) during the normal operation mode periodically or con- tinuously via the Internet connection (15) ;

- initiating a fallback operation mode (Sc) of the photo- voltaic system (1) if a communication failure with the remote server (14) is detected (SB) , wherein in the fallback operation mode the energy flows within the photovoltaic system (1) are controlled according to lo- cal control values provided as setpoints by a local en- ergy management scheme. The method for performing an energy management of a pho- tovoltaic system (1) according to claim 10 wherein the local control values are read from a local data memory (9) of the photovoltaic system (1) or calculated in real time . The method according to claim 10 or 11 wherein the Inter- net connection (15) between the remote server (14) and the photovoltaic system (1) and/or an availability of the remote server (14) is checked by a controller or by a de- tection unit of the photovoltaic system (1) in regular time intervals. The method according to any of the claims 10 to 12 wherein a communication failure with the remote server (14) ) is detected if a data transfer rate, DTR, or pack- age transfer rate, PTR, via the Internet connection (15) falls beneath a predefined threshold value. The method according to any of the claims 10 to 13 wherein a communication failure with the remote server (14) is detected if remote set points or data packets from the remote server (14) are no longer transferred to the photovoltaic system (14) and/or wherein a communication failure with the remote server (14) is detected if pings from the remote server (14) are no longer transferred to the photovoltaic system (1) .

Description:
Energy Management System

The invention relates to an energy management system adapted to manage and control energy flows between entities of a pho- tovoltaic system, in particular in case of a communication failure of a communication connection between the photovol- taic system and a remote server .

Photovoltaic system comprises an inverter which is provided to convert a direct current (DC) power generated by photovol- taic modules of a photovoltaic array into alternating current (AC) power . The generated AC power can be supplied in a nor- mal operation mode of the photovoltaic system to a power sup- ply grid . A local load network can also be powered by the AC power generated by the inverter of the photovoltaic system . This load network can comprise a wide variety of consumer ap- pliances consuming AC power generated by the inverter . Fur- ther, the inverter can also be connected to a local storage unit to store energy locally . Accordingly, there are differ- ent energy flows between the inverter and other entities . When the photovoltaic array receives solar irradiation, it generates a DC current and energy flows from the photovoltaic array to the inverter . Devices of the load network receive energy from the AC side of the inverter . Further, energy can also be stored by the inverter in the local storage unit .

US 2018/0351401 Al describes an apparatus for a system power device utilized in an interconnected power system . The inter- connected power system includes multiple system power . The apparatus includes a processor and a communication interface . The communication interface connects a mobile computing sys- tem of a user in close proximity to the system power devices . A graphical user interface of the mobile computing system al- lows operational and re-configuration options for the power system including installation, maintenance and monitoring schedules in the power system when the user is in close prox- imity to the system power devices .

EP 2 941 809 Bl describes an energy control system configured to control the transmission of energy to an electrical load . The energy control system comprises a renewable energy re- source , a stored energy resource , a memory configured to store program instructions and an energy system controller . The energy controller of the energy control system has a pre- dictor module , a dispatch planner module and a dispatch mod- ule which controls the transmission of energy between the stored energy resource to the electrical load and to the storage device .

During a normal operation of the photovoltaic system, the system is connected to the power supply grid or power supply network . There can be an energy flow from the photovoltaic system to the power supply grid or vice versa . However, in an emergency situation, the photovoltaic system is disconnected from the power supply grid . This situation requires an effi- cient energy management .

In many use cases , the setpoints for the energy management of the energy flows within the photovoltaic system are provided by a remote server of a cloud . The setpoints are calculated according to a remote energy management scheme by a control- ler of a server within the cloud . The reason for providing remote setpoints is that the calculation capabilities of con- trollers within the photovoltaic system are in many use cases more limited than the calculation capabilities of a control- ler of a server within the cloud . Further, a remote energy management scheme allows for a central adaption and mainte- nance of the involved calculation algorithms . However, the provision of remote setpoints relies on the data communica- tion between the server of the cloud and the controller of the inverter within the photovoltaic system or a controller performing a local energy management system at the site of the photovoltaic system . Consequently, the energy management system of a photovoltaic system operating according to remote set points is neither robust nor resilient against interrup- tions or communication problems of the Internet connection between the photovoltaic system and the remote server . The conventional energy management system of a photovoltaic sys- tem operating according to remote set points is also neither robust nor resilient against an unavailability of the remote server, in particular during maintenance of the remote server .

Accordingly, it is an object of the present invention to pro- vide an energy management system which is robust against com- munication deficiencies of a communication connection between a controller of the photovoltaic system and a remote server .

This object is achieved a by an energy management system and a corresponding method with the features of the independent claims . Further advantageous embodiments are subject-matter of the dependent claims .

The invention provides according to the first aspect an en- ergy management system for a photovoltaic system having at least one photovoltaic array adapted to generate electrical DC power converted by an inverter of said photovoltaic system into AC power, wherein in a normal operation mode of the photovoltaic system an energy flow within said photovoltaic system is controlled according to control values received as set points via an In- ternet connection from a remote energy management scheme run by a remote server, wherein set points are transmitted by the remote energy man- agement scheme run by the remote server during the normal op- eration mode periodically or continuously via the Internet connection, and wherein a communication failure with the remote server a fallback operation mode of the photovoltaic system is initi- ated where the energy flow within said photovoltaic system is controlled according to local control values provided as set points by a local energy management scheme .

In a possible embodiment of the energy management system ac- cording the first aspect of the present invention after oc- currence of the communication failure with the remote server has been detected at a time point , A, the energy management system is adapted to use after a time period, tl , at a time point , B, the local control values provided by the local en- ergy management scheme in the fallback operation mode .

In a possible embodiment of the energy management system ac- cording an aspect of the present invention a transition from the remote control values to the local control values is started after the time period, tl , and during a time period, t2 , the local control values are reached smoothly and used as set points to control the energy flow within said photovol- taic system . In a possible embodiment of the energy management system ac- cording to the present invention, the local energy management scheme is performed in the fallback operation mode to opti- mize a self-consumption of electrical power generated by the photovoltaic arrays of the photovoltaic system and consumed by power-consuming devices of a local load network of said photovoltaic system .

The local energy management scheme can be performed in the fallback operation mode of the photovoltaic system by a con- troller of the inverter of the photovoltaic system or by a controller of an energy management unit of the energy manage- ment system of the photovoltaic system .

In a possible embodiment of the energy management system ac- cording to the present invention, the photovoltaic system comprises an inverter adapted to convert a DC power generated by photovoltaic modules of a photovoltaic array into AC power supplied in a normal operation mode of the photovoltaic sys- tem via a measurement device into a power supply grid .

In a further possible embodiment of the energy management system according to the present invention, the inverter is connected to at least one storage unit of the photovoltaic system used to store electrical power .

In a further possible embodiment of the energy management system according to the present invention, an energy flow manager is adapted to monitor and control the energy flows between the inverter and other entities of the photovoltaic system connected to the inverter, in particular power-consum- ing devices of the load network of the photovoltaic system, including the energy flow from the photovoltaic array to a DC side of the inverter and the energy flow from the inverter to the at least one storage unit of the photovoltaic system and the energy flow between the photovoltaic system and the power supply grid .

In a further possible embodiment of the energy management system according to the present invention, the energy flow manager is executed on a processor of a controller adapted to calculate momentary energy flows , in particular momentary power flows , depending on data provided by different entities of the photovoltaic system including the measurement device and/or the power-consuming loads of the load network .

The controller can be a controller of the inverter of the photovoltaic system or a controller of a dedicated energy management unit of the energy management system used to con- trol energy flows of the photovoltaic system .

In a further possible embodiment of the energy management system according to the present invention, if a power supply grid failure has been detected on the basis of data provided by the measurement device , then an emergency switch of the photovoltaic system is automatically opened by a controller of the inverter or by the by a controller of the energy man- agement unit to disconnect the power supply grid automati- cally from the photovoltaic system causing the interruption of the energy flow between the inverter and the power supply grid as long as the photovoltaic system does operate in the emergency operation mode .

In a further possible embodiment of the energy management system according to the present invention, if an interruption of the Internet connection caused by the power supply grid is detected, the energy management system is adapted to notify the user by means of the user interface about the emergency operation mode of the photovoltaic system triggered by the power supply grid failure and/or about the interruption of the Internet connection caused by the power supply grid fail- ure and is adapted to trigger the fallback operation mode .

In a further possible embodiment of the energy management system according to the present invention, the user interface is integrated in a user equipment communicating with the en- ergy management system .

In a further possible embodiment of the energy management system according to the present invention, the user interface is integrated in the energy management system of the photo- voltaic system .

In a further possible embodiment of the energy management system according to the present invention, the user equipment is integrated into a visual display unit , in particular a LED display board .

In a further possible embodiment of the energy management system according to the present invention, the predictions and recommendations are calculated for the emergency opera- tion mode of the photovoltaic system on the basis of col- lected data provided by the entities of the photovoltaic sys- tem during the emergency operation mode and on the basis of the data calculated during the normal operation mode of the photovoltaic system before the power supply grid failure has been detected and the emergency switch has been opened by the controller of the inverter or by controller of the energy management unit of the energy management system to interrupt the energy flow between the photovoltaic system and the power supply grid .

In a possible embodiment , the collected data is stored in a local data memory of the energy management system .

In a possible embodiment of the energy management system ac- cording to the present invention, the collected data com- prises solar generation capacity data, solar irradiation data, solar generation capacity forecast data, load usage and power consumption data, load usage and power consumption forecast data, load priority data, initial user input data, storage unit energy level data, user input data, in particu- lar responses to predictions and recommendations , and meas- urement device data generated by the measurement device .

In a further possible embodiment of the energy management system according to the present invention, the user equipment communicating with the energy management system comprises a mobile user equipment such as a smartphone connected via a wireless link with the energy management system of the photo- voltaic system .

The invention provides according to a further aspect a method for performing an energy management of a photovoltaic system having at least one photovoltaic array adapted to generate electrical DC power converted by an inverter of said photo- voltaic system into AC power, wherein the method comprises the steps of :

- performing in a normal operation mode of the photovol- taic system a control of energy flows within the photo- voltaic system according to control values received as set points via an Internet connection and calculated according to a remote energy management scheme run by a remote server, wherein the setpoints are transmitted by the remote en- ergy management scheme run by the remote server during the normal operation mode periodically or continuously via the Internet connection;

- initiating a fallback operation mode of the photovol- taic system if a communication failure with the remote server is detected, wherein in the fallback operation mode of the photovoltaic system the energy flows within the photovoltaic system are controlled according to lo- cal control values provided as set points by a local energy management scheme .

In the following, possible embodiments of the different as- pects of the present invention are described in more detail with reference to the enclosed figures .

Fig . 1 shows a block diagram for illustrating a possible exemplary embodiment of an energy management sys- tem;

Fig . 2 shows a flowchart of a possible exemplary embodi- ment of a method for managing an energy flow within a photovoltaic system;

Fig . 3 shows a possible exemplary implementation of a graphical user interface of a user equipment ;

Fig . 4 illustrates the operation of a fallback energy flow management within an energy management fallback system according to the present invention; Fig . 5 shows a flowchart for illustrating a possible exem- plary embodiment of a method for performing an en- ergy flow management within a photovoltaic system according to the present invention .

Fig . 1 illustrates schematically a possible exemplary embodi- ment of a photovoltaic system 1 comprising an energy manage- ment system 8 for managing energy flows of the photovoltaic system 1 . The photovoltaic system 1 comprises at least one photovoltaic array 2 comprising photovoltaic modules 3 adapted to generate a direct current DC power supplied to the DC side of an inverter 4 . The inverter 4 is adapted to con- vert the received DC power generated by the photovoltaic mod- ules 3 of the photovoltaic array 2 into an alternating cur- rent AC power . The AC power generated by the inverter 4 can be supplied via AC lines and a measurement device 5 to a power supply grid 16 connected to the photovoltaic system 1 .

The photovoltaic system 1 comprises in the illustrated embod- iment further an emergency switch 6 which is adapted to in- terrupt the connection between the photovoltaic system 1 and the power supply grid 16 in case of an emergency situation, in particular if a power supply grid failure of the power supply grid 16 has been detected by the measurement device 5

On the AC side of the inverter 4 , a load network 7 can be connected to the AC lines as shown in Fig . 1 . The load net- work 7 comprises a plurality of power-consuming devices . For example , a power consuming device is a washing machine in a private household . Another example of the power-consuming de- vice of the load network 7 is a machine of a fabrication fa- cility . The load network 7 can comprise several loads of dif- ferent types which consume AC power generated by the inverter 4 .

The photovoltaic system 1 as illustrated in Fig . 1 further comprises an energy management unit 8 which can be also con- nected to the inverter 4 of the photovoltaic system 1 . The energy management unit 8 can be connected to a local data memory 9 adapted to store data . The memory 9 can also be in- tegrated in the energy management unit 8 . The energy manage- ment unit 8 of the photovoltaic system 1 forms part of the energy management system used to manage energy flows of the photovoltaic system 1 .

Further, a storage unit 10 can be provided to store electri- cal energy locally in the photovoltaic system 1 . This storage unit 10 can comprise a battery adapted to store DC power . In the illustrated exemplary embodiment of Fig . 1 , the energy management system comprises an access point 11 having a wire- less link to a mobile user equipment 12 of a user U as illus- trated in Fig . 1 . In an alternative embodiment , the energy management system can also be connected via a data interface to a stationary user terminal . The user equipment 12 com- prises a user interface 13 to display information to the user U as shown in Fig . 3 , for example a change of the operation mode .

The energy management system of the photovoltaic system 1 as illustrated in Fig . 1 makes use of the user interface 13 to notify the user U about a detected communication failure , in particular about an interruption of the communication or a server failure of the remote server 14 , an unavailability of the remote server 14 and to notify the user U about a change of the operation mode . In this case an activation of a fallback operation mode can be automatically performed . Gen- erally, the photovoltaic system 1 can run in an normal opera- tion mode or in a fallback operation mode .

In a possible embodiment , the energy management system can be implemented on a processor (which may be located in the in- verter 4 or in an external device ) and can be used to calcu- late momentary energy flows depending on data provided by different entities of the photovoltaic system 1 including the measurement device 5 and/or loads of the load network 7 . For instance , the energy management system can be implemented on a controller of the energy management unit 8 to calculate mo- mentary energy flows depending on measured data .

In an alternative embodiment , the functionality of the energy management system can be provided at least partially by a re- mote server 14 which may be connected via the Internet or an- other data network to the photovoltaic system 1 , in particu- lar to an interface of the energy management unit 8 of the energy management system .

A failure of the power supply grid 16 may also cause an in- terruption of the Internet 15 which disconnects the remote server 14 from the photovoltaic system 1 . The failure of the power supply grid 16 can lead to communication failure of the internet connection 15 .

In a preferred embodiment if a communication failure is de- tected (e . g . if the internet connection 15 is interrupted or not available and/or an unavailability of the remote server 14 is detected) the energy management system implemented on the energy management unit 8 of the photovoltaic system 1 as illustrated in Fig . 1 changes a mode from a normal operation mode to an fallback operation mode as illustrated in Figs . 5 , 6 . The fallback operation mode can also be active in paral- lel with an emergency operation mode , if the internet connec- tion 15 and the grid 16 are not available .

In the illustrated embodiment of Fig . 1 , the user interface 13 is integrated in a user equipment 12 communicating with the energy management system 8 via a wireless connection such as wireless fidelity WiFi . In an alternative implementation, the user interface 13 can also be integrated in the energy management unit 8 of the energy management system itself . Further, the user interface 13 can also be connected to other devices communicating with the energy management system such as a LED display board which may be hung on a wall of the fa- cility .

The user equipment 12 comprises , in a preferred embodiment , an energy management application APP which is adapted to in- form the user U via the user interface 13 of the user equip- ment 12 about a current operation mode (the normal operation mode and the fallback operation mode ) of the photovoltaic system 1 . The energy management application APP can also no- tify a user U about the interruption of the Internet connec- tion 15 and/or unavailability of the remote server 14 and can notify the user U that the energy management system uses lo- cal control values as setpoints instead of remote control values from the remote server 14 .

Fig . 2 illustrates a possible exemplary embodiment of a method for managing an energy flow within a photovoltaic sys- tem 1 with the fallback operation mode according to the pre- sent invention . In the illustrated embodiment of Fig . 2 , the method comprises two main steps .

In a first step SI , a user U is notified by means of a user interface 13 about a change of the operation mode of the pho- tovoltaic system 1 triggered by a detected communication failure with the remote server 14 . Accordingly, the user U becomes aware that the photovoltaic system 1 now operates in the fallback operation mode using local control values and no longer in the normal operation mode where remote control val- ues are used .

In a further step S2 , the energy management system imple- mented on the energy management unit 8 operates in the fallback operation mode and uses the local control values .

It is also possible that the Internet connection 15 can be interrupted or impaired for other reasons than by a power supply grid failure of the power supply grid 16 . For example , a server failure of the remote server 14 or a maintenance of the remotes server 14 leads to an interruption of data re- trieval from the remote server 14 . Accordingly, in a pre- ferred embodiment , during the normal operation mode , an availability of the Internet connection 15 and an availabil- ity of the remote server 14 is checked regularly to ensure that the controller of the energy management unit 8 of the energy management system of the photovoltaic system 1 re- ceives set points from the remote server 14 to perform a nor- mal energy flow management within the photovoltaic system 1 . The energy management system receives in this case remote control values which are used as setpoints for the control of the energy flows . The energy flows are therefore managed ac- cording to a remote energy management scheme . The remote con- trol values can be calculated in real time .

If an interruption or a significant impairment of the Inter- net connection 15 or an unavailability of the remote server 14 is detected by the energy management system, in particular by a controller of the inverter 4 of the photovoltaic system 1 , or is detected by another assigned detection unit of the energy management system of the photovoltaic system 1 which may monitor a data transfer rate or package transmission rate via the monitored Internet connection 15 the fallback opera- tion mode for the photovoltaic system 1 is automatically ini- tiated by the respective controller . In the fallback opera- tion mode the energy flow within the photovoltaic system 1 is controlled by the energy management system according to local control values provided as setpoints . This is also illus- trated in the flowchart of Fig . 5 . The local control values can be stored in the data memory 9 and can be loaded as set points from the energy management unit 8 in the fallback op- eration mode . Consequently the energy flows are managed in the fallback operation mode according to a local energy man- agement scheme . The local control values can be calculated in real time or can be derived from stored default values .

There is a switchover between a local energy management scheme and a remote energy management scheme in case of a de- tected communication failure . During the normal operation mode the remote energy management scheme is active . Both schemes can also work together . Here the local energy manage- ment scheme receives the setpoints from the remote energy management scheme and then manages the local energy flows . In a setup mode of the application APP , a user U can perform configurations concerning the power-consuming devices of the load network 7 and the other entities of the respective pho- tovoltaic system 1 . The user U may also input additional pa- rameters such as the time period or time window for the fore- cast data . For instance , the user U may indicate whether forecast data for the next 24 hours shall be stored or for a longer time period . This is a possibility to take into ac- count the possibility of a lost internet connection .

During the setup, the energy management system can start au- tomatically to communicate with all relevant entities of the photovoltaic system 1 via the local communication bus to re- ceive information about the entities and loads available in the local photovoltaic system 1 . Accordingly, the energy man- agement system can collect information about the different power-consuming devices and other entities connected to the inverter 4 of the photovoltaic system 1 to generate a list displayed to the user U via the user interface 13 . The user U may perform individual configurations for the displayed available loads and entities . For example , the user U can de- fine priorities for the loads of the load network 7 in the fallback operation mode .

Based on collected information, forecast data can be calcu- lated by the energy management system . For instance , an ex- pected daily photovoltaic energy generation of energy by the photovoltaic array for a future number of days based on the collected information can be calculate . Further, an expected daily load usage and a total load usage for each of the loads in the load network 7 can be calculated based on the col- lected information and user inputs . The energy management system dynamically schedules an amount of power to each of the available power-consuming loads based on at least one of user preferences , and/or the collected data stored in the data memory .

The energy management system according to the present inven- tion provides in the fallback operation mode a fallback en- ergy flow management in case that the Internet connection 15 between a remote server 14 of the system and the photovoltaic system 1 is interrupted or significantly impaired or if a server failure of the remote server 14 happens or during maintenance of the remote server 14 .

The energy management system runs in a normal operation mode within the photovoltaic system 1 and is performed by control- ling energy flows within the photovoltaic system 1 according to control values received as external setpoints via the In- ternet connection 15 from a remote energy management scheme provided by the remote server 14 . If a communication failure is detected, in particular if an interruption of the Internet connection 15 between the remote server 14 and the photovol- taic system 1 is detected or a server failure of the remote server 14 is observed, a fallback operation mode of the pho- tovoltaic system 1 is automatically initiated . The interrup- tion of the Internet connection 15 can be detected by a con- troller of the inverter 4 of the photovoltaic system 1 or by an associated interruption detection unit of the photovoltaic system 1 . In response to the detected Internet connection in- terruption or observed server failure , the energy flow within the photovoltaic system 1 is no longer controlled according to remote control values received as setpoints for the remote energy management scheme but according to local control val- ues provided as setpoints by a local energy management scheme as illustrated schematically in Fig . 4 . In case of a communi- cation interruption and/or in case of an observed server failure of the remote server 14 , the remote set points re- ceived from the remote server 14 can no longer be transmitted to the controller of the inverter 4 or to the controller of the energy management unit 8 .

As illustrated in the diagram of Fig . 4 , at time point A com- munication failure such as an interruption of the communica- tion connection between the remote server 14 and the photo- voltaic inverter 4 or a server failure of the remote server 14 occurs . The communication failure is detected during a time period tl based for example on a data transfer rate DTR and/or package transfer rate PTR of data packages via the In- ternet connection 15 and/or a missing set point which is pe- riodically transmitted (timeout of last setpoint reception) . At activation time point B, the controller of the inverter 4 starts a transition to a local energy management scheme after a time period tl . The time period tl can be for example pre- defined or depend from a rate level (DTR, PTR) or triggered by an event . Time period tl is the time between occurrence of the communication failure at time point A and starting the transition at time point B from the use of remote control values to the use of local control values . The local control values are used after time point B according to the local en- ergy management scheme . As can be seen in the diagram in Fig . 5 the function approximates the local control values smoothly during time period t2 which are reached at point C, without an abrupt change to avoid unwanted oscillations . The duration of time period t2 depends from the difference between the re- mote control values and the local control values . The energy management system is adapted to activate in a preferred em- bodiment the local energy management scheme within the time period tl after occurrence of the interruption of the Inter- net connection 15 or after occurrence of the server failure (Timeout ) . The energy management system performs then the fallback operation mode according to the setpoints formed by the local control values as illustrated in Fig . 4 .

In a preferred embodiment , the local control values are ap- plied by the energy management system of the photovoltaic system 1 to optimize a self-consumption of electrical power generated by the photovoltaic arrays 2 of the photovoltaic system 1 by the power-consuming devices of the local load network 7 of the photovoltaic system 1 . In the normal opera- tion mode where the Internet connection 15 is not interrupted and the remote server 14 is available , the setpoint s are transmitted by the remote energy management scheme run on the remote server 14 . These setpoints can be transmitted by the remote server 14 via the Internet connection 15 periodically or continuously to the energy management system of the photo- voltaic system 1 .

Fig . 5 shows a flowchart to illustrate a possible exemplary embodiment of the different operation modes according to the present invention . During normal operation, a normal energy management is performed in step SA by controlling the energy flow within the photovoltaic system 1 according to remote control values received as setpoints via the Internet connec- tion 15 from the remote energy management scheme run on the remote server 14 . In step SB a communication failure with the remote server 14 is detected by the energy management system . This communication failure can comprise an interruption of the Internet connection 15 or an unavailability of the remote server 14 . If the communication failure is detected, the en- ergy management system switches automatically from the normal operation mode to the fallback operation mode . In the fallback operation mode a fallback energy management is auto- matically initiated and performed in step Sc as illustrated in Fig . 5 . The fallback operation mode can be performed by the controller of the inverter 4 and/or by a controller of the energy management unit 8 forming part of the energy man- agement system of the photovoltaic system 1 by using local control values provided as local setpoints by a local energy management scheme . The local energy management scheme applied in step Sc is directed for example to the optimization of self-consumption of energy within the photovoltaic system 1 . The local control values can be read from a local data memory 9 of the photovoltaic system 1 .

External set points received from the remote server 14 by the controller of the inverter 4 or by the controller of the en- ergy management system 8 can for instance include different kinds of information like tariff data, weather data , consump- tion history data and forecast data . Use of local set points and local measurement data allows also an optimization of en- ergy flows , however no optimization based also on forecast or predictions . Consequently, the use of external or remote set points allows for an optimization of the energy flows based also on predictions or forecast data during normal operation of the photovoltaic system 1 .

The availability of the Internet connection 15 between the remote server 14 and the photovoltaic system 1 and the avail- ability of the remote server 14 is checked in a pos sible em- bodiment by a controller or by a detection unit of the photo- voltaic system 1 in regular time intervals and/or event driven . An interruption of the Internet connection 15 is determined in a possible embodiment if a monitored data transfer rate , DTR, of the Internet connection 15 falls beneath a predefined data rate threshold value .

An interruption of the Internet connection 15 or an unavaila- bility of the remote server 14 or a disruption of the remote Energy management service is determined in a possible embodi- ment if remote set points or data packets from the remote server 14 are no longer transferred to the energy management system One way to detect this comprises a local timeout .

An interruption of the Internet connection 15 or an unavaila- bility of the remote server 14 or a disruption of the remote Energy management service is determined in a possible embodi- ment if pings from the remote server 14 are no longer trans- ferred to energy management system . These pings can be used as periodical live signals to detect an interruption of the connection or cloud server failures .

If the Internet connection 15 is reestablished the method re- turns to a normal energy flow management in the normal opera- tion mode in step SA . In the normal energy management , the energy flow within the photovoltaic system 1 is controlled according to control values received as setpoints via the es- tablished Internet connection 15 according to a remote energy management scheme run by the remote server 14 .

In a possible implementation, the graphical user interface 13 can also indicate an impairment of the Internet connection 15 , for instance a reduction of the available data transmis- sion rate . If the data transmission rate of the Internet con- nection 15 falls beneath a predefined threshold, the trans- mission of the remote setpoints may take a too long time pe- riod for using them reliably as control values for the energy management system within the photovoltaic system 1 . In this case , an automatic switchover to the fallback operation mode Sc is initiated by the local controller of the photovoltaic system 1 . The available data transmission rate of the Inter- net connection 15 can be displayed to the user U by means of the graphical user interface 13 . In a possible further imple- mentation, a user U can also be informed about the cause of the Internet communication failure . The user U can for in- stance be informed that the Internet connection interruption is caused by a failure of the local power supply through the power supply grid 16 . A user U can also be informed about other causes of the Internet connection interruption or server unavailability having triggered the switchover to the fallback operation mode of the photovoltaic system 1 . During the normal operation mode , the remote control values are transmitted via a communication interface to be executed lo- cally . However, if these external remote control values can no longer be transmitted because of an communication failure , the controller of the local inverter 4 of the photovoltaic system 1 or of the energy management unit 8 can activate af- ter a time period tl a fallback operation mode and can use predefined and stored local control values as described ac- cording to Fig . 4 .

For example , according to Fig . 4 , the electrical power of an inverter 4 can be set by an external setpoint ( remote control value ) such that the electrical power, i . e . the output power of the inverter 4 , flows from the power supply grid 16 into the electrical storage unit 10 and to the loads of load net- work 7 of the photovoltaic system 1 , because the price of the power from the power supply grid 16 is very low and no PV- power is available . Therefore , the output power of the in- verter 4 is negative . As a local control value , a usage of the PV-power of the inverter 4 is defined to cover for in- stance the loads of the load network 7 of the respective pho- tovoltaic system 1 and feed power into the power supply grid 16 if necessary . In this scenario, if an interruption of the communication connection, i . e . the Internet connection 15 , or a server unavailability of the remote server 14 is detected by the controller of the inverter 4 or by another detection unit , the controller can change after a time period tl ac- cording to an exponential function with negative exponent within the time period t2 from receiving electrical power ( remote control value ) to power-feeding ( local control value ) . This local control value is only performed as long as the controller of the energy management system does not re- ceive again an external remote control value from the remote server 14 via the reestablished Internet connection 15 or un- til the controller of the energy management system receives an external remote control value from the remote server 14 having become available again, e . g . after a maintenance of the remote server 14 has finished .

For a switchover from the fallback operation mode Sc to the normal operation mode SA the procedure is in principle the same . Especially during the control time t2 there is a con- tinuous switch from the local value to the remote value and vis versa . The control time t2 is relevant for the control of the energy flow .