Energy management system and method by which energy management system processes multiple VPP events

The energy management device optimizes processing of multiple VPP events by determining queue storage, checking for overlaps, and establishing priority-based execution plans, addressing performance degradation and resource waste in EMS systems.

WO2026141975A1PCT designated stage Publication Date: 2026-07-02HANWHA SOLUTIONS CORP

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
HANWHA SOLUTIONS CORP
Filing Date
2025-11-18
Publication Date
2026-07-02

AI Technical Summary

Technical Problem

Existing Energy Management Systems (EMS) are designed primarily for single-event processing, leading to performance degradation and resource waste when multiple Virtual Power Plant (VPP) events occur simultaneously or consecutively, with a risk of critical events being delayed or missed due to ineffective handling of event interactions.

Method used

An energy management device and method that determine whether to store new VPP events in a processing queue, check for overlaps in execution periods, and establish an execution plan based on priority, optimizing resource usage and preventing conflicts by processing high-priority events while suspending or removing low-priority ones.

Benefits of technology

This approach efficiently processes multiple VPP events by optimizing resource usage and maximizing processing efficiency, improving response speed by analyzing event interactions and preventing unnecessary duplicate processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025019028_02072026_PF_FP_ABST
    Figure KR2025019028_02072026_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to an energy management system and a method by which the energy management system processes multiple VPP events. The method according to one aspect comprises the steps of: determining whether to store, in a processing queue, a new event acquired from a VPP server; determining whether a first execution period that is an execution period of a first event newly stored according to the determination overlaps a second execution period that is an execution period of a second event stored before the first event; and in response to determining that the first execution period overlaps the second execution period, establishing an execution plan for the first event and the second event.
Need to check novelty before this filing date? Find Prior Art

Description

Energy management device and method for handling multiple VPP events in the energy management device

[0001] The following embodiments relate to an energy management device and a method for processing multiple VPP events in an energy management device.

[0002] With the recent increase in the importance of distributed energy resources, Virtual Power Plants (VPPs) are providing flexibility and stability to the power grid by integrating various energy resources, such as solar, wind, and battery storage, with demand management technologies. VPPs manage resources integrally to coordinate power supply and demand in real time, supporting efficient energy utilization.

[0003] However, existing Energy Management Systems (EMS) are designed primarily for single-event processing; consequently, when multiple VPP events occur simultaneously or consecutively at short intervals, issues such as performance degradation and resource waste may arise. In particular, there is a risk that critical events may be delayed or missed due to the inability to effectively handle interactions between events. Accordingly, there is a growing need for technology capable of efficiently processing multiple events by analyzing their urgency and importance.

[0004] The aforementioned background technology is technical information that the inventor possessed for the derivation of the present invention or acquired during the process of deriving the present invention, and it cannot be considered as prior art disclosed to the general public prior to the filing of the present invention.

[0005] The object of the present invention is to provide an energy management device and a method for processing multiple VPP events in an energy management device.

[0006] The problems that the present invention aims to solve are not limited to those mentioned above, and other problems and advantages of the present invention not mentioned can be understood from the following description and will be more clearly understood by the embodiments of the present invention. Furthermore, it will be understood that the problems and advantages that the present invention aims to solve can be realized by the means and combinations thereof set forth in the claims.

[0007] According to the first aspect of the present disclosure, as a technical means for achieving the technical problem described above, a method for processing multiple VPP events may be provided, comprising: a step of determining whether to store a new event obtained from a VPP server in a processing queue; a step of determining whether there is an overlap between a first execution period, which is the execution period of a first event newly stored according to the determination, and a second execution period, which is the execution period of a second event stored prior to the first event; and a step of establishing an execution plan for the first event and the second event in response to the determination that the first execution period and the second execution period overlap.

[0008] According to a second aspect of the present disclosure, an energy management device for processing multiple VPP events may be provided, comprising: a communication module for receiving events from a VPP server; a memory in which at least one program is stored; and a processor for performing operations by executing the at least one program, wherein the processor determines whether to store events obtained from the VPP server in a processing queue, determines whether there is an overlap between a first execution period, which is the execution period of a first event stored according to the determination, and a second execution period, which is the execution period of a second event stored prior to the first event, and in response to the determination that the first execution period and the second execution period overlap, establishes an execution plan for the first event and the second event.

[0009] According to the means for solving the problem of the present disclosure described above, a technology for efficiently processing multiple VPP events in an energy management device can be provided. When multiple events occur simultaneously or at short intervals, by determining the processing order based on the execution period and priority of each event, resource usage can be optimized and the processing efficiency of the energy management device can be maximized.

[0010] By establishing an execution plan that determines whether the execution periods of events overlap, pre-processes high-priority events, and suspends or removes low-priority events, conflicts and duplicate processing between events can be prevented.

[0011] In addition, the response speed of the system can be improved by analyzing the interaction between events to prevent unnecessary duplicate processing and by pre-processing events that require rapid decision-making. The effects of the embodiments are not limited to those mentioned above, and other unmentioned effects will be clearly understood by those skilled in the art from the description of the present invention.

[0012] Figure 1 is an exemplary drawing for schematically illustrating a power supply system.

[0013] FIG. 2 is a configuration diagram of an energy management device according to one embodiment.

[0014] FIG. 3 is a flowchart illustrating how an energy management device according to one embodiment processes multiple VPP events.

[0015] FIG. 4 is an exemplary diagram illustrating a method for an energy management device according to one embodiment to determine whether to store a new event obtained from a VPP server in a processing queue.

[0016] FIG. 5 is an exemplary diagram illustrating a method for an energy management device according to one embodiment to determine whether multiple events overlap and to determine whether multiple events are executed.

[0017] FIG. 6 is an exemplary drawing for illustrating an event payload according to one embodiment.

[0018] FIG. 7 is a diagram illustrating an example in which an energy management device according to one embodiment sets a higher priority for events that have a later acquisition time.

[0019] FIG. 8 is a diagram illustrating an example in which an energy management device according to one embodiment sets a higher priority for an event that starts later.

[0020] According to a first aspect of the present disclosure, a method for processing multiple VPP events may be provided, comprising: a step of determining whether to store a new event obtained from a VPP server in a processing queue; a step of determining whether there is an overlap between a first execution period, which is the execution period of a first event newly stored according to the determination, and a second execution period, which is the execution period of a second event stored prior to the first event; and a step of establishing an execution plan for the first event and the second event in response to the determination that the first execution period and the second execution period overlap.

[0021] According to a second aspect of the present disclosure, an energy management device for processing multiple VPP events may be provided, comprising: a communication module for receiving events from a VPP server; a memory in which at least one program is stored; and a processor for performing operations by executing the at least one program, wherein the processor determines whether to store events obtained from the VPP server in a processing queue, determines whether there is an overlap between a first execution period, which is the execution period of a first event stored according to the determination, and a second execution period, which is the execution period of a second event stored prior to the first event, and in response to the determination that the first execution period and the second execution period overlap, establishes an execution plan for the first event and the second event.

[0022] The advantages and features of the present invention and the methods for achieving them will become clear by referring to the embodiments described in detail together with the accompanying drawings. However, the present invention is not limited to the embodiments presented below, but can be implemented in various different forms and should be understood to include all modifications, equivalents, and substitutions that fall within the spirit and scope of the present invention.

[0023] The terms used in this application are used merely to describe specific embodiments and are not intended to limit the invention. The singular expression includes the plural expression unless the context clearly indicates otherwise. In this application, terms such as "comprising" or "having" are intended to specify the presence of the features, numbers, steps, actions, components, parts, or combinations thereof described in the specification, and should be understood as not precluding the existence or addition of one or more other features, numbers, steps, actions, components, parts, or combinations thereof.

[0024] Furthermore, the connecting lines or connecting members between the components depicted in the drawings are merely illustrative of functional connections and / or physical or circuit connections. In the actual device, connections between components may be represented by various alternative or added functional connections, physical connections, or circuit connections.

[0025] The present disclosure will be described in detail below with reference to the attached drawings.

[0026] Figure 1 is an exemplary drawing for schematically illustrating a power supply system.

[0027] Referring to FIG. 1, the power supply system (10) may include a solar module (11), a device (12), a load (14), and / or a distribution device (15). The power supply system (10) may be connected to an external power grid (16).

[0028] At least one solar module (11) can be installed on the roof or exterior wall of a building to generate power. Multiple solar modules (11) can be connected to form a solar module array.

[0029] A solar module (11) can be connected to a device (12). For example, at least one device (12) can be connected to each solar module (11). As an example, if one device (12) is connected to each solar module (11), the number of devices (12) constituting the power supply system (10) can be equal to the number of solar modules (11).

[0030] The device (12) may be a Power Conditioning System (or Power Conversion System) that performs power conversion for power generated from a solar module (11). For example, the device (12) may perform a predetermined conversion for power generated from a solar module (11) and supply it to other components of the power supply system (10) (e.g., a power grid (16) and / or a load (14), etc.).

[0031] Additionally, the device (12) may be a Module Level Power Electronics (MLPE). For example, the device (12) may be an optimizer or a Micro Inverter (MI).

[0032] As an example, if the device (12) is an optimizer, the device (12) can regulate the power produced by the solar module (11) and output it to an inverter (e.g., a string inverter). The current converted by the inverter (e.g., converting direct current into alternating current) can be output to a power grid (16) or a load (14).

[0033] As another example, if the device (12) is a micro inverter, the device (12) can convert power generated from the solar module (11) (e.g., converting direct current into alternating current). The current converted by the device (12) can be output to the power grid (16) or the load (14).

[0034] If necessary, the power supply system (10) may further include a combiner (13). At least some of the devices (12) may be connected to a distribution device (15) through the combiner (13). For example, power output from a plurality of devices (12) may be combined into a single output at the combiner (13) and supplied to the distribution device (15).

[0035] Meanwhile, the device (12) and the distribution device (15) may be connected via a power path that does not include a combiner (13), and at least one device (12) may be connected to the distribution device (15) via a power path that does not include a combiner (13), and at least one other device (12) may be connected to the distribution device (15) through a combiner (13).

[0036] The combiner (13) can control the voltage, current, and / or power output from the device (12) according to the power supply status of the solar module (11), the device (12), and / or the power system (16), and can set the operating mode of the combiner (13) to a diagnostic mode or an operating mode.

[0037] Additionally, the combiner (13) may include an Energy Management System (EMS) that controls the operation of the combiner (13). The EMS can control the voltage, current, and / or power supplied to or output from the combiner (13) depending on the power supply status of the solar module (11), the device (12), and / or the power grid (16), and can set the operating mode of the combiner (13) to a diagnostic mode or an operating mode.

[0038] A load (14) refers to an object that operates by receiving at least one of the following: energy generated by a solar module (11), energy stored in an energy storage device (17), and / or energy supplied from a power grid (16), installed in an electric consumer such as a house, commercial facility, or factory. For example, if the electric consumer receiving the power is a house, the load (14) may include home appliances such as a washing machine, a refrigerator, or a TV.

[0039] The power system (16) may include infrastructure systems for generating, transmitting, and distributing power. For example, the power system (16) may include infrastructure systems such as power plants, substations, and power grids. Meanwhile, the power system (16) may transmit electrical energy generated at a power plant to a power supply system (10), or transmit surplus power generated at the power supply system (10) to the outside of the power supply system (10).

[0040] For example, commercial power transmitted from the power system (16) through a utility pole can be supplied to a power consumer through a transformer. Meanwhile, the power supply system (10) may be implemented as an off-grid system that is not connected to the power system (16).

[0041] Meanwhile, the power supply system (10) may further include at least one energy storage device (17). If necessary, the power supply system (10) may include a plurality of energy storage devices (17). The energy storage device (17) may receive and store power generated by the solar module (11) and / or power delivered from the power grid (16). The energy storage device (17) can efficiently supply power by storing power and supplying power to the load (14) when the load (14) requires it.

[0042] The energy storage device (17) may include a battery for storing power and a power conversion module. The battery may be equipped with a Battery Management System (BMS) that monitors the battery's SOC, SOH, voltage and / or current, performs diagnostics on the battery, and performs safety functions such as current cutoff.

[0043] Additionally, the power conversion module may be a PCS that performs conversion between battery-side power and opposite-side power. For example, the PCS may perform conversion between battery-side DC current and opposite-side AC current. As an example, the PCS may include a bidirectional DC-DC converter connected to the battery to convert the voltage, and a bidirectional inverter connecting the DC-DC converter and the outside of the energy storage device (17).

[0044] Additionally, the energy storage device (17) may further include an EMS that controls the operation of the energy storage device (17). The EMS may control the voltage, current, and / or power supplied to or output from the energy storage device (17) according to the power supply status of the battery and / or power grid (16), and may set the operating mode of the energy storage device (17) to a diagnostic mode or an operating mode.

[0045] If necessary, an EMS coupled to a specific component of the power supply system (10) can not only control the operation of the specific component but also further control the operation of other components of the power supply system (10). For example, an EMS coupled to a combiner (13) or an EMS coupled to an energy storage device (17) can control both the operation of the combiner (13) and the operation of the energy storage device (17).

[0046] Meanwhile, the distribution device (15) can provide electrical connections between components of the power supply system (10) and control the power flow of the power supply system (10). For example, the distribution device (15) can electrically connect a solar module (11) and a load (14). As an example, the distribution device (15) can electrically connect the solar module (11) and the load (14) by connecting to a device (12) connected to the solar module (11). If necessary, the distribution device (15) can be further connected to at least one of an energy storage device (17) and a power grid (16).

[0047] For example, the distribution device (15) may be a distribution board that distributes power within the power supply system (10). As an example, the distribution device (15) may be a Master Service Panel (MSP) that distributes power generated from a solar module (11) to a load (14), etc.

[0048] As another example, the distribution device (15) may be a main controller that performs power distribution within a power supply system and controls each device (12). As an example, the main controller may include a switch, a circuit breaker, and a control unit. The switch, the circuit breaker, and the control unit may each be implemented as independent devices, or at least some of the switch, the circuit breaker, and the control unit may be included in a single device.

[0049] The main controller may include a switch that controls the electrical connection between components connected to the main controller, such as a device (12) and a load (14). For example, the main controller may include a relay or power semiconductor, etc., that provides or blocks the electrical connection to the device (12) and / or energy storage device (17) depending on the operating state of each component of the power supply system (10).

[0050] The main controller can perform a rapid shutdown to stop the power generation of the solar module (11) in the event of an emergency situation, such as an overcurrent occurring in the power supply system (10). To this end, the main controller may include a circuit breaker that cuts off the connection between the device (12) and the load (14).

[0051] The main controller may include a control unit that controls the overall operation of the main controller. In addition to the main controller, the control unit may control the operation of other components of the power supply system (10) (e.g., a device (12) or an energy storage device (17), etc.).

[0052] The control unit can control the voltage, current, and / or power output from or supplied to each component according to the power supply status of the solar module (11), device (12), combiner (13), load (14), power grid (16), and / or energy storage device (17). Additionally, the control unit can set the operating mode of the main controller, device (12), and / or energy storage device (17) to a diagnostic mode or an operating mode.

[0053] For example, the control unit may control a photovoltaic module (11), a device (12), a combiner (13), and / or an energy storage device (17) based on the state of the power supply system (10). As an example, the control unit may control other components of the power supply system (10) by causing the main controller to communicate with other components of the power supply system (10) (e.g., a device (12), etc.). Communication between the main controller and other components of the power supply system (10) may be performed via Power Line Communication (PLC), but is not limited thereto.

[0054] As an example, the control unit can control the device (12) according to the power generation status of the solar module (11). For example, the main controller can receive a control command from a server that monitors the power generation status of the solar module (11), and the control unit can control the device (12) according to the control command.

[0055] The main controller can supply power to at least some of the loads (14) when power supply from the power system (16) is not smooth (e.g., off-grid situation). For example, when power supply from the power system (16) is not smooth, the main controller can preferentially supply power generated from the solar module (11) and / or power stored in the energy storage device (17) to backup loads that have a relatively high need for stable power supply.

[0056] Meanwhile, the power supply system (10) may further include an auxiliary power generation device (e.g., a diesel generator) that generates power in a manner separate from solar power generation. For example, an auxiliary power generation device may be further connected to the distribution device (15). If the main controller cannot respond to the backup load using only the solar modules (11) and the energy storage device (17) due to environmental factors such as time of day or weather, it can supply power generated by the auxiliary power generation device to the backup load.

[0057] The control unit may be implemented by at least one processor. The processor may process instructions of a computer program by performing basic arithmetic, logic, and input / output operations. Here, the instructions may be provided from the internal memory of the main controller or from an external device. Additionally, the processor may control the overall operation of other components included in the main controller.

[0058] Meanwhile, the processor may perform at least some of the data analysis, processing, and result information generation for performing the aforementioned operations using at least one of machine learning, neural network, or deep learning algorithms as a rule-based or artificial intelligence algorithm. Examples of neural networks may include neural network models based on architectures such as Convolutional Neural Network (CNN), Deep Neural Network (DNN), and Recurrent Neural Network (RNN).

[0059] For example, a processor may be implemented as an array of multiple logic gates, or as a combination of a general-purpose microprocessor and memory storing a program that can be executed on the microprocessor. For example, the processor may include a general-purpose processor, a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a controller, a microcontroller, a state machine, etc.

[0060] In some environments, the processor may include an Application-Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), etc. For example, the processor may refer to a combination of processing devices, such as a combination of a digital signal processor (DSP) and a microprocessor, a combination of multiple microprocessors, a combination of one or more microprocessors combined with a digital signal processor (DSP) core, or any other combination of such configurations.

[0061] FIG. 2 is a configuration diagram of an energy management device according to one embodiment.

[0062] According to one embodiment, an energy management device (200) may be included in the energy storage device (17) of FIG. 1. The energy management device (200) can integrally control and manage the power flow between the solar module (11), device (12), distribution device (15), and power grid (16) connected to the energy storage device (17).

[0063] Specifically, the energy management device (200) distributes power generated from the solar module (11), power stored in the energy storage device (17), and power supplied from the power grid (16) in an optimized manner based on a demand response (DR) signal received from the Virtual Power Plant (VPP) server. Additionally, the energy management device (200) can set the priority of power supplied to the load (14) through the distribution device (15) or perform the task of sending surplus power to the power grid (16).

[0064] Referring to FIG. 2, an energy management device (200) may be included in the energy storage device (17) of FIG. 1 and performs the role of controlling and managing the operation of the energy storage device. The energy management device (200) may include a communication module (210), a memory (220), and a processor (230).

[0065] The communication module (210) performs the role of receiving or transmitting events through communication with an external VPP (Virtual Power Plant) server. Specifically, the communication module (210) can obtain event data including a Demand Response (DR) signal from the VPP server. The communication module (210) stores data including the payload of the event received from the VPP server in memory (220), and the stored data can be used by the processor (230) to analyze the event in the processing queue and establish an execution plan.

[0066] A VPP (Virtual Power Plant) server refers to a system that integrates and optimizes multiple distributed energy resources for the efficient operation of power resources. A VPP server can monitor and control various resources, including distributed resources such as solar modules, energy storage devices, and diesel generators, as well as power consumption devices and loads. In one embodiment, the VPP server can generate a Demand Response (DR) event based on data collected from distributed resources and transmit the event to an energy management device (200). The DR event may include information instructing to increase or decrease power consumption during a specific period.

[0067] The memory (220) is a device that stores data necessary for the operation of the energy management device (200) and may include an operation schedule, demand response (DR) events, and status information of the energy storage device (17) (e.g., SOC, SOH, etc.). In particular, the memory (220) stores event data received from the VPP server in a processing queue and can support the processor (230) in making appropriate decisions based on the data.

[0068] The processor (230) can analyze event data received from the VPP server to determine whether to store it in a processing queue, determine whether there is an overlap in execution periods between new events and existing events, and establish an event execution plan. For example, the processor (230) can establish an execution plan that sets the priority of the received events, executes only the highest priority event, and terminates other events.

[0069]

[0070] FIG. 3 is a flowchart illustrating how an energy management device according to one embodiment processes multiple VPP events.

[0071] Referring to FIG. 3, the method of an energy management device processing multiple VPP events consists of operations processed in an EMS included in the energy storage device (17) of FIG. 1, an energy management device (200) of FIG. 2, or a processor (230).

[0072] In step 310, the energy management device (200) can determine whether to store new events obtained from the VPP server in a processing queue.

[0073] That is, the energy management device (200) can determine whether the acquired event data is duplicate or valid and whether it is an event that needs to be stored in a processing queue. A specific example of determining whether to store a new event in a processing queue will be described later with reference to FIG. 4.

[0074] FIG. 4 is an exemplary diagram illustrating a method for an energy management device according to one embodiment to determine whether to store a new event obtained from a VPP server in a processing queue.

[0075] Referring to Fig. 4, in step 410, when a new event is obtained from the VPP server, the energy management device can check whether there is an event in the priority processing queue.

[0076] In step 415, if there are no events in the processing queue, the energy management device can immediately store newly acquired events in the processing queue.

[0077] In step 420, the energy management device can check whether a new event already exists in the processing queue in response to the existence of an event in the processing queue.

[0078] According to one embodiment, an energy management device can compare the payloads of a new event and an event existing in a processing queue to determine whether an event identical to the new event already exists in the processing queue. For example, the energy management device can determine the unique value (event ID) of an event included in the event payload.

[0079] In step 425, the energy management device can store a new event in response to the fact that the new event does not already exist in the processing queue.

[0080] In step 430, the energy management device can determine whether the payload of the new event has been updated in response to the new event already existing in the processing queue.

[0081] In step 435, the energy management device may determine that the payload is not updated as an error. In other words, this means that the situation where the same event is obtained redundantly without updating should not occur in a normal scenario.

[0082] In step 440, the energy management device can store the updated new event in response to the payload being updated.

[0083] In this way, the energy management device (200) can efficiently determine whether to store in the processing queue by checking whether the event received from the VPP server is duplicate and whether the payload is updated.

[0084]

[0085] Referring again to FIG. 3, in step 320, the energy management device (200) can determine whether there is an overlap between the first execution period, which is the execution period of a newly stored first event, and the second execution period, which is the execution period of a second event stored prior to the first event, based on the storage determination of step 310.

[0086] According to one embodiment, the energy management device (200) can first determine whether a second event stored prior to a newly stored first event is running.

[0087] In addition, in response to the fact that the second event is not running, it can determine whether the first start time, which is the start time of the first event, has passed. Subsequently, the energy management device can remove the first event from the processing queue in response to the fact that the first start time has passed, and can maintain the first event in the processing queue in response to the fact that the first start time has not passed.

[0088] The energy management device can determine whether the first event and the second event overlap by determining whether at least one of the start time and end time of the first event is included in the second execution period in response to the second event being executed.

[0089]

[0090] In step 330, the energy management device (200) can establish an execution plan for the first event and the second event in response to the determination that the first execution period and the second execution period overlap.

[0091] According to one embodiment, the energy management device can set a priority between a first event and the second event. For example, the priority may be set highest for the event with the latest start time.

[0092] According to one embodiment, the energy management device can determine whether the first event and the second event overlap at the current time.

[0093] And in response to the determination that the first and second events overlap at the current point in time, only the highest priority event can be executed and the other events terminated.

[0094] In response to the determination that the first and second events do not overlap at the current time, a plan can be established so that when the start time of the highest priority event arrives, the highest priority event is executed and the other events are terminated.

[0095] According to one embodiment, the energy management device determines whether the end time of another event is after the end time of the highest priority event, and, based on the result of the determination, can decide whether to resume the other event.

[0096] For example, the energy management device may establish a plan to resume the other event when the priority event ends in response to the other event ending at a time after the priority event ends, and to remove the other event in response to the other event ending at a time not after the priority event ends.

[0097]

[0098] FIG. 5 is an exemplary diagram illustrating a method for an energy management device according to one embodiment to determine whether multiple events overlap and to determine whether multiple events are executed.

[0099] Referring to FIG. 5, in step 510, the energy management device (200) stores a new event (first event) in a processing queue.

[0100] In step 520, the energy management device (200) determines whether the second event is running.

[0101] If the second event is not running, in step 522, it is determined whether the start time of the first event has passed. If the start time has passed (step 523), the first event is removed from the processing queue. If the start time has not passed (step 524), the first event is retained in the processing queue.

[0102] If the second event is running, in step 530, the energy management device (200) determines whether the execution periods of the first event and the second event overlap. And, if they do not overlap, the first event is maintained (step 532).

[0103] If the execution periods of the first and second events overlap, determine again at step 540 whether they overlap at the current point in time.

[0104] If, as a result of the judgment at step 540, the first event and the second event overlap at the current point in time, the energy management device (200) stops the second event at step 550 and executes only the first event.

[0105] If, as a result of the judgment in step 540, the first event and the second event do not overlap at the current time, in step 542, the energy management device (200) establishes an execution plan to execute the first event when the start time of the first event arrives.

[0106] And, in step 543, the energy management device determines whether the end time of the second event is after the end time of the first event.

[0107] If the end time of the second event is after the end time of the first event, in step 544, the energy management device (200) establishes an execution plan to resume the second event after the first event has ended.

[0108] If the end time of the second event is not after the end time of the first event, in step 545, the energy management device (200) establishes an execution plan to remove the second event without resuming it.

[0109] FIG. 5 illustrates an example in which the energy management device (200) of the present invention processes new events with priority. That is, it refers to events with a later acquisition time in the event payload. However, the criteria for setting the priority of events by the energy management device (200) of the present invention are not limited to this. According to another embodiment, priority may be set based on the start time of the event. In this case, priority may be given to events with a later start time. Another embodiment is described in detail in FIG. 8, which will be described later.

[0110]

[0111] FIG. 6 is an exemplary drawing for illustrating an event payload according to one embodiment.

[0112] Referring to FIG. 6, the event payload (610, 620, 630) includes items for the acquisition time (time, 611) of each event, the unique value of the event (eventid, 612), the start time of the event (startTime, 613), and the end time of the event (endTime, 614).

[0113] The acquisition time (611) indicates the time when the event was received from the VPP server and can be used as a criterion for determining priority among multiple events.

[0114] The event unique value (612) is a unique value for identifying each event and is used to determine whether there is a duplicate between an event already in the processing queue and a new event.

[0115] The event start time (613) indicates the time when the execution of the event begins and can be used as a standard when establishing an execution plan for the event in the processing queue. The event end time (614) indicates the time when the execution of the event ends and can provide information necessary for establishing an execution plan, such as whether to resume.

[0116] In the present disclosure, the execution period refers to the period from the start time to the end time of each event and can be used to determine whether there is overlap between each event in the processing queue. For example, if the execution period of a new event overlaps with the execution period of an existing event, the energy management device establishes an execution plan to execute the event with higher priority and stop the other event.

[0117]

[0118] FIG. 7 is a diagram illustrating an example in which an energy management device according to one embodiment sets a higher priority for events that have a later acquisition time.

[0119] Referring to FIG. 7, while the first event is being executed, a new event and another new event are sequentially acquired from the VPP server. The energy management device (200) sets the priority according to the acquisition time of the events, and when the execution periods overlap, the event acquired later is executed first, and the event that was previously executed is stopped at the start of the new event.

[0120] For example, the start time of the first event (T S,1 When ) arrives, the execution of the first event begins, but the execution period of the first event (T S,1 ~ T E,1 When a new event (New Event) is acquired whose execution period overlaps with ) and, the start time of the new event (T S,2 At ), the first event is interrupted, and a new event is executed. And, the execution period of the new event (T S,2 ~ T E,2 If another new event is acquired whose execution period overlaps with ), the start time of the other new event (T S,3 A new event is interrupted in ), and another new event is executed.

[0121] Additionally, if the end time of a suspended event precedes the end time of a later acquired event, the suspended event is not resumed even if the later acquired event ends; and if the end time of a suspended event follows the end time of the later acquired event, the suspended event is resumed when the later acquired event ends.

[0122] For example, the end time of another new event that is the highest priority event (T E,3 The end time of the new event (T) compared to ) E,2 Since ) is prior, new events are not resumed after interruption, but the end time of the first event (T E,1 ) is the end time of another new event (T E,3 Since it is after ), the first event is the end time of another new event (T E,3 It resumes in ).

[0123]

[0124] FIG. 8 is a diagram illustrating an example in which an energy management device according to one embodiment sets a higher priority for an event that starts later.

[0125] The start times of the first event (Event1), the second event (Event2), and the third event (Event3) arrive. At this time, the first event, the second event, and the third event may be acquired simultaneously or sequentially. Referring to FIG. 8, the priority of the second event, the third event, and the first event may be set in order of having the latest start time.

[0126] Therefore, the start time of the first event (T S,1 When ) arrives, the first event is executed (Progressing), but the start time (T) of the third event that overlaps with the first event S,3 When ) arrives, the first event with lower priority is not executed (Not Progressing) and is suspended.

[0127] Also, the start time of the second event (T S,2 When ) arrives, the third event, which has a lower priority than the second event, is suspended. And, the end time of the third event (T E,3 ) is the end point of the second event (T E,2 Since it is earlier than ), the third event is not resumed. However, the end time of the first event (T E,1 ) is the end time of the second event (T E,2 Since it is after ), when the second event ends, the first event resumes.

[0128] Meanwhile, an embodiment according to the present invention may be implemented in the form of a computer program that can be executed through various components on a computer, and such a computer program may be recorded on a computer-readable medium. In this case, the medium may include a magnetic medium such as a hard disk, a floppy disk, and a magnetic tape, an optical recording medium such as a CD-ROM and a DVD, a magneto-optical medium such as a floptical disk, and a hardware device specifically configured to store and execute program instructions, such as a ROM, RAM, or flash memory.

[0129] The above computer program may be specially designed and configured for the present invention or may be known and available to those skilled in the art of computer software. Examples of computer programs may include machine code, such as that generated by a compiler, as well as high-level language code that can be executed by a computer using an interpreter, etc.

[0130] According to one embodiment, the method according to various embodiments of the present disclosure may be provided by being included in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or distributed online (e.g., download or upload) through an application store (e.g., Play Store™) or directly between two user devices. In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.

Claims

1. A step of determining whether to store new events obtained from the VPP server in a processing queue; A step of determining whether there is an overlap between a first execution period, which is the execution period of a newly stored first event according to the above decision, and a second execution period, which is the execution period of a second event stored prior to the first event; and A method for processing multiple VPP events, comprising the step of establishing an execution plan for the first event and the second event in response to determining that the first execution period and the second execution period overlap.

2. In Paragraph 1, The step of determining whether to save the above is, A step of checking whether the above new event already exists in the processing queue; and In response to the fact that the above new event does not already exist in the processing queue, the above new event is stored, and A method comprising: a step of determining whether the payload of the new event has been updated in response to the new event already existing in the processing queue.

3. In Paragraph 2, The step of determining whether to save the above is, A method further comprising the step of storing a new updated event in response to the update of the above payload.

4. In Paragraph 1, The step of determining whether the above overlaps is, A step of determining whether the above second event is in progress; A step of determining whether a first start time, which is the start time of the first event, has passed in response to the fact that the second event is not currently running; A method comprising the step of removing the first event from the processing queue in response to the first start time having passed, and maintaining the first event in the processing queue in response to the first start time not having passed.

5. In Paragraph 1, The step of determining whether the above overlaps is, A method comprising the step of determining whether at least one of the start time and end time of the first event is included in the second execution period in response to the second event being executed.

6. In Paragraph 1, The step of establishing the above execution plan is, The method includes the step of setting a priority between the first event and the second event; The above priority is a method in which the highest priority is set to the event with the latest start time.

7. In Paragraph 6, The step of establishing the above execution plan is, A method comprising the step of determining whether the first event and the second event overlap at the current point in time.

8. In Paragraph 7, The step of establishing the above execution plan is, A method comprising the step of executing only the highest priority event and terminating other events in response to a determination that the first event and the second event overlap at the current time.

9. In Paragraph 7, The step of establishing the above execution plan is, A method comprising the step of establishing a plan such that, in response to determining that the first event and the second event do not overlap at the current time, when the start time of the highest priority event arrives, the highest priority event is executed and other events are terminated.

10. In Paragraph 9, The step of establishing the above execution plan is, A step of determining whether the end time of the above other event is a point in time after the end time of the above priority event; A method comprising the step of determining whether to resume the other event based on the above judgment result.

11. In Paragraph 10, The step of determining whether to resume the above is, In response to the fact that the end time of the above other event is a time after the end time of the above priority event, the above other event is resumed when the above priority event ends, and A method comprising the step of establishing a plan to remove the other event in response to the fact that the end time of the other event is not a time after the end time of the highest priority event.

12. A communication module that receives events from a VPP server; Memory in which at least one program is stored; and A processor that performs operations by executing at least one of the above programs; The above processor is, Determine whether to store events obtained from the above VPP server in the processing queue, and Determining whether there is an overlap between the first execution period, which is the execution period of the first event stored according to the above decision, and the second execution period, which is the execution period of the second event stored prior to the first event, and An energy management device for processing multiple VPP events, which establishes an execution plan for the first event and the second event in response to a determination that the first execution period and the second execution period overlap.

13. In Paragraph 12, The above processor is, An energy management device that determines whether there is an overlap by determining whether at least one of the start time and end time of the first event is included in the second execution period in response to the second event being executed.

14. In Paragraph 12, The above processor is, Set the priority between the first event and the second event, The above priority is an energy management device in which the highest priority is set to the event with the latest start time.

15. In Paragraph 14, The above processor is, An energy management device that determines whether the first event and the second event overlap at the current point in time.

16. In Paragraph 15, The above processor is, An energy management device that, in response to a determination that the first event and the second event overlap at the current time, executes only the highest priority event and terminates other events.

17. In Paragraph 15, The above processor is, An energy management device that establishes a plan to execute the highest priority event and terminate other events when the start time of the highest priority event arrives in response to the determination that the first event and the second event do not overlap at the current time.

18. In Paragraph 17, The above processor is, An energy management device that determines whether the end time of the above other event is after the end time of the above priority event, and determines whether to resume the above other event based on the result of the determination.

19. In Paragraph 18, The above processor is, In response to the fact that the end time of the above other event is a time after the end time of the above priority event, the above other event is resumed when the above priority event ends, and An energy management device that establishes a plan to remove the other event in response to the fact that the end time of the other event is not a time after the end time of the priority event.

20. In Paragraph 12, The above energy management device is, A device that manages power generated from solar modules.