Energy management system control method, device, apparatus and storage medium

By obtaining the power and configuration table of the source modules in the energy management system structure, the power control strategy is determined, which solves the problem that the existing system is difficult to adapt to the differences in strategies of different projects, and realizes flexible adjustment of system strategy and cost reduction.

CN122246874APending Publication Date: 2026-06-19SUNWODA ENERGY TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SUNWODA ENERGY TECHNOLOGY CO LTD
Filing Date
2026-03-16
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

Existing energy management systems are ill-suited to the different strategies across projects, resulting in long development cycles, high debugging costs, and difficulty in flexibly adjusting strategies throughout the project lifecycle.

Method used

By acquiring the power of the source modules in the energy management system structure and combining it with the received configuration table, a suitable power control strategy is determined. The selected power control strategy is then used for system control, enabling flexible adjustment of the system strategy.

Benefits of technology

It reduces development cycle and debugging costs, improves the flexibility of system strategy adjustment, and ensures stable system operation and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122246874A_ABST
    Figure CN122246874A_ABST
Patent Text Reader

Abstract

This application provides a control method, apparatus, device, and storage medium for an energy management system. It belongs to the field of energy management technology. The method includes: acquiring the structure of an energy management system, wherein the energy management system structure includes a source-load module; receiving a configuration table sent by a configuration terminal, the configuration table including at least one power control strategy and the priority of the power control strategy, the power control strategy including load role, source role, source role priority, and balance adjustment rules; acquiring the power of the source-load module; determining a target power control strategy based on the power of the source-load module, the priority of the power control strategy, and the load role, source role, and balance adjustment rules corresponding to the power control strategy; and controlling the source-load module using the load role, source role, source role priority, and balance adjustment rules of the target power control strategy. This solves the problem of the difficulty in flexibly adjusting customized energy management systems throughout the entire project lifecycle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of energy management technology, and in particular to an energy management system control method, device, equipment and storage medium. Background Technology

[0002] In new energy projects, energy management systems typically need to coordinate the input and output of different energy sources and the charging and discharging strategies of energy storage devices in order to achieve efficient energy utilization, dynamic load balance, and system stability.

[0003] Currently, new energy projects often face challenges such as diversified energy forms, complex application scenarios (such as backflow prevention, backup power priority, dynamic load adjustment, etc.), and frequent changes in project requirements.

[0004] However, the inventors have found that the relevant technologies have at least the following technical problems: existing energy management systems are mostly customized and difficult to adapt to the differences in strategies between different projects, resulting in long development cycles, high debugging costs, and difficulty in flexibly adjusting strategies throughout the entire project lifecycle. Summary of the Invention

[0005] This application provides an energy management system control method, apparatus, equipment, and storage medium to solve the problem that current energy management systems are difficult to adapt to the differences in strategies between different projects, resulting in long development cycles, high debugging costs, and difficulty in flexibly adjusting strategies throughout the entire project lifecycle.

[0006] In a first aspect, embodiments of this application provide an energy management system control method, comprising: acquiring an energy management system structure, wherein the energy management system structure includes a source load module; receiving a configuration table sent by a configuration terminal, the configuration table including at least one power control strategy and the priority of the power control strategy, the power control strategy including load role, source role, source role priority and balance adjustment rules; acquiring the power of the source load module; determining a target power control strategy based on the power of the source load module, the priority of the power control strategy and the load role, source role and balance adjustment rules corresponding to the power control strategy; and controlling the source load module using the load role, source role, source role priority and balance adjustment rules of the target power control strategy.

[0007] In one possible implementation, the target power control strategy is determined based on the power of the source module, the priority of the power control strategy, and the load role, source role, and balance adjustment rules corresponding to the power control strategy. This includes: determining the highest priority power control strategy as the pending power control strategy; determining the sum of the input power of the load roles in the pending power control strategy based on the load roles and power of the source modules in the pending power control strategy; determining the sum of the output power of the source roles from the highest source role priority to the target source role priority based on the source role, power of the source modules, and source role priority in the pending power control strategy; and determining the target power control strategy or a new pending power control strategy based on the sum of output power, the sum of input power, source role priority, and balance adjustment rules.

[0008] In one possible implementation, a target power control strategy or a new pending power control strategy is determined based on the sum of output power, the sum of input power, source role priority, and balance adjustment rules. This includes: if the sum of output power is greater than the sum of input power, and a low-priority source role with a role priority lower than the target source role priority can act as either a source role or a load role, then the lower-priority power control strategy is determined as the new pending power control strategy, wherein the low-priority source role is added as a load role in the new pending power control strategy; if the sum of output power is less than the sum of input power, and the target source role is the lowest priority source role, then the lower-priority power control strategy is determined as the new pending power control strategy; if the sum of output power is greater than or equal to the sum of input power, and none of the source roles after the target source role priority can act as a source role, then the pending power control strategy is determined as the target power control strategy.

[0009] In one possible implementation, the target power control strategy employs load roles, source roles, source role priorities, and balance adjustment rules to control the source load modules, including: identifying the source load modules corresponding to the source roles as source modules; identifying the source load modules corresponding to the load roles as load modules; prioritizing the supply of power from source modules with higher priorities to the load modules based on source role priorities; and adjusting the power of the source load modules according to the balance adjustment rules.

[0010] In one possible implementation, the power of the source module is adjusted according to the balance adjustment rule, including: obtaining the output power of the source module and the input power of the load module; subtracting the input power from the output power to obtain the power difference; and adjusting the output power of the source module or the input power of the load module according to the power difference.

[0011] In one possible implementation, the balance adjustment rules include a first adjustment rule when the sum of the output power is greater than the sum of the input power, and a second adjustment rule when the sum of the output power is less than the sum of the input power; adjusting the output power of the source module or the input power of the load module according to the power difference includes: if the power difference is positive, reducing the output power of the source module corresponding to the first adjustment rule; if the power difference is negative, reducing the input power of the load module corresponding to the second adjustment rule.

[0012] In one possible implementation, before obtaining the energy management system structure, the process includes: if a module creation instruction for a target source carrier module is detected, adding the target source carrier module to the role layer according to the module creation instruction; if a device creation instruction for a target energy control device is detected, adding the target energy control device to the logic layer according to the device creation instruction; and creating a connection between the source carrier module in the role layer and the energy control device in the logic layer to obtain the energy management system structure.

[0013] Secondly, embodiments of this application provide an energy management system control device, comprising: a system acquisition module for acquiring an energy management system structure, wherein the energy management system structure includes a source load module; a configuration receiving module for receiving a configuration table sent by a configuration terminal, the configuration table including at least one power control strategy and the priority of the power control strategy, the power control strategy including load role, source role, source role priority and balance adjustment rules; a power acquisition module for acquiring the power of the source load module; a strategy determination module for determining a target power control strategy based on the power of the source load module, the priority of the power control strategy and the load role, source role and balance adjustment rules corresponding to the power control strategy; and a module control module for controlling the source load module using the load role, source role, source role priority and balance adjustment rules of the target power control strategy.

[0014] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0015] The memory stores instructions that the computer executes;

[0016] The processor executes computer execution instructions stored in memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0017] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0018] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0019] The energy management system control method, apparatus, device, and storage medium provided in this application embodiment obtain the energy management system structure, obtain the power of the source load modules in the energy management system structure, and determine a suitable power control strategy by combining it with the received configuration table. The selected power control strategy is used to control the energy management system, thereby realizing system control by using the configuration table, making the system strategy adjustment more flexible, and reducing the development cycle and debugging cost. Attached Figure Description

[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0021] Figure 1 A schematic diagram of a scenario for the energy management system control method provided in this application;

[0022] Figure 2 A flowchart illustrating the energy management system control method provided in this application embodiment;

[0023] Figure 3 This is a schematic diagram of the structure of the energy management system control device provided in the embodiments of this application;

[0024] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0025] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0026] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0027] In new energy projects, the energy system needs to coordinate the transmission and distribution of various energy sources with the charging and discharging strategies of energy storage devices in order to achieve efficient energy utilization, dynamic load balance and stable system operation.

[0028] Current new energy projects generally face multiple challenges: energy forms are becoming increasingly diversified, application scenarios are becoming more complex (such as anti-reverse flow control, backup power priority management, and dynamic load adjustment), and project requirements often change frequently as actual scenarios iterate. However, mainstream energy management systems mostly adopt a customized development model, which makes it difficult to adapt to the different strategies of different projects. This not only results in long development cycles and high debugging costs, but also makes it impossible to flexibly adjust strategies throughout the entire project lifecycle.

[0029] To address the aforementioned technical problems, the inventors propose the following technical concept: by receiving a configuration table, the power of the source module is obtained, and the source module in the energy management system is controlled according to the contents of the configuration table and the power of the source module.

[0030] This application is applied to scenarios involving the control of energy management systems. It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use, and processing of related data must comply with relevant laws, regulations, and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0031] Figure 1 A schematic diagram illustrating a scenario for the energy management system control method provided in this application. (Example) Figure 1 In this scenario, the components include: configuration unit 101 and control unit 102.

[0032] In the specific implementation process, the configuration unit 101 may include computers, servers, tablets, mobile phones, PDAs (personal digital assistants), and laptops, etc., which can input and output data, and may also include input devices such as keyboards and mice.

[0033] The control unit 102 can be a computer, server, cluster, etc., or it can be a CPU (central processing unit), programmable logic device (PLD), control board, ECU (electronic control unit), etc.

[0034] The control unit 102 is used to receive the configuration table sent by the configuration terminal and control the energy management system according to the configuration table.

[0035] This can be achieved using a cluster of one or more servers with stronger processing power and higher security. Where possible, computers or laptops with strong computing power can also be used as alternatives.

[0036] The connection between the configuration terminal 101 and the control unit 102 can be either wired or wireless.

[0037] It is understood that the scenarios illustrated in the embodiments of this application do not constitute a specific limitation on the control method of the energy management system. In other feasible embodiments of this application, the above scenarios may include more or fewer components than illustrated, or combine some components, or split some components, or arrange different components, which can be determined according to the actual application scenario and are not limited here. Figure 1 The scenario shown can be implemented by hardware, software, or a combination of both.

[0038] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0039] Figure 2 This is a flowchart illustrating the energy management system control method provided in an embodiment of this application. The executing entity in this embodiment may be... Figure 1 The control unit 102 can also be a computer and / or a mobile phone, etc., and this embodiment does not impose any particular limitation on it. Figure 2 As shown, the method includes:

[0040] S201: Obtain the energy management system structure, which includes the source module.

[0041] In this step, hierarchical data can be retrieved through the system architecture read interface. The energy management system architecture contains core information about the controlled objects (source modules) and control links (the connection relationships between modules and devices). Within the energy management system architecture, source modules can have corresponding attributes.

[0042] The attributes of the source module may include logical interface, address, communication parameters, rated voltage, rated current, rated power, overload capacity, and over / under voltage warning parameters.

[0043] S202: Receive a configuration table sent by the configuration terminal. The configuration table includes at least one power control policy and the priority of the power control policy. The power control policy includes load role, source role, source role priority and balance adjustment rules.

[0044] In this step, a configuration table sent by the configuration terminal is received through a data interaction interface. The configuration table may contain preset rule data. Table 1 is a schematic table of the configuration table provided in the embodiment of this application. Table 1 provides load role, source role, balance adjustment rules when the source power is greater than the load power, and balance adjustment rules when the load power is greater than the source power. In the source role column, the source role to the left of the ">>" symbol has higher priority than the source role to the right of the ">>" symbol. SOC[10,100] indicates that the battery's remaining power percentage is between 10% and 100%. The battery will only be used as the source role when the battery's remaining power percentage is between 10% and 100%. "Grid (and battery SOC[0,30])" indicates that the grid will only be used to charge the battery when the battery's remaining power percentage reaches "[0,30]".

[0045] Table 1. Schematic diagram of the configuration table

[0046]

[0047] S203: Obtain the power of the source module.

[0048] In this step, real-time power data of each source module is obtained through sensor acquisition or feedback from the communication interface written in the source module properties.

[0049] S204: Determine the target power control strategy based on the power of the source module, the priority of the power control strategy, and the load role, source role, and balance adjustment rules corresponding to the power control strategy.

[0050] In this step, a composite logic combining data matching and priority sorting is used to filter the preset strategies.

[0051] For example, in Table 1, in the power control strategy with priority 1, the total output power of the main source, battery SOC[10,100], and the power grid is greater than the input power of the main load. Since the electric vehicle can be used as both a source and a load, the system switches to the power control strategy with priority 2. It is then determined whether the power control strategy with priority 2 meets the current requirements. If it does, the power control strategy with priority 2 is used to control the source load module in the system.

[0052] S205: The load role, source role, source role priority, and balance adjustment rules of the target power control strategy are used to control the source load module.

[0053] In this step, the structured parameters of the target strategy are transformed into specific control commands, which are then executed by the energy control devices in the logic layer of the energy management system architecture to realize the control source module.

[0054] As can be seen from the description of the above embodiments, the embodiments of this disclosure obtain the structure of the energy management system, obtain the power of the source load module in the energy management system structure, and determine a suitable power control strategy by combining the received configuration table. The selected power control strategy is used to control the energy management system, thereby realizing system control by using the configuration table, making the system strategy adjustment more flexible, and reducing the development cycle and debugging cost.

[0055] In one possible implementation, step S204 above, determining the target power control strategy based on the power of the source module, the priority of the power control strategy, and the load role, source role, and balance adjustment rules corresponding to the power control strategy, includes:

[0056] S2041: The highest priority power control strategy is determined as the pending power control strategy.

[0057] In this step, the highest priority strategy is selected as the initial verification target. For example, in Table 1, the power control strategy with priority 1 is selected as the pending power control strategy.

[0058] S2042: Determine the sum of the input power of the load roles in the undetermined power control strategy based on the load roles and power of the source load modules.

[0059] In this step, the source-load module may include source modules and load modules. Some modules can serve as both source and load modules. A role matching method is used to select the load modules corresponding to the load roles of the pending strategies from the source-load modules, and then the total input power is calculated by power accumulation.

[0060] S2043: Based on the source role, power of the source module, and source role priority in the pending power control strategy, determine the sum of the output power of the source roles from the highest source role priority to the target source role priority.

[0061] In this step, the output power is accumulated sequentially from the highest priority source character up to the target priority source character.

[0062] For example, in Table 1, the power control strategy with priority 2 first adds the power of the main source and the battery. If it is sufficient for the power input of the electric vehicle and the main load, then the power control strategy with priority 2 is determined as the target power control strategy.

[0063] S2044: Determine the target power control strategy or a new pending power control strategy based on the sum of output power, the sum of input power, source role priority, and balance adjustment rules.

[0064] In this step, the supply and demand balance can be determined by the difference between the sum of the output and input power. Combined with the role switching capability of the source role and the balance adjustment rules, it is verified whether the current strategy can achieve balance. If it is not feasible, priority jump is triggered to select a new pending power control strategy.

[0065] As can be seen from the description of the above embodiments, the embodiments of this disclosure prioritize the selection of the highest priority strategy as the verification benchmark, calculate the total input power of the load and the output power accumulated by the source side according to the priority under the pending strategy, and then combine the supply and demand difference, role switching capability and balance adjustment rules to judge the feasibility of the strategy and trigger priority jump as needed. This realizes the screening and dynamic adjustment of energy control strategies, ensures the accurate matching of the target power control strategy with the current system supply and demand status, and provides a guarantee for the stable execution of subsequent energy regulation.

[0066] In one possible implementation, step S2044 above, determining the target power control strategy or a new pending power control strategy based on the sum of output power, the sum of input power, source role priority, and balance adjustment rules, includes:

[0067] S441: If the sum of output power is greater than the sum of input power, and the low-priority source role has a lower role priority than the target source role priority, it can be used as either a source role or a load role. Then, the lower-priority power control strategy is determined as a new pending power control strategy. In the new pending power control strategy, the low-priority source role is added as a load role.

[0068] In this step, for example, in Table 1, in the power control strategy with priority 1, the sum of the output power of the main source, battery and grid (source role with target source role priority) is greater than the sum of the input power, and the electric vehicle (low-priority source role with role priority lower than target source role priority) can be used as both a source role and a load role. In this case, the power control strategy with priority 2 is determined as a new pending power control strategy, and the electric vehicle is added to the load role.

[0069] S442: If the sum of output power is less than the sum of input power, and the target source role is the source role with the lowest priority, then the power control strategy with the lower priority is determined as the new pending power control strategy.

[0070] In this step, for example in Table 1, if the sum of the output power of all source roles in the power control strategy with priority 2 is less than the sum of the input power of all load roles, then the power control strategy with priority 3 will be determined as the new pending power control strategy.

[0071] S443: If the sum of output power is greater than or equal to the sum of input power, and none of the source roles after the target source role priority can be used as source roles, then the pending power control strategy is determined as the target power control strategy.

[0072] In this step, based on the judgment logic of "supply and demand balance met + adjustment capacity exhausted", the final execution strategy is locked. When the source power can cover the load demand and there are no other adjustable source roles (no role switching or the possibility of adding a new power supply), the current pending strategy is feasible to execute, and the current pending power control strategy is determined as the final target power control strategy.

[0073] As can be seen from the description of the above embodiments, the embodiments of this disclosure accumulate the output power of the source roles in a priority manner to obtain the sum of the output power, and determine whether the sum of the output power can meet the input power requirements of the source roles. If the input power requirements of the roles are met and there are no additional load roles available, the power control strategy is used. If there are additional load roles available, or if the source roles cannot meet the power requirements of the load roles, it is then determined whether the lower priority power control strategy meets the requirements. Finally, a power control strategy suitable for the current system state is found, so that the use of the configuration table can increase the overall operating efficiency of the system.

[0074] In one possible implementation, step S205 above, which uses the load role, source role, source role priority, and balance adjustment rules of the target power control strategy to control the source load module, includes:

[0075] S2051: Determine the source module corresponding to the source role as the source module.

[0076] In this step, source modules whose names or types are the same as the source role can be identified as source modules.

[0077] S2052: Determine the source load module corresponding to the load role as the load module.

[0078] This step is similar to step S2051 above, and will not be repeated here.

[0079] S2053: Based on the source role priority, prioritize the source module with higher priority to supply power to the load module.

[0080] In this step, the power supply to high-priority source modules is controlled first to ensure that the power supply action meets the preset priority requirements and to achieve orderly regulation of energy supply.

[0081] For example, in Table 1, in the power control strategy with priority 1, the main power source is used first, followed by the battery, then the electric vehicle, and finally the generator.

[0082] S2054: Adjust the power of the source load module according to the balance adjustment rules.

[0083] In this step, the balance adjustment rules can include balance adjustment rules when the source power is greater than the load power and balance adjustment rules when the load power is greater than the source power. The corresponding source and load modules can be adjusted according to the magnitude of the total output power of the source module and the magnitude of the total input power of the load module.

[0084] As can be seen from the description of the above embodiments, the embodiments of this disclosure find the source module corresponding to the source role and the load module corresponding to the load role, control the source module to supply power to the load module, and adjust the power of power supply and power reception using balance adjustment rules to achieve the balance of supply and demand of source and load in the energy management system, ensure the safety of the energy management system, increase the operating efficiency of the energy management system, avoid the energy management system from generating safety risks, and at the same time avoid the energy management system from operating too inefficiently.

[0085] In one possible implementation, step S2054 above, adjusting the power of the source load module according to the balance adjustment rule, includes:

[0086] S541: Obtain the output power of the source module and the input power of the load module.

[0087] In this step, the raw power signal can be acquired through the power metering unit (such as a Hall sensor or power transmitter) built into the source module or load module, and then transmitted to the local data acquisition unit after analog-to-digital conversion. Alternatively, the power metering unit built into the energy control equipment can be used to acquire the output power of the source module and the input power of the load module.

[0088] S542: The power difference is obtained by subtracting the input power from the output power.

[0089] In this step, for example, if the output power is 1.5 MW and the input power is 1.4 MW, the power difference is 0.1 MW. As another example, if the output power is 1.2 MW and the input power is 1.3 MW, the power difference is -0.1 MW. And as yet another example, if the output power is 2 MW and the input power is 1.7 MW, the power difference is 0.3 MW.

[0090] S543: Adjust the output power of the source module or the input power of the load module according to the power difference.

[0091] In this step, based on the logic of differential compensation, corresponding adjustment actions can be triggered according to the positive or negative direction of the power difference. When the power difference is positive, the source output is reduced or the load input is increased; when the power difference is negative, the source output is increased or the load input is reduced.

[0092] As can be seen from the description of the above embodiments, the embodiments of this disclosure obtain the power data of the source output and the load input, and then calculate the power difference that reflects the degree and direction of imbalance. Based on the power difference, the output power or input power is adjusted to accurately adjust the corresponding source and load modules, and avoids invalid fine-tuning and inaccurate adjustment, thus ensuring the system's supply and demand balance and stable operation.

[0093] In one possible implementation, the balance adjustment rules include a first adjustment rule when the sum of the output power is greater than the sum of the input power, and a second adjustment rule when the sum of the output power is less than the sum of the input power.

[0094] In one possible implementation, the first adjustment rule may include reducing the power of module types, or tripping operations, etc. The second adjustment rule may also include reducing the power of module types.

[0095] In step S543 above, adjusting the output power of the source module or the input power of the load module based on the power difference includes:

[0096] S5431: If the power difference is positive, reduce the output power of the source module corresponding to the first adjustment rule.

[0097] In this step, when a positive power difference (source excess) is detected, the target source module in the first adjustment rule is queried. Then, the required power reduction magnitude is calculated based on the absolute value of the power difference, a corresponding power reduction instruction is generated, and the power reduction instruction is sent to the target source module or its control device to reduce the power of the target source module. The power reduction difference is equal to or close to the power difference.

[0098] S5432: If the power difference is negative, reduce the input power of the load module corresponding to the second adjustment rule.

[0099] This step is similar to step S5431 above, and will not be repeated here.

[0100] As can be seen from the description of the above embodiments, the embodiments of this disclosure adjust the power of the source module or load module according to the magnitude of the power difference using corresponding adjustment rules, so as to match the input and output of the system, maintain the stability of system operation, and ensure the safety of system operation.

[0101] In one possible implementation, prior to obtaining the energy management system structure in step S201 above, the following is included:

[0102] S220: If a module creation instruction for the target source module is detected, the target source module is added to the role layer according to the module creation instruction.

[0103] In this step, a visual drag-and-drop interaction mechanism is used to establish an affiliation between the target source module and the role layer, completing the initial anchoring of functional roles. A drag-and-drop component based on the front-end component library listens for user actions. When a drag-and-drop action is detected, a module creation command is triggered. This command can also carry the core parameters, rated power, and communication address of the target source module. The system backend encapsulates these parameters into structured data and stores them in a role-specific database table (the table structure includes module ID, role type, attribute parameters, and status identifier fields), completing the affiliation binding between the module and the role layer. Its core logic is to incorporate physical / virtual source modules into role-layer management through standardized interaction and data storage rules, providing standardized digital identity and attribute support for subsequent role-based source / load differentiation and strategy matching.

[0104] S221: If a device creation instruction for the target energy control device is detected, the target energy control device is added to the logic layer according to the device creation instruction.

[0105] This step is similar to step S220 above, and will not be repeated here.

[0106] S222: Create a connection between the source module in the role layer and the energy control device in the logic layer to obtain the energy management system structure.

[0107] In this step, a connection can be created between the source module and the energy control device based on the parameters of the source module and the energy control device, or a preset matching relationship, that is, the energy control device controls the source module.

[0108] As can be seen from the description of the above embodiments, the embodiments of this disclosure first complete the digital modeling of the source module through visual interaction and parameterized configuration and incorporate it into the role layer, then set the control device into the logic layer, create a link between the source module and the control device, realize the decoupling of source requirements and control execution, and also provide a standardized digital structure and instruction transmission path for subsequent system strategy formulation and equipment regulation, ensuring the stability and scalability of the entire energy management system architecture and increasing the control flexibility of the energy management system.

[0109] Figure 3 This is a schematic diagram of the structure of the energy management system control device provided in an embodiment of this application. Figure 3 As shown, the energy management system control device 300 includes: a system acquisition module 301, a configuration receiving module 302, a power acquisition module 303, a strategy determination module 304, and a module control module 305.

[0110] The system acquisition module 301 is used to acquire the energy management system structure, wherein the energy management system structure includes a source carrier module;

[0111] The configuration receiving module 302 is used to receive a configuration table sent by the configuration terminal. The configuration table includes at least one power control strategy and the priority of the power control strategy. The power control strategy includes load role, source role, source role priority and balance adjustment rules.

[0112] The power acquisition module 303 is used to acquire the power of the source module;

[0113] The strategy determination module 304 is used to determine the target power control strategy based on the power of the source load module, the priority of the power control strategy, and the load role, source role, and balance adjustment rules corresponding to the power control strategy.

[0114] The module control module 305 is used to control the source load module by adopting the load role, source role, source role priority and balance adjustment rules of the target power control strategy.

[0115] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.

[0116] In one possible implementation, the strategy determination module 304 is used to determine the highest priority power control strategy as the pending power control strategy; determine the sum of the input power of the load roles in the pending power control strategy based on the load roles and power of the source load modules in the pending power control strategy; determine the sum of the output power of the source roles from the highest source role priority to the target source role priority based on the source role, power of the source load modules, and source role priority in the pending power control strategy; and determine the target power control strategy or a new pending power control strategy based on the sum of output power, the sum of input power, source role priority, and balance adjustment rules.

[0117] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.

[0118] In one possible implementation, the strategy determination module 304 is configured to: if the sum of output power is greater than the sum of input power, and a low-priority source role with a role priority lower than the target source role priority can act as either a source role or a load role, then determine the lower-priority power control strategy as a new pending power control strategy, wherein the low-priority source role is added as a load role in the new pending power control strategy; if the sum of output power is less than the sum of input power, and the target source role is the lowest priority source role, then determine the lower-priority power control strategy as a new pending power control strategy; if the sum of output power is greater than or equal to the sum of input power, and none of the source roles after the target source role priority can act as a source role, then determine the pending power control strategy as the target power control strategy.

[0119] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.

[0120] In one possible implementation, the module control module 305 is used to identify the source load module corresponding to the source role as the source module; identify the source load module corresponding to the load role as the load module; control the source module with higher priority to supply power to the load module according to the source role priority; and adjust the power of the source load module according to the balance adjustment rules.

[0121] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.

[0122] In one possible implementation, the module control module 305 is used to obtain the output power of the source module and the input power of the load module; subtract the input power from the output power to obtain the power difference; and adjust the output power of the source module or the input power of the load module according to the power difference.

[0123] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.

[0124] In one possible implementation, the balance adjustment rules include a first adjustment rule when the sum of the output power is greater than the sum of the input power, and a second adjustment rule when the sum of the output power is less than the sum of the input power.

[0125] The module control module 305 is used to reduce the output power of the source module corresponding to the first adjustment rule if the power difference is positive, and reduce the input power of the load module corresponding to the second adjustment rule if the power difference is negative.

[0126] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.

[0127] In one possible implementation, the energy management system control device 300 further includes a system establishment module 306.

[0128] The system establishes module 306, which is used to add the target source load module to the role layer according to the module creation instruction if a module creation instruction for the target source load module is detected; and to add the target energy control device to the logic layer according to the device creation instruction if a device creation instruction for the target energy control device is detected; and to create a connection between the source load module in the role layer and the energy control device in the logic layer to obtain the energy management system structure.

[0129] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.

[0130] To implement the above embodiments, this application also provides an electronic device.

[0131] refer to Figure 4 The diagram illustrates a structural schematic of an electronic device 400 suitable for implementing embodiments of this application. The electronic device 400 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, personal digital assistants (PDAs), portable Android devices (PADs), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 4 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0132] like Figure 4As shown, the electronic device 400 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 401 and a memory 402 communicatively connected to the processor. The processor can perform various appropriate actions and processes based on programs stored in the memory 402, computer-executed instructions, or programs loaded from the storage device 408 into the random access memory (RAM) 403, thereby implementing the energy management system control method in any of the above embodiments. The memory may be a read-only memory (ROM). The RAM 403 also stores various programs and data required for the operation of the electronic device 400. The processing device 401, the memory 402, and the RAM 403 are interconnected via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0133] Typically, the following devices can be connected to I / O interface 405: input devices 406 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 407 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 408 including, for example, magnetic tapes, hard disks, etc.; and communication devices 409. Communication device 409 allows electronic device 400 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 4 An electronic device 400 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0134] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 409, or installed from storage device 408, or installed from memory 402. When the computer program is executed by processing device 401, it performs the functions defined in the methods of embodiments of this application.

[0135] It should be noted that the computer-readable storage medium described above in this application can be a computer-readable signal medium, a computer storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable storage medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0136] The aforementioned computer-readable storage medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0137] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the method shown in the above embodiments.

[0138] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0139] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0140] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the units do not necessarily limit the module itself.

[0141] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

[0142] This application also provides a computer-readable storage medium storing computer-executable instructions. When a processor executes the computer-executable instructions, it implements the technical solution of the energy management system control method in any of the above embodiments. The implementation principle and beneficial effects are similar to those of the energy management system control method, and can be found in the implementation principle and beneficial effects of the energy management system control method, which will not be repeated here.

[0143] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0144] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the technical solution of the energy management system control method in any of the above embodiments. Its implementation principle and beneficial effects are similar to those of the energy management system control method, and can be found in the implementation principle and beneficial effects of the energy management system control method, which will not be repeated here.

[0145] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.

[0146] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0147] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A control method for an energy management system, characterized in that, include: Obtain the structure of the energy management system, wherein the energy management system structure includes a source carrier module; The system receives a configuration table sent by a configuration terminal. The configuration table includes at least one power control strategy and the priority of the power control strategy. The power control strategy includes load role, source role, source role priority, and balance adjustment rules. Obtain the power of the source module; The target power control strategy is determined based on the power of the source module, the priority of the power control strategy, and the load role, source role, and balance adjustment rule corresponding to the power control strategy. The load role, source role, source role priority, and balance adjustment rules of the target power control strategy are used to control the source load module.

2. The method according to claim 1, characterized in that, The step of determining the target power control strategy based on the power of the source module, the priority of the power control strategy, and the load role, the source role, and the balance adjustment rules corresponding to the power control strategy includes: The highest priority power control strategy is designated as the pending power control strategy. Based on the load role in the undetermined power control strategy and the power of the source load module, determine the sum of the input power of the load role in the undetermined power control strategy; Based on the source role in the undetermined power control strategy, the power of the source module, and the source role priority, determine the sum of the output power of the source roles from the highest source role priority to the target source role priority; Based on the sum of the output power, the sum of the input power, the source role priority, and the balance adjustment rules, a target power control strategy or a new pending power control strategy is determined.

3. The method according to claim 2, characterized in that, The step of determining a target power control strategy or a new pending power control strategy based on the sum of the output power, the sum of the input power, the source role priority, and the balance adjustment rules includes: If the sum of the output power is greater than the sum of the input power, and the low-priority source role whose role priority is lower than the target source role priority can be either a source role or a load role, then the lower-priority power control strategy is determined as a new pending power control strategy, wherein the low-priority source role is added as a load role in the new pending power control strategy. If the sum of the output power is less than the sum of the input power, and the target source role is the source role with the lowest priority, then the lower priority power control strategy will be determined as the new pending power control strategy. If the sum of the output power is greater than or equal to the sum of the input power, and none of the source roles after the target source role priority can be used as source roles, then the pending power control strategy is determined as the target power control strategy.

4. The method according to claim 1, characterized in that, The load role, source role, source role priority, and balance adjustment rules adopted by the target power control strategy control the source load module, including: The source module corresponding to the source role is identified as the source module; The source load module corresponding to the load role is identified as the load module; Based on the source role priority, the source module with higher priority is given priority in supplying power to the load module; The power of the source load module is adjusted according to the balance adjustment rules.

5. The method according to claim 4, characterized in that, Adjusting the power of the source load module according to the balance adjustment rule includes: Obtain the output power of the source module and the input power of the load module; The power difference is obtained by subtracting the input power from the output power; Based on the power difference, adjust the output power of the source module or the input power of the load module.

6. The method according to claim 5, characterized in that, The balance adjustment rules include a first adjustment rule when the sum of the output power is greater than the sum of the input power, and a second adjustment rule when the sum of the output power is less than the sum of the input power. Adjusting the output power of the source module or the input power of the load module based on the power difference includes: If the power difference is positive, then reduce the output power of the source module corresponding to the first adjustment rule; If the power difference is negative, then the input power of the load module corresponding to the second adjustment rule is reduced.

7. The method according to any one of claims 1 to 6, characterized in that, Prior to obtaining the energy management system structure, the following is included: If a module creation instruction for the target source module is detected, the target source module is added to the role layer according to the module creation instruction; If a device creation instruction for the target energy control device is detected, the target energy control device is added to the logic layer according to the device creation instruction; A connection is created between the source module in the role layer and the energy control device in the logic layer to obtain the energy management system structure.

8. A control device for an energy management system, characterized in that, include: The system acquisition module is used to acquire the energy management system structure, wherein the energy management system structure includes a source carrier module; A configuration receiving module is used to receive a configuration table sent by a configuration terminal. The configuration table includes at least one power control strategy and the priority of the power control strategy. The power control strategy includes load role, source role, source role priority and balance adjustment rules. A power acquisition module is used to acquire the power of the source load module; The strategy determination module is used to determine the target power control strategy based on the power of the source load module, the priority of the power control strategy, and the load role, the source role, and the balance adjustment rule corresponding to the power control strategy. The module control module is used to control the source load module by adopting the load role, source role, source role priority and balance adjustment rules of the target power control strategy.

9. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 7.