Energy management strategy action execution method, apparatus, device, and storage medium
By identifying and coordinating conflicting actions in a multi-strategy concurrent environment within an energy storage system, the problems of excessive action blocking and coarse-grained resource scheduling in traditional energy storage systems are solved, enabling the safe and stable execution of target actions and improving the system's operational efficiency and security.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGZHOU ZHIYUAN ELECTRONICS CO LTD
- Filing Date
- 2026-02-02
- Publication Date
- 2026-06-02
AI Technical Summary
Traditional energy storage systems rely on a single priority mechanism when operating in parallel with multiple strategies, leading to excessive action blocking and coarse-grained resource scheduling. This makes it difficult to adapt to the refined requirements of time-sharing scheduling, flexible control, and hybrid strategy operation. Furthermore, existing methods lack the ability to dynamically evaluate the strategy execution environment, affecting system safety and efficiency.
By constructing an energy management strategy action execution method, the target actions in the target energy management strategy are obtained, and conflicting actions are retrieved from the list of currently running actions of the energy storage system. An execution plan is then generated to ensure the safe and reasonable execution of the target actions, avoid action conflicts, and improve the real-time performance and reliability of the system.
It achieves accurate and stable execution of target actions of energy storage systems, improves the system's operational stability and flexibility in multi-strategy environments, and is suitable for large-scale energy storage stations and multi-scenario strategy collaborative control scenarios.
Smart Images

Figure CN122136930A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of energy management technology, and in particular to a method, apparatus, device and storage medium for executing energy management strategy actions. Background Technology
[0002] Against the backdrop of the ongoing global carbon neutrality process, energy storage technology has become a key support for building a new power system dominated by new energy sources. In recent years, the energy storage industry has maintained rapid development, with project scale continuously expanding, system forms gradually diversifying, and industry competition intensifying significantly. In this context, the energy management system, as the core control hub of the energy storage system, directly determines the safety, economy, and operational efficiency of the energy storage station through its scheduling strategies, execution logic, and coordination capabilities. Currently, mainstream energy storage systems typically require multiple strategies configured for different business scenarios to meet various operational needs such as peak shaving, energy optimization, system protection, and grid connection stability. Multiple strategies often operate in parallel within the same control cycle, and their control objectives, action objects, and execution logic may overlap, easily leading to mutually exclusive actions, resource contention, or execution conflicts. For example, an energy control strategy may be responsible for daily energy regulation, while a protection strategy may forcibly execute specific actions under abnormal operating conditions. These strategies have actual coupling relationships in terms of their control objects, which dramatically increases the complexity of concurrent scheduling.
[0003] However, traditional strategy conflict resolution mechanisms typically use strategy priority as the sole arbitration criterion. Once a high-priority strategy takes effect, it directly blocks all actions of low-priority strategies, resulting in overly coarse action granularity and rigid scheduling constraints, making it difficult to adapt to the refined needs of energy storage systems in time-sharing scheduling, flexible control, and hybrid strategy operation. For example, a SOC protection strategy needs to prohibit charging when a high SOC is triggered, but this does not actually affect discharging or standby actions; however, a priority blocking mechanism will simultaneously block the discharge logic in low-priority strategies, thus limiting scheduling capabilities. In addition, some protection strategies and energy regulation strategies do not overlap in their controlled objects; even if there are priority differences, parallel execution should be allowed. Therefore, relying solely on a single priority mechanism is insufficient to accurately characterize the conflict relationships between strategies and to ensure safe, flexible, and efficient operation in a multi-strategy environment. Summary of the Invention
[0004] This application provides a method, apparatus, device, and storage medium for executing energy management strategy actions. By constructing an action parsing, conflict identification, and execution coordination mechanism for multi-strategy concurrent environments, it achieves accurate and stable execution of target actions for energy storage systems. This solution effectively avoids problems such as excessive action blocking and coarse-grained resource scheduling caused by traditional priority arbitration mechanisms, improving the reliability, action coordination, and operational stability of the energy management strategy execution process. It enables energy storage systems to maintain efficient, safe, and flexible scheduling behavior in complex strategy environments, and is suitable for large-scale energy storage stations, commercial and industrial energy storage systems, and multi-scenario strategy collaborative control scenarios.
[0005] Firstly, this application provides a method for executing energy management strategy actions, including: Obtain the target energy management strategy to be executed, and extract the target action to be executed from the target energy management strategy; Retrieve conflicting actions with the same name as the target action from the list of current operating actions of the energy storage system; Execute the target action based on the conflict action and the target action.
[0006] Secondly, this application provides an energy management strategy action execution device, comprising: The extraction module is configured to acquire the target energy management strategy to be executed, and extract the target action to be executed from the target energy management strategy; The retrieval module is configured to retrieve conflicting actions with the same name as the target action from a list of operating actions that record the current operating actions of the energy storage system. The execution module is configured to execute the target action based on the conflicting action and the target action.
[0007] Thirdly, this application provides an energy management strategy action execution device, comprising: One or more processors; A memory that stores one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the energy management strategy action execution method as described in the first aspect.
[0008] Fourthly, this application provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the energy management strategy action execution method as described in the first aspect.
[0009] This application constructs an energy management strategy action execution method based on conflict action analysis, achieving precise control over the operating status of energy storage systems and safe execution of target actions. The method acquires the target energy management strategy to be executed, extracts the corresponding target actions, and compares them with the current operating action list of the energy storage system at the same time scale. It then retrieves conflicting actions with the same name as the target action from the list. Subsequently, based on the identified conflicting actions and target actions, an execution plan is generated, and the energy storage system is controlled to execute the corresponding target actions according to the plan. This scheme fully considers the conflict relationship between the target action and existing operating actions, avoiding system anomalies or efficiency losses caused by action conflicts. It improves the real-time performance, reliability, and security of the energy management strategy action execution process of the energy storage system, and is applicable to various energy storage system applications such as intelligent control, energy scheduling, and load optimization. Attached Figure Description
[0010] Figure 1 This is a flowchart of an energy management strategy action execution method provided in an embodiment of this application; Figure 2 This is a flowchart of a target action execution method provided in an embodiment of this application; Figure 3 This is a flowchart of a target action execution method based on runtime condition format conversion provided in an embodiment of this application; Figure 4 This is a flowchart illustrating the steps of an energy management strategy action execution method provided in an embodiment of this application; Figure 5 This is a structural block diagram of an energy management strategy action execution device provided in an embodiment of this application; Figure 6 This is a schematic diagram of the structure of an energy management strategy action execution device provided in an embodiment of this application. Detailed Implementation
[0011] To make the objectives, technical solutions, and advantages of this application clearer, specific embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely for explaining this application and not for limiting it. It should also be noted that, for ease of description, only the parts relevant to this application are shown in the drawings, not all of them. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations (or steps) as being processed sequentially, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. A process can be terminated when its operation is completed, but it may also have additional steps not included in the drawings. A process can correspond to a method, function, procedure, subroutine, subroutine, etc.
[0012] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0013] Currently, with the rapid development of new energy power systems and energy storage technologies, energy storage application scenarios are characterized by increased system complexity, diversified strategies, and enhanced potential for equipment control conflicts. When executing multi-strategy scheduling tasks, Energy Management Systems (EMS) need to identify and accurately handle conflicts between strategies in real time in environments with multiple strategies coexisting, multiple controlled objects intertwined, and dynamic energy demand changes. The continuity and coordination of strategy scheduling have become key factors affecting system performance and security. However, traditional strategy conflict handling methods often rely on single priority determination or fixed rules to control strategy execution, making it difficult to adapt to scenarios with differences in controlled objects of different strategies, changes in strategy operating conditions, and situations where some strategies are allowed to execute simultaneously. This can easily lead to strategy execution obstruction, limited energy utilization, or incomplete system protection.
[0014] While existing priority-based policy conflict resolution schemes alleviate direct conflicts between policies to some extent, they still have significant technical limitations. First, in the multi-policy parallel scheduling phase, existing methods lack sufficient modeling capabilities for the control range, operational constraints, and conditional dependencies of different policies on energy storage peripherals. They also lack fine-grained identification of policy execution conditions, resulting in overly coarse-grained policy conflict determination, which cannot accurately support partial parallel operation in complex scenarios. Second, in the policy conflict resolution and decision generation process, some methods rely on fixed priorities or preset rules for determination, lacking the ability to dynamically evaluate the policy execution environment, controlled objects, and the impact of actions. This makes it difficult to adaptively adjust policy execution schemes based on real-time system status, easily leading to unnecessary policy blocking or system response lag. Third, existing technologies do not adequately consider the continuity and flexibility of policy scheduling. Their ability to handle scenarios where high-priority protection policies and low-priority energy control policies can be executed in parallel is limited, affecting the scheduling efficiency and system security of the EMS in actual operation. Finally, some high-precision policy conflict resolution methods have high computational complexity, requiring significant controller computing power and communication resources, making long-term stable operation in large-scale energy storage systems difficult, thus restricting their promotion and reliability in practical engineering applications.
[0015] Therefore, this invention aims to propose an energy management strategy action execution method that can accurately identify and resolve conflicts in energy storage systems operating in parallel with multiple strategies, thereby enabling real-time control and adaptive scheduling of the energy storage system's operational behavior. This method acquires the target energy management strategy to be executed, extracts the corresponding target action, and retrieves conflicting actions with the same name from a list of currently operating actions of the energy storage system. It then combines the conflicting actions with the target action to generate an execution plan, achieving safe and rational execution of the target action. This plan improves the accuracy and robustness of target action execution through joint analysis and conflict assessment of different strategy actions, reducing the strategy blocking or resource waste that may result from traditional single-priority processing methods. It also enhances the continuity of actions and the smoothness of scheduling in energy storage systems operating in multi-strategy environments, thereby improving the real-time performance, reliability, and system adaptability of the energy management strategy action execution process. It is applicable to intelligent strategy scheduling and action execution tasks in various energy storage scenarios.
[0016] Figure 1 This is a flowchart illustrating an energy management strategy execution method provided in an embodiment of this application. (Reference) Figure 1 The specific execution method of this energy management strategy includes: S110. Obtain the target energy management strategy to be executed, and extract the target action to be executed from the target energy management strategy.
[0017] In some embodiments, the target energy management strategy can be a set of predefined energy control rules for a terminal or device under a specific operating scenario, including information such as action sequence, execution conditions, priority information, and strategy effective time. The target energy management strategy can originate from a local policy library, configurations issued by a remote server, or policy results generated by a dynamic optimization scheduling algorithm. The target action to be executed can be a specific operation unit in the strategy, used to adjust the power consumption state of the terminal or device. For example, the target action may include: adjusting the processor operating frequency, controlling sensor switching, switching the power consumption mode of the communication module, adjusting display brightness, or starting / stopping peripherals, etc.
[0018] In one embodiment, the method for extracting the target action to be executed may be: based on the current policy execution conditions, select a set of actions that meet the conditions from the target energy management policy, and generate a sequence of actions to be executed according to a preset priority or action dependency order, thereby obtaining the target action.
[0019] By following the steps above, we can obtain the most suitable action for the current operating state from the target energy management strategy, which provides a foundation for subsequent action execution and power consumption optimization.
[0020] S120. Retrieve a conflicting action with the same name as the target action from the list of operating actions that record the current operating actions of the energy storage system.
[0021] In some embodiments, the action list can be a dataset recording all actions currently being executed in the energy storage system. Each record may include the action name, action type, execution status, start time, and related control parameters. This list is used to reflect the real-time operating status of the energy storage system for action management and conflict detection. The target action can be the action to be executed extracted in the preceding steps, while a conflicting action can be a current action that is mutually exclusive with the target action in terms of function, resource usage, or safety constraints. For example, if the target action is "Enable fast discharge mode," then the existing "Enable charging mode" action in the list may be determined as a conflicting action.
[0022] In one embodiment, the method for retrieving conflicting actions may be: traversing the list of running actions, comparing the name or type of each action one by one, and marking the actions that match the name or type of the target action as conflicting actions.
[0023] In one embodiment, the action attributes, execution status, or priority of the target action and the conflicting action can be combined to determine whether the conflicting action needs to be suspended, delayed, or coordinated.
[0024] By following the steps above, potential conflicting actions can be identified before the target action is executed, providing a basis for subsequent action scheduling, conflict resolution, and safe execution, and ensuring the stability and safety of the energy storage system when executing energy management strategies.
[0025] S130. Execute the target action according to the conflicting action and the target action.
[0026] In some embodiments, the target action can be an action to be executed extracted from a target energy management strategy, while a conflicting action can be an action that is mutually exclusive with the target action in terms of function, resource usage, or safety constraints under the current operating state of the energy storage system. The target action can include the control of various units within the energy storage system, such as adjusting battery charging and discharging modes, switching inverter power states, controlling load connection or disconnection, and adjusting energy distribution strategies. The system can issue control commands to the execution units through the controller interface and monitor the execution status of the actions in real time to ensure safety and reliability.
[0027] In one embodiment, the target action can be executed by pausing or delaying the conflicting action if the target action has a higher priority than the conflicting action, and then executing the target action.
[0028] In one embodiment, the target action can be executed by adjusting the parameters or execution time of the conflicting actions so that the target action and the conflicting actions can be executed simultaneously or alternately, thereby ensuring system safety and efficiency.
[0029] In one embodiment, the target action can be executed in the following way: when conflicting actions cannot be paused or coordinated, a variant of the target action can be performed, such as reducing power, shortening execution time, or modifying operating parameters.
[0030] Through the above steps, the target action can be executed safely and effectively after identifying conflicting actions, thereby achieving stable operation and optimized control of the energy storage system under complex energy management strategies.
[0031] Optionally, Figure 2 This is a flowchart illustrating a target action execution method provided in an embodiment of this application. (Reference) Figure 2 The specific methods for executing the target action include: S1301. Obtain the first priority of the target energy management strategy corresponding to the target action and the second priority of the energy management strategy corresponding to the conflict action.
[0032] For example, the first priority can be a priority index associated with the target action within the target energy management strategy, indicating the relative importance or execution order of the target action in the current strategy execution. Priority can be represented numerically, such as an integer value from 0 to 10, with higher values indicating higher priority. Priority can also be categorized in a hierarchical manner, such as high, medium, and low. The second priority can be a priority index defined for the conflicting action within its respective energy management strategy, characterizing whether the action can be delayed, suspended, or substituted in a conflict situation.
[0033] In one embodiment, priority can be obtained by: reading the priority field from the energy management policy associated with the target action to determine the first priority; and reading the priority field from the energy management policy to which the conflicting action belongs to determine the second priority. The first and second priorities can provide a basis for subsequent conflict handling or scheduling decisions.
[0034] By following the steps above, the relative importance of target actions and conflicting actions in the energy management strategy can be quantified, providing an objective basis for prioritizing subsequent execution decisions and ensuring the safety and optimized execution effect of the energy storage system under multiple concurrent actions.
[0035] S1302. If the first priority is not higher than the second priority, obtain the target operation conditions of the target action and the conflict operation conditions of the conflicting action.
[0036] For example, the first priority and the second priority are used to characterize the relative importance of the target action and the conflicting action in their respective energy management strategies. When the first priority is determined to be no higher than the second priority, it means that in a conflict situation, the target action may need to consider the operating status or constraints of the conflicting action to decide whether or how to execute it. The target operating conditions can be execution requirements or limitations related to the target action, such as power thresholds, load status, ambient temperature range, available equipment capacity, or time windows. The conflicting operating conditions can be execution constraints or current status information related to the conflicting action, such as current power consumption, operating mode, resource utilization, or safety restrictions.
[0037] In one embodiment, the operating conditions can be obtained by: reading the execution parameters and constraints of the target action from the target energy management strategy; obtaining the current state and action constraints from the execution records or strategies of conflicting actions; summarizing the operating conditions of the target action and conflicting actions to obtain the target operating conditions and conflict operating conditions, providing a basis for subsequent conflict coordination, action delay or adjustment.
[0038] By following the steps above, we can gain a comprehensive understanding of the operating conditions of both the target action and the conflicting action, even when the action has a lower priority than the conflicting action. This provides data support for the safe and reliable execution of energy management strategies.
[0039] S1303. Execute the target action according to the target operating conditions and the conflicting operating conditions.
[0040] For example, target operating conditions and conflict operating conditions are used to guide how to safely and effectively execute target actions in the presence of conflicting actions.
[0041] In one embodiment, the target action can be executed by determining whether the safety constraints for simultaneous execution are met based on the operating conditions of the target action and the operating conditions of the conflicting action. For example, if the target action requires starting a load while the conflicting action has already occupied the system power limit, the execution of the target action is temporarily suspended.
[0042] In one embodiment, the target action can be executed by adjusting the execution parameters of the target action, such as reducing power output, shortening execution time, or adjusting the execution order, if certain conditions permit, to ensure compatibility with conflicting actions.
[0043] In one embodiment, the target action can be executed as follows: when the running conditions of the target action seriously conflict with those of the conflicting action, the start of the target action can be delayed until the conflicting action is completed or the scheduling conditions are met.
[0044] In one embodiment, the target action can be executed in a way that, if supported by the system, the target action and conflicting actions can be coordinated, such as alternately controlling the battery charging and discharging modes or allocating different energy channels, so as to simultaneously meet the basic requirements of the two actions.
[0045] By executing target actions based on target operating conditions and conflicting operating conditions, the stability and security of the energy storage system can be ensured when multiple strategies are executed in parallel, while maximizing the effectiveness of strategy execution and system energy efficiency.
[0046] Optionally, Figure 3 This is a flowchart illustrating a target action execution method based on runtime condition format conversion, as provided in an embodiment of this application. (Reference) Figure 3 The specific execution method for the target action of this conditional format conversion includes: S13031. Convert the target running conditions into target format conditions. The target format conditions include multiple target condition groups connected by a first logical operator. The type of logical operator in each target condition group is less than or equal to one.
[0047] For example, target operating conditions can be action execution constraints defined in their raw form or by a strategy description language, such as power thresholds, load states, ambient temperature ranges, device capacity limits, or time windows. These conditions may be presented as complex logical combinations, making them difficult to use directly for execution decisions. Target format conditions, on the other hand, can be standardized logical expressions transformed by rules, allowing for direct parsing and execution by the system control unit or action execution module.
[0048] In one embodiment, the transformation of target runtime conditions can be achieved by dividing the original target runtime conditions into several target condition groups based on logical dependencies or execution constraint relevance. Conditions within each group are connected using a unified logical operator to obtain target format conditions, simplifying parsing. Within each target condition group, the number of logical operators is less than or equal to one to ensure clear and executable logic within the group, avoiding execution ambiguity or excessive computational load caused by complex nested logic. The target condition groups are connected using a first logical operator, such as combining different groups using AND or OR, to form the overall target format conditions used for action determination.
[0049] Through the above steps, the original target operating conditions are transformed into standardized, parsable, and structured target format conditions, providing a unified and efficient logical basis for subsequent execution of target actions based on condition judgment or scheduling algorithms.
[0050] Optionally, converting the target running conditions into target format conditions includes: The logical expression of the target running condition is parsed to construct the target expression tree.
[0051] For example, target format conditions are typically represented in the form of logical expressions, such as groups of target conditions connected by logical operators like AND and OR. To facilitate condition judgment and execution scheduling by the computer system, this logical expression needs to be parsed and a workable data structure constructed. A target expression tree can be a data model that parses logical expressions into a tree structure. Each node in the target expression tree can be a logical operator node or a leaf node. Leaf nodes represent specific individual target conditions, such as power thresholds, device status, or time windows. The target expression tree uses logical operator nodes as parent nodes, connecting their corresponding child nodes. Leaf nodes are located at the bottom of the tree, representing the most basic determinate conditions.
[0052] In one embodiment, the target expression tree can be constructed by performing syntactic analysis on the string or data representation of the target format conditions, identifying the hierarchical relationship between logical operators and condition groupings, and constructing the target expression tree according to priority and bracket constraints.
[0053] Through the above steps, the energy storage system can transform the complex logical structure of target operating conditions into a programmable decision tree, thereby achieving automated and precise target action execution control.
[0054] Based on the target expression tree, the target running conditions are logically equivalently transformed into disjunctive normal form or conjunctive normal form.
[0055] For example, the target expression tree represents the logical structure of the target execution conditions. Through recursive or iterative traversal of the tree nodes, the logical expression of the target conditions can be formally transformed into an equivalent form for subsequent condition evaluation and action scheduling. The logical expression in disjunctive normal form is represented as several conjunctive clauses connected by OR; the logical expression in conjunctive normal form is represented as several disjunctive clauses connected by AND.
[0056] In one embodiment, the logical equivalence transformation can be achieved by using De Morgan's law to interchange NOT with the AND and OR logical operators, thereby eliminating nested negations or unifying the logical structure, thus obtaining disjunctive normal form or conjunctive normal form.
[0057] In one embodiment, the logical equivalence transformation can be achieved by combining, grouping, or rearranging AND and OR nodes using the associative, distributive, and commutative laws, so that the logical expression conforms to the canonical disjunctive normal form or conjunctive normal form.
[0058] In one embodiment, the logical equivalence transformation can be achieved by identifying repeating conditions or constant true / false conditions, merging or simplifying them to obtain disjunctive normal form or conjunctive normal form, thereby reducing computational complexity.
[0059] In one embodiment, if the execution condition of the target action is (A AND B) OR (C AND D), then the expression is already in disjunctive normal form; if it is A OR (B AND C), it can be converted to (A OR B) AND (A OR C) through the distributive law to obtain conjunctive normal form.
[0060] By converting the target operating conditions into disjunctive normal form or conjunctive normal form, the logic for evaluating the conditions can be unified, which facilitates subsequent intersection / union operations with conflicting operating conditions and the determination of action executability, thereby improving the automation and reliability of action scheduling and execution decisions.
[0061] When the transformation result of the target operating condition is disjunctive normal form, each conjunction in the disjunctive normal form is determined as a target condition group, such that the logical operator within each target condition group is logical AND and the logical operator between each target condition group is logical OR.
[0062] For example, after logical equivalence transformation, the target operating condition is represented as a disjunctive normal form, which is a combination of several conjunctions connected by OR. Each conjunction is composed of several atomic conditions combined by logical AND.
[0063] In one embodiment, the target condition group can be determined by traversing the disjunctive normal form expression, extracting each conjunction connected by OR, and treating each conjunction as an independent target condition group. Each target condition group contains only logical AND operators, and maintains logical OR operator relationships between target condition groups; that is, the target action can be executed as long as any one of the group conditions is satisfied.
[0064] Through the above processing, the original complex logical expression is structured as follows: multiple atomic conditions within each target condition group must be satisfied simultaneously; the target condition groups are connected by logical OR, and the execution of an action is triggered when any group is satisfied. This method transforms complex logic into a standardized group structure, which facilitates the system to perform condition judgments group by group in action scheduling, improving computational efficiency and the controllability of execution decisions, while maintaining the semantic equivalence of the original logic.
[0065] When the transformation result of the target operating condition is conjunctive normal form, each disjunct in the conjunctive normal form is determined as a target condition group, such that the logical operator within each target condition group is logical OR and the logical operator between each target condition group is logical AND.
[0066] For example, after logical equivalence transformation, the target operating condition is represented as a conjunction normal form, which is a structure of several disjunctives connected by AND, and each disjunctive is composed of several atomic conditions combined by logical OR.
[0067] In one embodiment, the target condition group can be determined by traversing the conjunctive normal form expression, extracting each disjunct connected by AND, and treating each disjunct as an independent target condition group. Each target condition group contains only a logical OR operator, indicating that satisfying any one condition within the group is sufficient to satisfy that group. A logical AND operator relationship is maintained between the target condition groups; that is, all target condition groups must be satisfied to trigger the execution of the target action.
[0068] Through the above processing, complex target execution conditions are standardized as follows: satisfying any atomic condition within each target condition group is sufficient to satisfy that group; target condition groups are connected by logical AND, and all groups must be satisfied for the target action to be executed. This method ensures the semantic integrity of the conjunctive paradigm logic, while structuring the target action execution conditions into a programmable grouping form, providing a unified and clear execution basis for action scheduling and condition determination, and improving system execution efficiency and reliability.
[0069] Target format conditions are constructed based on each of the target condition groups and their corresponding logical operators.
[0070] For example, after the above processing, the target runtime conditions have been divided into several target condition groups, with unified logical operators within each group and clear logical relationships between the groups. The structure and logical relationships of the target condition groups are then integrated into executable target format conditions.
[0071] In one embodiment, the target format conditions can be constructed by: combining the atomic conditions within each target condition group into a single condition expression using their internal unified logical operators; integrating the condition groups into an overall target format condition expression based on the logical operators between the groups; and representing the target format conditions with a system-parseable data structure, such as a logical expression string, a list of condition objects, or a logic tree structure, to facilitate subsequent evaluation and action scheduling.
[0072] This step transforms the originally complex and scattered target operating conditions into structured and unified target format conditions, enabling the system to directly parse, evaluate, and judge them. This provides a standardized basis for subsequent condition-based target action execution and improves the efficiency and reliability of execution decisions.
[0073] S13032. Convert the conflicting running conditions into conflicting format conditions. The conflicting format conditions include multiple conflicting condition groups connected by a second logical operator, and the type of logical operator in each conflicting condition group is less than or equal to one.
[0074] For example, conflicting operating conditions can represent constraints or current state limitations that must be met when a conflicting action is executed, such as power usage, equipment operating mode, load status, environmental conditions, or time windows. Conflicting operating conditions can be expressed through complex logic and require standardization for system determination. Conflicting format conditions can be achieved by converting the original conflicting operating conditions into a structured, parsable logical expression. In one embodiment, the conversion of conflicting execution conditions can be as follows: Conflicting execution conditions are divided into several conflicting condition groups according to logical dependencies or execution constraints, ensuring that the conditions within each group are connected by a unified logical operator, and that the number of logical operators within each conflicting condition group is less than or equal to one, in order to simplify condition evaluation and avoid the complexity of nested logic; the conflicting condition groups are connected by a second logical operator to form a complete expression of the conflicting format condition; the conflicting format condition is represented as a system-parsable data structure, which can be displayed through a logical expression tree, a list of condition objects, or a standardized string for subsequent conflict judgment and action scheduling.
[0075] Through this step, the original complex conflict operating conditions are standardized into conflict format conditions with clear structure and logical parsing, enabling the system to efficiently determine the constraint state of conflict actions, providing a basis for condition fusion for the execution of target actions, and improving the safety and reliability of the energy storage system's execution strategy.
[0076] S13033. Execute the target action according to each of the target condition groups and each of the conflict condition groups.
[0077] For example, the execution of a target action needs to consider both target condition grouping and conflict condition grouping to ensure that the requirements of the target action are met without violating the constraints of conflicting actions or system security rules.
[0078] In one embodiment, the target action can be executed as follows: traverse all target condition groups and determine whether the conditions are met according to the logical operators within each group; traverse all conflicting condition groups and determine whether the conflicting action is allowed to be executed or whether there are restrictions according to the logical operators within each group; when the target condition group is met and the conflicting condition group is allowed to be executed, the target action is directly triggered; when the target condition group is met but some conflicting condition groups have constraints, the action can be adjusted, such as reducing execution power, delaying start-up, or changing the execution order, to avoid conflict with the conflicting action; when the target condition group is not met, the target action is temporarily suspended, and the action will not be triggered even if the conflicting conditions are allowed.
[0079] In one embodiment, the target action can be executed by dynamically selecting based on priority, policy rules, or real-time status to determine whether to execute the target action or adjust the execution method.
[0080] Through the above steps, the execution of the target action not only strictly follows the target operating conditions, but also fully considers the constraints of conflicting actions, so as to realize the safe coordination and optimized control of the energy storage system under the condition of multiple strategies and multiple actions in parallel operation, and improve the robustness and reliability of the overall system.
[0081] Optionally, executing the target action based on each of the target condition groups and each of the conflict condition groups includes: If the first logical operator is logical OR and the second logical operator is logical OR, determine the coverage relationship between any of the conflicting condition groups and any of the target condition groups; if at least one of the conflicting condition groups covers at least one of the target condition groups, execute the target action.
[0082] For example, when both the first and second logical operators are logical OR, the conditions for both the target action and the conflicting action represent the semantics of "any condition must be met". To determine whether the target action is executable, it is necessary to determine the overriding relationship between the conflicting condition group and the target condition group. The overriding relationship represents the logical compatibility of the target action being executable under the current conflicting action constraint.
[0083] In one embodiment, the execution of the target action may be as follows: traverse each target condition group and each conflicting condition group, check the intersection or satisfaction of atomic conditions within the group, and when at least one conflicting condition group covers at least one target condition group, the execution condition is satisfied; if the execution condition is confirmed to be satisfied, the execution of the target action is triggered. If no covering relationship exists, the target action is postponed or adjusted to avoid conflict with conflicting actions, ensuring system security and stability.
[0084] By determining the coverage relationship, precise control over the execution of actions can be achieved when multiple target condition groups and conflict condition groups are logical ORs. This ensures that the target actions are executed safely and efficiently under the premise that the conflict action constraints allow, while maintaining the integrity of the logical semantics.
[0085] When the first logical operator is logical OR and the second logical operator is logical AND, determine the coverage relationship between any of the conflicting condition groups and any of the target condition groups; when each of the conflicting condition groups covers at least one of the target condition groups, execute the target action.
[0086] For example, when the internal logic of the target condition group is OR and the internal logic of the conflict condition group is AND, the execution of the target action must consider the constraints of each conflict condition group to ensure safety and consistency. The overriding relationship represents the logical compatibility of the target action group conditions under the current conflict action constraints, which can be used as the basis for execution.
[0087] In one embodiment, the execution of the target action may be as follows: for each target condition group and each conflict condition group, check whether the conflict condition group satisfies any condition of the target condition group, that is, whether the conflict condition group covers the target condition group; when all conflict condition groups cover at least one target condition group, the system triggers the target action; if any conflict condition group does not cover any target condition group, the target action is temporarily suspended or the strategy is adjusted to avoid violating the conflict constraints.
[0088] In this way, the safe and precise execution of target actions can be achieved in scenarios with lenient target conditions but strict conflict conditions, ensuring the system's coordination and robustness in environments with multiple concurrent actions and complex constraints.
[0089] Optionally, executing the target action based on each of the target condition groups and each of the conflict condition groups includes: When the first logical operator is logical AND and the second logical operator is logical OR, determine the coverage relationship between any of the conflicting condition groups and any of the target condition groups; when at least one of the conflicting condition groups covers each of the target condition groups, execute the target action.
[0090] In one embodiment, when the internal logic of the target condition group is AND and the internal logic of the conflict condition group is OR, the judgment rule for the execution of the target action needs to take into account both the strict requirements of the target action and the lenient constraints of the conflict action.
[0091] In one embodiment, the target action can be executed by: traversing each target condition group and each conflict condition group, checking whether the conflict condition group covers the target condition group, that is, any atomic condition of the conflict group satisfies all the conditions of the target condition group; if at least one conflict condition group covers all the target condition groups, the system triggers the execution of the target action.
[0092] In this way, in scenarios where target actions are strict and conflict actions are relatively lenient, global coverage judgment ensures the safe execution of target actions under conflict constraints, thereby improving the robustness and coordination of energy storage systems or multi-strategy action systems.
[0093] When the first logical operator is logical AND and the second logical operator is logical AND, determine the coverage relationship between any of the conflicting condition groups and any of the target condition groups; when each of the conflicting condition groups covers each of the target condition groups, execute the target action.
[0094] For example, when the internal logic of the target condition group is AND and the internal logic of the conflict condition group is AND, the execution of the target action requires that both the target condition and the conflict condition be strictly satisfied.
[0095] In one embodiment, the target action can be executed as follows: traverse all target condition groups and all conflict condition groups, and determine whether each conflict condition group completely covers each target condition group; if any conflict condition group fails to cover any target condition group, the target action is temporarily suspended or the strategy is adjusted; when the full coverage condition is met, the system triggers the target action.
[0096] Through this step, the system can achieve precise control over the execution of actions in scenarios where both the target action and conflicting actions have strict requirements, ensuring the safety, predictability, and robustness of the system operation.
[0097] Optionally, performing the target action includes: The target format conditions, target action parameters, and first priority corresponding to the target action are registered in the operation action list, and the energy storage system is controlled through the target action parameters.
[0098] For example, the target action can be an energy management operation to be performed in the energy storage system, the target format condition can be a condition rule used to limit the action triggering scenario or system state, the target action parameter can be a control quantity or instruction value used to specifically control the behavior of the energy storage system, and the first priority can be a level identifier used to identify the action execution order or scheduling priority.
[0099] In one embodiment, the registration method for the list of running actions can be: based on the identification information of the target action, its relevant conditions, parameters and priority information are added to the system's list of running actions or task queue in the form of record entries, so that the scheduling module can read and process them sequentially.
[0100] In one embodiment, the control method of the energy storage system may be: according to the registered target action parameters, drive the energy storage system to perform corresponding operations, including but not limited to adjusting the charging and discharging power, switching the operating mode, controlling the energy flow direction, or triggering the protection mechanism, so as to achieve precise management and dynamic response of the energy storage system.
[0101] Optionally, Figure 4 This is a flowchart illustrating the steps of an energy management strategy execution method provided in an embodiment of this application. (Reference) Figure 4 The specific execution method of this energy management strategy includes: S201, Strategy Action Decomposition and Modeling.
[0102] For example, the operating policies in the EMS system are broken down into multiple policy actions based on the granularity of the device operation interface. Each policy action corresponds to a specific device control interface, has a unique action name, and contains multiple action parameters related to that device operation interface.
[0103] S202, Construction of Strategy Action Conditions and Execution Logic.
[0104] For example, action conditions and action execution logic are constructed for each policy action. The action conditions are used to describe the scope of the policy action and participate in conflict judgment. The action execution logic is used to execute the corresponding device control operation after the policy action obtains the running permission.
[0105] S203. Registration and priority inheritance of running strategy actions.
[0106] For example, a runtime policy action list is maintained in the EMS system to record policy actions that have been granted execution rights. Each policy action inherits the priority of its parent policy. When a policy action requests execution, its priority is compared with that of actions with the same name in the runtime policy action list.
[0107] S204. Action conflict judgment based on multi-condition logic.
[0108] For example, when there are policy actions with the same name and competing priorities, conflict judgment is performed based on the multi-condition action conditions corresponding to the policy actions. By constraining the logical structure of the action conditions, the action conditions are divided into multiple condition groups, and the types of logical operators within and between groups are limited, thereby reducing the conflict judgment to a limited number of logical inclusion relationship judgment cases.
[0109] S205. Determination of operating rights based on conditional inclusion relationship.
[0110] For example, if a high-priority policy action is already running, it is determined whether the condition grouping of the low-priority policy action is included in the condition scope of the high-priority policy action. If the condition scope of the low-priority policy action is fully included, it is allowed to obtain running rights and added to the runtime policy action list; otherwise, it is prohibited from running.
[0111] Based on the above embodiments, Figure 5 This is a structural block diagram of an energy management strategy action execution device provided in an embodiment of this application. (Reference) Figure 5 The energy management strategy action execution device provided in this embodiment specifically includes: an extraction module 11, a retrieval module 12, and an execution module 13.
[0112] The extraction module 11 is configured to obtain the target energy management strategy to be executed and extract the target action to be executed from the target energy management strategy; the retrieval module 12 is configured to retrieve the conflicting action with the same name as the target action from the list of operating actions that record the current operating actions of the energy storage system; and the execution module 13 is configured to execute the target action according to the conflicting action and the target action.
[0113] Based on the above embodiments, the execution module 13 includes: a priority unit configured to acquire a first priority of the target energy management strategy corresponding to the target action and a second priority of the energy management strategy corresponding to the conflicting action; an operation condition unit configured to acquire the target operation condition of the target action and the conflicting operation condition of the conflicting action when the first priority is not higher than the second priority; and an action execution unit configured to execute the target action according to the target operation condition and the conflicting operation condition.
[0114] Based on the above embodiments, the action execution unit includes: a target format conversion subunit, configured to convert the target running conditions into target format conditions, wherein the target format conditions include multiple target condition groups connected by a first logical operator, and the type of logical operator in each target condition group is less than or equal to one; a conflict format conversion subunit, configured to convert the conflict running conditions into conflict format conditions, wherein the conflict format conditions include multiple conflict condition groups connected by a second logical operator, and the type of logical operator in each conflict condition group is less than or equal to one; and an action execution subunit, configured to execute the target action according to each target condition group and each conflict condition group.
[0115] Based on the above embodiments, the target format conversion subunit includes: an expression tree component configured to perform syntax parsing on the logical expression of the target running condition to construct a target expression tree; a normal form conversion component configured to perform logical equivalence transformation on the target running condition according to the target expression tree, converting the target running condition into disjunctive normal form or conjunctive normal form; a disjunctive normal form component configured to, when the conversion result of the target running condition is disjunctive normal form, determine each conjunct in the disjunctive normal form as a target condition group, such that the logical operator within each target condition group is logical AND and the logical operator between each target condition group is logical OR; a conjunctive normal form component configured to, when the conversion result of the target running condition is conjunctive normal form, determine each disjunct in the conjunctive normal form as a target condition group, such that the logical operator within each target condition group is logical OR and the logical operator between each target condition group is logical AND; and a target format component configured to construct target format conditions based on each target condition group and its corresponding logical operator.
[0116] Based on the above embodiments, the action execution subunit includes: a first coverage relationship component, configured to determine the coverage relationship between any of the conflicting condition groups and any of the target condition groups when the first logical operator is logical OR and the second logical operator is logical OR; a first execution component, configured to execute the target action when at least one of the conflicting condition groups covers at least one of the target condition groups; a second coverage relationship component, configured to determine the coverage relationship between any of the conflicting condition groups and any of the target condition groups when the first logical operator is logical OR and the second logical operator is logical AND; and a second execution component, configured to execute the target action when each of the conflicting condition groups covers at least one of the target condition groups.
[0117] Based on the above embodiments, the action execution subunit further includes: a third coverage relationship component, configured to determine the coverage relationship between any of the conflicting condition groups and any of the target condition groups when the first logical operator is logical AND and the second logical operator is logical OR; a third execution component, configured to execute the target action when at least one of the conflicting condition groups covers each of the target condition groups; a fourth coverage relationship component, configured to determine the coverage relationship between any of the conflicting condition groups and any of the target condition groups when the first logical operator is logical AND and the second logical operator is logical AND; and a fourth execution component, configured to execute the target action when each of the conflicting condition groups covers each of the target condition groups.
[0118] Based on the above embodiments, the execution component includes: an energy storage control sub-component, configured to register the target format conditions, target action parameters and first priority corresponding to the target action to the running action list, and control the energy storage system through the target action parameters.
[0119] The energy management strategy action execution device provided in this application embodiment, by constructing a hierarchical collaborative processing system composed of an extraction module 11, a retrieval module 12, and an execution module 13, achieves action-level analysis of energy management strategies, identification of conflicting actions, and orderly execution of strategy actions, thereby improving the accuracy, stability, and controllability of energy management strategy execution in complex operating scenarios. The extraction module 11 possesses strategy analysis and action extraction capabilities, used to obtain the target energy management strategy to be executed and extract the target actions to be executed from the target energy management strategy, refining the original strategy-based scheduling logic into action-based execution objects, providing a foundation for subsequent conflict judgment and refined control. The retrieval module 12 undertakes the task of action conflict identification, retrieving conflicting actions with the same name as the target action from the list of currently operating actions of the energy storage system, thereby realizing the perception and matching of currently running control behaviors in the system, and providing a basis for operational coordination between strategy actions. The execution module 13 is responsible for executing the target action based on the comprehensive judgment result of the target action and conflicting actions, controlling the corresponding equipment to execute the target action when operating conditions are met, or constraining and adjusting the execution of the target action when conflict restrictions exist. By extracting action analysis from the extraction module, identifying conflicting actions from the retrieval module, and coordinating control from the execution module, this device can achieve orderly execution of strategy actions and conflict avoidance in operating environments with multiple concurrent strategies and complex equipment control behaviors. It fully leverages the coordinating role of the energy management system in energy storage system scheduling and equipment control, making it suitable for various energy management application scenarios.
[0120] The energy management strategy action execution device provided in this application embodiment can be used to execute the energy management strategy action execution method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0121] Figure 6 This is a schematic diagram of the structure of an energy management strategy action execution device provided in an embodiment of this application, with reference to... Figure 6The energy management strategy execution device includes a processor 21, a memory 22, a communication device 23, an input device 24, and an output device 25. The number of processors 21 and the number of memories 22 in the energy management strategy execution device can be one or more. The processor 21, memory 22, communication device 23, input device 24, and output device 25 of the energy management strategy execution device can be connected via a bus or other means.
[0122] The memory 22, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the energy management strategy action execution method in any embodiment of this application (e.g., extraction module 11, retrieval module 12, and execution module 13 in the energy management strategy action execution device). The memory 22 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a function; the data storage area may store data created based on the use of the device, etc. Furthermore, the memory 22 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0123] The communication device 23 is used for data transmission.
[0124] The processor 21 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 22, thereby realizing the above-mentioned energy management strategy action execution method.
[0125] Input device 24 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the device. Output device 25 may include display devices such as a display screen.
[0126] The energy management strategy action execution device provided above can be used to execute the energy management strategy action execution method provided in the above embodiments, and has corresponding functions and beneficial effects.
[0127] This application embodiment also provides a storage medium containing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to execute an energy management strategy action execution method. The energy management strategy action execution method includes: obtaining a target energy management strategy to be executed; extracting a target action to be executed from the target energy management strategy; retrieving a conflicting action with the same name as the target action from a list of operating actions that record the current operating actions of the energy storage system; and executing the target action according to the conflicting action and the target action.
[0128] Storage medium—any type of memory device or storage device. The term "storage medium" is intended to include: mounting media, such as CD-ROM, floppy disk, or magnetic tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. Storage medium may also include other types of memory or combinations thereof. Furthermore, storage medium may reside in a first computer system in which a program is executed, or it may reside in a different second computer system connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (e.g., in different computer systems connected via a network). Storage medium may store program instructions (e.g., specifically implemented as a computer program) executable by one or more processors.
[0129] Of course, the storage medium containing computer-executable instructions provided in the embodiments of this application is not limited to the energy management strategy action execution method described above, but can also execute related operations in the energy management strategy action execution method provided in any embodiment of this application.
[0130] The energy management strategy action execution device, storage medium, and energy management strategy action execution equipment provided in the above embodiments can execute the energy management strategy action execution method provided in any embodiment of this application. For technical details not described in detail in the above embodiments, please refer to the energy management strategy action execution method provided in any embodiment of this application.
[0131] The above description is merely a preferred embodiment and the technical principles employed in this application. This application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions that can be made by those skilled in the art will not depart from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of this application. The scope of this application is determined by the scope of the claims.
Claims
1. A method for executing energy management strategy actions, characterized in that, include: Obtain the target energy management strategy to be executed, and extract the target action to be executed from the target energy management strategy; Retrieve conflicting actions with the same name as the target action from the list of current operating actions of the energy storage system; Execute the target action based on the conflict action and the target action.
2. The energy management strategy action execution method according to claim 1, characterized in that, The step of executing the target action based on the conflicting action and the target action includes: Obtain the first priority of the target energy management strategy corresponding to the target action and the second priority of the energy management strategy corresponding to the conflicting action; If the first priority is not higher than the second priority, obtain the target operation conditions of the target action and the conflict operation conditions of the conflicting action; The target action is executed according to the target operating conditions and the conflicting operating conditions.
3. The energy management strategy action execution method according to claim 2, characterized in that, The step of executing the target action based on the target operating conditions and the conflicting operating conditions includes: The target running conditions are converted into target format conditions, which include multiple target condition groups connected by a first logical operator, and the type of logical operator in each target condition group is less than or equal to one. The conflicting execution conditions are converted into conflicting format conditions, which include multiple conflicting condition groups connected by a second logical operator, and each conflicting condition group contains one or more logical operators. The target action is executed according to each of the target condition groups and each of the conflict condition groups.
4. The energy management strategy action execution method according to claim 3, characterized in that, The step of converting the target running conditions into target format conditions includes: The logical expression of the target running conditions is parsed to construct a target expression tree; Based on the target expression tree, the target running conditions are logically equivalently transformed into disjunctive normal form or conjunctive normal form. When the transformation result of the target running condition is disjunctive normal form, each conjunction in the disjunctive normal form is determined as a target condition group, such that the logical operator within each target condition group is logical AND and the logical operator between each target condition group is logical OR. When the transformation result of the target running conditions is conjunctive normal form, each disjunct in the conjunctive normal form is determined as a target condition group, such that the logical operator within each target condition group is logical OR and the logical operator between each target condition group is logical AND. Target format conditions are constructed based on each of the target condition groups and their corresponding logical operators.
5. The energy management strategy action execution method according to claim 3, characterized in that, The step of executing the target action based on each of the target condition groups and each of the conflict condition groups includes: If the first logical operator is logical OR and the second logical operator is logical OR, determine the coverage relationship between any of the conflicting condition groups and any of the target condition groups; The target action is performed if at least one of the conflicting condition groups covers at least one of the target condition groups; When the first logical operator is logical OR and the second logical operator is logical AND, determine the coverage relationship between any of the conflicting condition groups and any of the target condition groups; The target action is performed if each of the conflict condition groups covers at least one of the target condition groups.
6. The energy management strategy action execution method according to claim 3, characterized in that, The step of executing the target action based on each of the target condition groups and each of the conflict condition groups includes: If the first logical operator is logical AND and the second logical operator is logical OR, determine the coverage relationship between any conflict condition group and any target condition group; The target action is performed if at least one of the conflicting condition groups covers each of the target condition groups; When the first logical operator is logical AND and the second logical operator is logical AND, determine the coverage relationship between any of the conflicting condition groups and any of the target condition groups; The target action is performed if each of the conflict condition groups covers each of the target condition groups.
7. The method for executing energy management strategy actions according to claim 5 or 6, characterized in that, The execution of the target action includes: The target format conditions, target action parameters, and first priority corresponding to the target action are registered in the operation action list, and the energy storage system is controlled through the target action parameters.
8. An energy management strategy action execution device, characterized in that, include: The extraction module is configured to acquire the target energy management strategy to be executed, and extract the target action to be executed from the target energy management strategy; The retrieval module is configured to retrieve conflicting actions with the same name as the target action from a list of operating actions that record the current operating actions of the energy storage system. The execution module is configured to execute the target action based on the conflicting action and the target action.
9. An energy management strategy action execution device, characterized in that, include: One or more processors; A memory that stores one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the energy management strategy action execution method as described in any one of claims 1-7.
10. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the energy management strategy action execution method as described in any one of claims 1-7.