Patent Description:
In recent years, new energy power generation, mainly photovoltaic and wind power generation, has been developing rapidly. However, photovoltaic and wind power and other primary energy resources are fluctuating and intermittent. Further with different characteristics of a grid-connected power electronics device from those of a conventional electric generating set, a large number of connections in new energy power generation lead to new problems for an electric power system, and an energy storage system is considered an effective way to resolve the problems.

Therefore, in recent years, energy storage technologies have developed rapidly and have had a more extensive application to electric power systems. An energy storage system can provide a variety of functional services to an electric power system, for example, services of power supply reliability, electricity demand management, services of power supply quality, demand-side responses, grid frequency regulation, grid peak load regulation, voltage support, fluctuations smoothing, and optimal set operation.

However, the foregoing functional services all need to match an output power, remaining stored energy, and the like of the energy storage system. If the foregoing functional services cannot be reasonably deployed, the output power, the remaining stored energy, and the like of the energy storage system cannot support a corresponding functional service, leading to an inability of the energy storage system to provide functional services normally, and in even worse cases, causing a failure of the energy storage system. The document <CIT> shows an energy storage system comprising at least one battery and a plurality of loads. Several controllers control the distribution of energy throughout the system. The document <CIT> shows a power storage system and a power source system. Especially, a bidirectional power transfer between a bank of batteries and different loads is shown. The document <CIT> shows an energy management system, an energy management method, and an according program and server. Also here, a transfer of energy between different loads and storage devices is shown.

Embodiments of this application provide an energy storage system and a related method, to provide users with reasonable resource allocation for reasonable power scheduling. According to a first aspect, an embodiment of this application provides an energy storage system, including a plurality of sets of battery packs or a plurality of battery packs, a converter, and a controller, where the battery packs are connected to a grid through the converter, at least one user equipment is connected to the grid, and the user equipment includes at least one of electrical equipment and power supply equipment; the controller communicates with the user equipment and is configured to obtain information about the user equipment; and the controller is connected to the converter and the battery packs and is configured to control the converter and the battery packs based on the information about the user equipment, to provide electric energy to the electrical equipment or receive electric energy from the power supply equipment. The controller is configured to obtain actual user scheduling powers of all user equipments based on the information about the user equipment, and control the converter to output a power corresponding to a sum of the actual user scheduling powers of all the user equipments to the grid.

In the energy storage system provided in this embodiment of this application, the controller obtains the information about the user equipment, and then controls the converter and the battery packs based on the information about the user equipment, to provide electric energy to the electrical equipment or receive electric energy from the power supply equipment. This embodiment of this application can provide reasonable power scheduling, thereby improving utilization of the energy storage system.

With reference to the first aspect, in an implementation of this embodiment of this application, the electrical equipment includes at least one of a factory power distribution room, a power distribution room in a residential quarter, and a substation, and the power supply equipment includes at least one of another energy storage system, a photovoltaic power generation system, a wind power generation system, and a power plant. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the first aspect, in an implementation of this embodiment of this application, the controller is configured to: determine actual user scheduling powers of all user equipments based on the information about the user equipment; and control the converter to output a power corresponding to a sum of the actual user scheduling powers of all the user equipments to the grid. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the first aspect, in an implementation of this embodiment of this application, the controller is configured to: obtain at least one power scheduling request from the user equipment, where the power scheduling request includes a charging and discharging power of the energy storage system requested by the user equipment; obtain a configured user power range and remaining chargeable and dischargeable energy that correspond to the user equipment, where the user power range is used to indicate a range of charging and discharging power allocated by the energy storage system to the user equipment, the remaining chargeable and dischargeable energy includes remaining dischargeable electric energy, the remaining dischargeable electric energy is used to indicate energy that excludes used energy and remains in energy allocated by the energy storage system to the user equipment, and the used energy is energy that the energy storage system has actually scheduled to the user equipment; determine an actual user scheduling power corresponding to the power scheduling request based on the power scheduling request, the user power range, and the remaining chargeable and dischargeable energy; and sum up all the actual user scheduling powers and send a sum to the energy storage system, so that the energy storage system schedules the user equipment based on the actual user scheduling powers that are summed up. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the first aspect, in an implementation of this embodiment of this application, if the charging and discharging power of the energy storage system requested by the user equipment in the power scheduling request is out of the user power range, the controller revises the charging and discharging power requested to be provided by the energy storage system to be within the user power range. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the first aspect, in an implementation of this embodiment of this application, the user power range is associated with the user equipment and a function category. The function category indicates a function requested by the user equipment; the controller determines, based on the power scheduling request, a user equipment identifier and a function category identifier that correspond to the charging and discharging power; and the controller determines the configured user power range corresponding to the user equipment identifier and the function category identifier. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the first aspect, in an implementation of this embodiment of this application, if the remaining chargeable and dischargeable energy is not within a preset range, the controller sets the actual user scheduling power corresponding to the power scheduling request to a specific range. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the first aspect, in an implementation of this embodiment of this application, if the remaining dischargeable electric energy in the remaining chargeable and dischargeable energy is less than a first preset value, the controller sets the actual user scheduling power corresponding to the power scheduling request to be not greater than <NUM>; and if remaining chargeable electric energy in the remaining chargeable and dischargeable energy is less than a second preset value, the controller sets the actual user scheduling power corresponding to the power scheduling request to be not less than <NUM>, where the remaining chargeable electric energy indicates energy that the energy storage system allows the user equipment to charge the energy storage system. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the first aspect, in an implementation of this embodiment of this application, the controller is configured to update the remaining chargeable and dischargeable energy at intervals of preset time segments based on the actual user scheduling power and a running time of the user equipment. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the first aspect, in an implementation of this embodiment of this application, the controller is configured to: determine an initial energy value of the user equipment based on a ratio of allocated stored energy that the user equipment is allowed to use to all energy currently stored in the energy storage system; determine used energy corresponding to the user equipment at intervals of preset time segments based on the actual user scheduling power and the running time of the user equipment; determine remaining energy of each user equipment based on the initial energy value corresponding to the user equipment and the used energy; and determine the remaining chargeable and dischargeable energy by summing up the remaining energy of the user equipment. This implementation makes the solution provided in this embodiment of this application more comprehensive.

According to a second aspect, an embodiment of this application provides a method for scheduling an energy storage system, including: obtaining at least one power scheduling request from user equipment, where the power scheduling request includes a charging and discharging power of the energy storage system requested by the user equipment; obtaining a configured user power range and remaining chargeable and dischargeable energy that correspond to the user equipment, where the user power range is used to indicate a range of charging and discharging power allocated by the energy storage system to the user equipment, the remaining chargeable and dischargeable energy includes remaining dischargeable electric energy, the remaining dischargeable electric energy is used to indicate energy that excludes used energy and remains in energy allocated by the energy storage system to the user equipment, and the used energy is energy that the energy storage system has actually scheduled to the user equipment; determining an actual user scheduling power corresponding to the power scheduling request based on the power scheduling request, the user power range, and the remaining chargeable and dischargeable energy; and summing up all the actual user scheduling powers and sending a sum to the energy storage system, so that the energy storage system schedules the user equipment based on the actual user scheduling powers that are summed up.

With reference to the second aspect, in an implementation of this embodiment of this application, the determining an actual user scheduling power based on the power scheduling request, the user power range, and the remaining chargeable and dischargeable energy includes: if the charging and discharging power of the energy storage system requested by the user equipment in the power scheduling request is out of the user power range, revising the charging and discharging power requested to be provided by the energy storage system to be within the user power range. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the second aspect, in an implementation of this embodiment of this application, the user power range is associated with the user equipment and a function category. The function category indicates a function requested by the user equipment. The obtaining a configured user power range corresponding to the user equipment includes: determining, based on the power scheduling request, a user equipment identifier and a function category identifier that correspond to the charging and discharging power; and determining the configured user power range corresponding to the user equipment identifier and the function category identifier. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the second aspect, in an implementation of this embodiment of this application, the determining an actual user scheduling power corresponding to the power scheduling request based on the power scheduling request, the user power range, and the remaining chargeable and dischargeable energy includes: setting the actual user scheduling power corresponding to the power scheduling request to a specific range if the remaining chargeable and dischargeable energy is not within a preset range. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the second aspect, in an implementation of this embodiment of this application, the setting the actual user scheduling power corresponding to the power scheduling request to a specific range if the remaining chargeable and dischargeable energy is not within a preset range includes: if the remaining dischargeable electric energy in the remaining chargeable and dischargeable energy is less than a first preset value, setting the actual user scheduling power corresponding to the power scheduling request to be not greater than <NUM>; and if remaining chargeable electric energy in the remaining chargeable and dischargeable energy is less than a second preset value, setting the actual user scheduling power corresponding to the power scheduling request to be not less than <NUM>, where the remaining chargeable electric energy indicates energy that the energy storage system allows the user equipment to charge the energy storage system. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the second aspect, in an implementation of this embodiment of this application, after the summing up all the actual user scheduling powers and sending a sum to the energy storage system, the method further includes: updating the remaining chargeable and dischargeable energy at intervals of preset time segments based on the actual user scheduling power and a running time of the user equipment. This implementation makes the solution provided in this embodiment of this application more comprehensive.

With reference to the second aspect, in an implementation of this embodiment of this application, the updating the remaining chargeable and dischargeable energy at intervals of preset time segments based on the actual user scheduling power and a running time of the user equipment includes: determining an initial energy value of the user equipment based on a ratio of allocated stored energy that the user equipment is allowed to use to all energy currently stored in the energy storage system; determining used energy corresponding to the user equipment at intervals of preset time segments based on the actual user scheduling power and the running time of the user equipment; determining remaining energy of each user equipment based on the initial energy value corresponding to the user equipment and the used energy; and determining the remaining chargeable and dischargeable energy by summing up the remaining energy of the user equipment. This implementation makes the solution provided in this embodiment of this application more comprehensive.

Embodiments of this application provide an energy storage system and a related method, to provide users with reasonable resource allocation for reasonable power scheduling.

In the specification, claims, and accompanying drawings of this application, the terms "first", "second", "third", "fourth", and the like (if existent) are intended to distinguish between similar objects but do not necessarily indicate a specific order or sequence. It should be understood that the data termed in such a way are interchangeable in proper circumstances, so that embodiments described herein can be implemented in an order other than the order illustrated or described herein. Moreover, the terms "include", "correspond to" and any other variants mean to cover the non-exclusive inclusion, for example, a process, method, system, product, or device that includes a list of steps or units is not necessarily limited to those expressly listed steps or units, but may include other steps or units not expressly listed or inherent to such a process, method, system, product, or device.

In embodiments of this application, words such as "example" or "for example" are used to indicate examples, instances, or descriptions. Any embodiment or solution described as "example" or "for example" in embodiments of this application is not to be construed as being more preferred or advantageous than other embodiments or solutions. Exactly, use of the word "example" or "for example" or the like is intended to present a relative concept in a specific manner.

In recent years, energy storage technologies have developed rapidly and have had a more extensive application to electric power systems. An energy storage system can provide a variety of functional services to an electric power system, for example, services of power supply reliability, electricity demand management, services of power supply quality, demand-side responses, grid frequency regulation, grid peak load regulation, voltage support, fluctuations smoothing, and optimal set operation. In addition, one energy storage system usually needs to provide the foregoing functional services to a plurality of user equipments.

If the foregoing functional services cannot be reasonably deployed, the output power, the remaining stored energy, and the like of the energy storage system cannot support a corresponding functional service, leading to an inability of the energy storage system to provide functional services normally. In even worse cases, a failure of the energy storage system may be caused.

If the foregoing functional services can be reasonably deployed, one energy storage system can support a plurality of functional applications by configuring reasonable powers and capacities, getting a balanced discharge rate, reducing energy degradation, and further gaining benefits in many aspects. Further, the energy storage system may be designed to be shared among a plurality of users and to provide different combinations of functional services to different users, having advantages of convenient operation and maintenance, easy management, low construction costs, and the like. Further, the value of the energy storage system is fully utilized to improve cost-effectiveness of investment.

Therefore, how to provide reasonable power and capacity allocation to a plurality of users and a plurality of functions is an important trend of research by a person skilled in the art.

At present, a manner in which an energy storage system provides two or more functions at the same time is to overlay instructions or perform selection based on priorities by using control equipment on a side of a station, for example, an energy management system (energy management system, EMS) and fast-frequency and automatic generation control (automatic generation control, AGC) equipment. However, in this manner, partitions cannot be made between energy and powers for different users or functions, and consequently, independence of a single function cannot be ensured. In the method in which prioritization is performed only when there are conflicts in a simple manner of "first come, first served" for control, there is a relatively high probability that a function occupies a power channel or consumes all usable energy in an energy storage system, leading to interruption of other functional services.

At present, another manner in which an energy storage system provides two or more functions at the same time is to reserve a fixed power/energy (SOC) to ensure continuity of a function of a high priority. For example, an energy storage system on a small and medium-sized user side usually may reserve specific energy to ensure power supply reliability. However, in this manner, partitions cannot be made between energy and powers for different users or functions, and consequently, independence of a single function cannot be ensured. Simply monotonic settings for powers/energy are often for a backup function and not applicable to a scenario with a plurality of users and a plurality of functions, and cannot be applied to managing functions that are often run at the same time or alternately. Specifying a fixed reserve capacity for a single function greatly reduces system utilization.

In view of this, embodiments of this application provide an energy storage system and a related method, to provide users with reasonable resource allocation for reasonable power and energy scheduling. <FIG> is a schematic diagram of an energy storage system according to an embodiment of this application. The energy storage system includes an energy storage converter <NUM>, an energy storage battery <NUM>, and a controller <NUM>. The energy storage battery <NUM> is connected to a grid <NUM> through the energy storage converter <NUM>; and the controller <NUM> is connected to the energy storage converter <NUM> and is configured to deliver an actual user scheduling power to the energy storage converter <NUM>.

It can be understood that the energy storage battery <NUM> may be formed by a plurality of sets of battery packs or a plurality of battery packs, and these battery packs are connected to each other in series or in parallel, to form a battery pack array. In actual application, the energy storage battery <NUM> may be a photovoltaic battery pack array. A specific form of the energy storage battery <NUM> is not limited in this embodiment of this application.

Specifically, when the energy storage system provides electric energy to the grid <NUM>, electric energy stored in the energy storage battery <NUM> is allocated to user equipment <NUM> on the grid <NUM> through the energy storage converter <NUM>. When the grid <NUM> charges the energy storage system, electric energy on the user equipment <NUM> may be transmitted to the energy storage battery <NUM> through the grid <NUM> and the energy storage converter <NUM>, to charge the energy storage battery <NUM>. In the foregoing process, the controller <NUM> may perform a method for scheduling an energy storage system provided in embodiments of this application, to provide users with reasonable resource allocation for reasonable power and energy scheduling.

In this embodiment of this application, communication between the controller <NUM> and the equipment <NUM> may be power line communication (power line communication, PLC), wireless communication, or communication using another line. This is not limited in this embodiment of this application.

In this embodiment of this application, the user equipment <NUM> may include electrical equipment and power supply equipment. The electrical equipment is equipment consuming electric energy, and may include, but is not limited to, at least one of a factory power distribution room, a power distribution room in a residential quarter, and a substation. In actual application, the electrical equipment may alternatively be a charging pile, a substation, or the like for new energy vehicles. This is not limited in this embodiment of this application. The power supply equipment is equipment providing electric energy, and may include, but is not limited to, at least one of another energy storage system, a photovoltaic power generation system, a wind power generation system, and a power plant. In actual application, the power supply equipment may alternatively be a tidal power generation system, a hydroelectric power generation system, or the like. This is not limited in this embodiment of this application.

In this embodiment of this application, the controller <NUM> is configured to: determine actual user scheduling powers of all user equipments <NUM> based on information about the user equipment <NUM>; and control the energy storage converter <NUM> to output a power corresponding to a sum of the actual user scheduling powers of all the user equipments <NUM> to the grid <NUM>. For example, the grid <NUM> is currently connected to a total of three user equipments <NUM>, namely, a power plant, a factory power distribution room, and a power distribution room in a residential quarter. An actual user scheduling power of the power plant is - <NUM>,<NUM> kW, an actual user scheduling power of the factory power distribution room is +<NUM>,<NUM> kW, and an actual user scheduling power of the power distribution room in the residential quarter is +<NUM>,<NUM> kW. In this case, a sum +<NUM>,<NUM> kW of the actual user scheduling powers may be obtained through calculation, and after obtaining the sum of the actual user scheduling powers through calculation, the controller <NUM> may control the energy storage converter <NUM> to output a power of <NUM>,<NUM> kW to the grid <NUM>.

Specifically, the controller <NUM> may determine the actual user scheduling powers of all the user equipments <NUM> based on the information about the user equipment <NUM> according to the method for scheduling an energy storage system provided in embodiments of this application. The method for scheduling an energy storage system is described in detail below.

<FIG> is a schematic diagram of a method for scheduling an energy storage system according to an embodiment of this application. The method includes:
<NUM>. Obtain at least one power scheduling request from user equipment.

In this embodiment of this application, the power scheduling request includes a charging and discharging power and charging and discharging energy of an energy storage system requested by the user equipment. The charging and discharging power of the energy storage system requested by the user equipment refers to a power request between the user equipment and the energy storage system. For example, the user equipment intends to obtain electricity with a power of <NUM> w from the energy storage system. In the power scheduling request sent by the user equipment to the energy storage system, the charging and discharging power of the energy storage system requested by the user equipment may be +<NUM> w. If the user equipment intends to provide electricity with a power of <NUM> w to the energy storage system, the charging and discharging power of the energy storage system requested by the user equipment may be - <NUM> w. Similarly, the charging and discharging energy of the energy storage system requested by the user equipment refers to an electric energy request between the user equipment and the energy storage system. For example, the user equipment intends to obtain energy of <NUM> kilowatts-hour from the energy storage system. In the power scheduling request sent by the user equipment to the energy storage system, the charging and discharging energy of the energy storage system requested by the user equipment may be +<NUM> kilowatts-hour. If the user equipment provides energy of <NUM> kilowatts-hour to the energy storage system, the charging and discharging energy of the energy storage system requested by the user equipment may be - <NUM> kilowatts-hour.

In this embodiment of this application, the user equipment may be any apparatus or system on the grid <NUM> that can consume or provide electric energy. For example, the user equipment may be another energy storage system, may be a power plant, may be a new energy power generation system, for example, a wind power generation system or a photovoltaic power generation system, or may be an electrical system, for example, a power distribution room in a factory or in a residential quarter. This is not limited in this embodiment of this application.

In some embodiments, the power scheduling request may further include an identifier of user equipment, where the identifier is used to indicate user equipment that has sent the power scheduling request. For example, an identifier of a power plant A is <NUM>, and in this case, a power scheduling request sent by the power plant A to the energy storage system may carry the identifier <NUM>, which is used to indicate that the power scheduling request is sent by the power plant A. The energy storage system may sum up power scheduling requests carrying the identifier <NUM>, and then comprehensively configure a reasonable power and reasonable energy for the power plant A.

In this embodiment of this application, the power scheduling request may be obtained by the controller <NUM> from the user equipment, or may be generated according to instructions in effect before the current scheduling. For example, before the current scheduling, user equipment A already uses a power of <NUM> w from the energy storage system. In this case, a type of power scheduling request may be generated to request a charging and discharging power of <NUM> w for the user equipment from the energy storage system. In actual application, the controller <NUM> may alternatively sum up all historical power scheduling requests and new power scheduling requests in another manner. This is not limited in this embodiment of this application.

Obtain a configured user power range and remaining chargeable and dischargeable energy that correspond to the user equipment.

Before step <NUM>, the controller <NUM> may configure the related user power range and remaining chargeable and dischargeable energy for the user equipment in advance.

In this embodiment of this application, the user power range is used to indicate a range of a charging and discharging power allocated by the energy storage system to the user equipment. For example, the energy storage system is expected to be able to provide a power of <NUM> w to the user equipment A, but does not accept electric energy from the user equipment A. In this case, a range of a charging and discharging power allocated by the energy storage system to the user equipment A may be <NUM> w to <NUM> w. For example, the energy storage system is expected to be able to provide a power of <NUM> w to user equipment B, and further accepts electric energy with a power of <NUM> w transmitted by the user equipment B to the energy storage system. In this case, a range of a charging and discharging power allocated by the energy storage system to the user equipment B may be - <NUM> w to <NUM> w. In actual application, the energy storage system may alternatively allocate another range of a charging and discharging power to the user equipment based on characteristics of the user equipment. This is not limited in this embodiment of this application.

In this embodiment of this application, the remaining chargeable and dischargeable energy includes remaining dischargeable electric energy, where the remaining dischargeable electric energy is used to indicate energy that excludes used energy and remains in energy allocated by the energy storage system to the user equipment, and the used energy is energy that the energy storage system has actually scheduled to the user equipment. The remaining chargeable and dischargeable energy further includes remaining chargeable electric energy, where the remaining chargeable electric energy is obtained by subtracting the remaining dischargeable electric energy from an initial value of energy allocated to the user equipment. The initial value of energy allocated to the user equipment may be obtained according to the following method:
The controller <NUM> may determine an initial energy value of each user equipment based on a ratio of allocated stored energy that each user equipment is allowed to use to all energy stored in the energy storage system. For example, an operator presets stored energy that the user equipment A is allowed to use to <NUM>,<NUM> kilowatts-hour, and presets stored energy that the user equipment B is allowed to use to <NUM>,<NUM> kilowatts-hour, and all the energy stored in the energy storage system is <NUM>,<NUM> kilowatts-hour. In this case, the controller <NUM> may set, based on the ratio, the initial energy value of the user equipment A to <NUM>,<NUM> kilowatts-hour and the initial energy value of the user equipment B to <NUM>,<NUM> kilowatts-hour.

Then, the controller <NUM> may obtain the remaining chargeable and dischargeable energy (including the remaining dischargeable electric energy and the remaining chargeable electric energy) through calculation, and the controller <NUM> may calculate used energy of each user equipment based on an actually scheduled power and duration of the user equipment in a historical process. For example, an actually scheduled discharging power of the user equipment A is <NUM>,<NUM> w and duration is one hour. In this case, used energy of the user equipment A is +<NUM> kilowatt-hour (positive and negative numbers of the used energy are used to distinguish between charging and discharging, a positive number of the used energy generally indicates energy that a user has used, and a negative number of the used energy indicates energy provided by the user to the energy storage system). Finally, the controller <NUM> may subtract a value of the used energy from the initial energy value of the user equipment, to obtain the remaining dischargeable electric energy corresponding to the user equipment. For example, when the initial energy value of the user equipment A is <NUM>,<NUM> kilowatts-hour, and the used energy is +<NUM> kilowatt-hour, remaining dischargeable electric energy of the user equipment A is <NUM> kilowatts-hour (if the remaining dischargeable electric energy decreases to <NUM> kilowatts-hour, the controller <NUM> does not accept a discharging power scheduling instruction of the user equipment any more). The controller <NUM> may determine the remaining chargeable electric energy based on the remaining dischargeable electric energy obtained through calculation and the initial energy value of the user equipment. To be specific, the remaining chargeable electric energy is equal to the initial energy value of the user equipment minus the remaining dischargeable electric energy. In this example, the remaining chargeable electric energy is equal to the initial energy value (<NUM>,<NUM> kilowatts-hour) of the user equipment minus the remaining dischargeable electric energy (<NUM> kilowatts-hour), that is, equal to <NUM> kilowatt-hour.

It can be understood that the remaining chargeable electric energy indicates energy that the energy storage system allows the user equipment to charge the energy storage system. If remaining chargeable electric energy of user equipment is less than a preset value, it indicates that the energy storage system does not allow the user equipment to charge the energy storage system. In this case, the controller <NUM> may adjust an actual user scheduling power of the user equipment to be not less than <NUM> (so that the controller <NUM> does not accept a discharging power scheduling instruction of the user equipment any more).

Table <NUM> shows an example of the configured user power range and the remaining chargeable and dischargeable energy provided in this embodiment of this application.

In Table <NUM>, algebraic signs such as a1, a2, b1, and b2 may be some value ranges, or may be a positive value or a negative value. When a positive value is used for indication, the power range is generally <NUM> to the positive value. When a negative value is used for indication, the power range may be the negative value to <NUM>. For example, a1 may be <NUM> w to <NUM> w. In Table <NUM>, the exclusive usable power indicates a user power range that can be exclusively allocated to the user equipment A. The shared usable power indicates a user power range shared among all user equipments, for example, the user equipment A and the user equipment B, in the group <NUM> for sharing. Generally, the controller <NUM> may classify a same type of user equipment into one group and give a same identifier of the group for sharing. For example, the user equipment A and the user equipment B are both power plants, and in this case, the user equipment A and the user equipment B may be classified into the group <NUM> for sharing.

It can be understood that the remaining dischargeable electric energy in the remaining chargeable and dischargeable energy may be the exclusive usable energy, the shared usable energy, or the like in Table <NUM>. In step <NUM>, if the controller <NUM> determines that the remaining dischargeable electric energy in the remaining chargeable and dischargeable energy is less than a preset value, the controller <NUM> may set an actual user scheduling power corresponding to the power scheduling request to <NUM>. For example, if the controller <NUM> determines that the exclusive usable energy b <NUM> is less than the preset value (which generally may be <NUM>), it indicates that energy currently planned to provide to the user equipment A is very little, and the controller <NUM> may set an actual user scheduling power of the user equipment A to <NUM>.

In actual application, the controller <NUM> may further configure user power ranges and remaining chargeable and dischargeable energy for more user equipments, or may set more configuration content (for example, a function category, an exclusive usable power, exclusive usable energy, a shared usable power, shared usable energy, a group for sharing, a priority for sharing, and whether a function is a backup function). This is not limited in this embodiment of this application.

In this embodiment of this application, the configured user power range and the remaining chargeable and dischargeable energy may be stored in a form of a data table, for example, Table <NUM>, or may be stored in another form. This is not limited in this embodiment of this application. The data may be stored in a form of a database file, or may be stored in another form. This is not limited in this embodiment of this application.

Table <NUM> shows another example of the configured user power range and the remaining chargeable and dischargeable energy provided in this embodiment of this application.

In some embodiments, a user power range is further associated with a function category. As shown in Table <NUM>, various function categories of the user equipment A are different user power ranges. To be specific, a user power range configured for a service of power supply reliability is a1, and a user power range configured for electricity demand management is a2. The charging and discharging power in the power scheduling request sent by the user equipment may also be a power associated with a function category. For example, the power scheduling request may include an exclusive power required for the service of power supply reliability by the user equipment A, and in this case, after receiving the request and reading the power, the controller may compare the power with a1 to determine an actual user scheduling power. A specific description is shown in step <NUM>.

Determine an actual user scheduling power corresponding to the power scheduling request based on the power scheduling request, the user power range, and the remaining chargeable and dischargeable energy.

In this embodiment of this application, the controller <NUM> may determine whether the charging and discharging power of the energy storage system requested by the user equipment in the power scheduling request is out of the user power range. If the power is within the user power range, the power scheduling request is reasonable, and the controller <NUM> may accept the power scheduling request. If the power is out of the user power range, the power scheduling request is not suitable for allocation, and the controller may revise the charging and discharging power requested to be provided by the energy storage system in the power scheduling request to be within the user power range. For example, the charging and discharging power in the power scheduling request is <NUM> w, and the corresponding user power range is <NUM> w, and in this case, the controller <NUM> may revise the charging and discharging power in the power scheduling request to <NUM> w.

It can be understood that in some cases, for example, when the charging and discharging power in the power scheduling request is <NUM> w, and the corresponding user power range is <NUM> w (indicating that the energy storage system does not perform charging or discharging with the user equipment), and in this case, the controller <NUM> may discard the power scheduling request.

In this embodiment of this application, the controller <NUM> may alternatively determine the actual user scheduling power based on the remaining chargeable and dischargeable energy. Specifically, if the remaining dischargeable electric energy in the remaining chargeable and dischargeable energy is less than a preset value, the controller <NUM> may set the actual user scheduling power corresponding to the power scheduling request to <NUM> (or another specific range). It can be understood that the preset value may be set to <NUM>, and then when the remaining dischargeable electric energy is less than <NUM>, it indicates that the energy storage system has no energy for use. In this case, the corresponding actual user scheduling power is usually set to <NUM>. In other words, a discharging power scheduling instruction of the user equipment is actually not accepted any more. In some cases, to avoid a failure of the energy storage system because the remaining chargeable and dischargeable energy reaches <NUM>, the preset value may be set to a value greater than <NUM>, for example, <NUM> kilowatt-hour. A specific value of the preset value is not limited in this embodiment of this application. The remaining chargeable and dischargeable energy may be updated at time intervals. Steps for updating may be as follows:.

In this embodiment of this application, the controller <NUM> may obtain the actual user scheduling power and the running time of the user equipment. For example, the actual user scheduling power may be obtained through detection or a feedback from the grid <NUM>, or may be obtained from a result of performing step <NUM> last time, and the running time of the user equipment may be obtained through timing.

The preset time segment may be one minute, one hour, one second, or the like. This is not limited in this embodiment of this application.

At intervals of preset time segments, the controller <NUM> may determine the used energy corresponding to the user equipment based on the actual user scheduling power and the running time of the user equipment. For example, the actual user scheduling power of the user equipment A is <NUM> kilowatts, and a running time of the user equipment A is one hour. In this case, the controller <NUM> may learn, through calculation, that the used energy of the user equipment A is equal to the actual user scheduling power of the user equipment A times the running time, that is, equal to <NUM> kilowatts-hour. Calculation for another user equipment is similar.

(<NUM>) Determine remaining dischargeable electric energy of each user equipment based on the initial energy value corresponding to the user equipment and the used energy.

In this embodiment of this application, the controller <NUM> may determine the remaining dischargeable electric energy of each user equipment (indicating how much energy has been left in the energy storage system to be discharged to the user equipment) by subtracting the used energy from the initial energy value corresponding to the user equipment. For example, the initial energy value of the user equipment A is <NUM> kilowatts-hour of energy, and the used energy of the user equipment A is <NUM> kilowatts-hour. In this case, the controller <NUM> may learn, through calculation, that the remaining dischargeable electric energy of the user equipment A is equal to <NUM> kilowatts-hour minus <NUM> kilowatts-hour, that is, equal to <NUM> kilowatts-hour. For each of other user equipments, the controller <NUM> may obtain remaining dischargeable electric energy corresponding to the user equipment through calculation.

(<NUM>) Calculate remaining chargeable electric energy of the user equipment based on the initial energy value corresponding to the user equipment and the remaining dischargeable electric energy.

In this embodiment of this application, the controller <NUM> may determine the remaining chargeable electric energy based on the remaining dischargeable electric energy obtained through calculation and the initial energy value of the user equipment. To be specific, the remaining chargeable electric energy is equal to the initial energy value of the user equipment minus the remaining dischargeable electric energy. For example, the remaining dischargeable electric energy of the user equipment A is <NUM> kilowatts-hour, and the initial energy value of the user equipment A is <NUM> kilowatts-hour of energy. In this case, the remaining chargeable electric energy of the user equipment A is equal to <NUM> kilowatts-hour minus <NUM> kilowatts-hour, that is, equal to <NUM> kilowatts-hour. It can be understood that the remaining chargeable electric energy indicates energy that the energy storage system allows the user equipment to charge the energy storage system. If remaining chargeable electric energy of user equipment is less than a preset value, it indicates that the energy storage system does not allow the user equipment to charge the energy storage system. In this case, the controller <NUM> may adjust an actual user scheduling power of the user equipment to be not less than <NUM>.

According to the foregoing steps, the controller <NUM> may update the remaining chargeable and dischargeable energy at time intervals, and the controller <NUM> may detect the remaining chargeable and dischargeable energy in real time. When detecting that the remaining chargeable and dischargeable energy is less than a preset value, the controller <NUM> may notify the energy storage system to stop providing energy, to avoid a deficiency of power supply of the energy storage system.

In step <NUM>, the controller <NUM> may further adjust the actual user scheduling power based on updated remaining chargeable and dischargeable energy. To be specific, if the remaining chargeable and dischargeable energy is not within a preset range, the controller <NUM> may set the actual user scheduling power corresponding to the power scheduling request to a specific range (the specific range may be <NUM>, not greater than <NUM>, not less than <NUM>, and the like, and the specific range may be set based on actual situations). Specifically, if the remaining dischargeable electric energy in the remaining chargeable and dischargeable energy is less than a first preset value, the actual user scheduling power corresponding to the power scheduling request is set to be not greater than <NUM> (so that the controller <NUM> does not accept a discharging power scheduling instruction of the user equipment any more); and if remaining chargeable electric energy in the remaining chargeable and dischargeable energy is less than a second preset value, the actual user scheduling power corresponding to the power scheduling request is set to be not less than <NUM> (so that the controller <NUM> does not accept a charging power scheduling instruction of the user equipment any more). It can be understood that the first preset value and the second preset value may be <NUM> or a value slightly greater than <NUM>. In actual application, the controller <NUM> may reset the first preset value and the second preset value based on actual situations. Specific values of the first preset value and the second preset value are not limited in this embodiment of this application.

It can be understood that the remaining dischargeable electric energy in the remaining chargeable and dischargeable energy may be the exclusive usable energy, the shared usable energy, or the like in Table <NUM>. If the controller <NUM> determines that a value of remaining dischargeable electric energy is less than a preset value, the controller <NUM> may set an actual user scheduling power corresponding to the remaining dischargeable electric energy to <NUM>. For example, in the example shown in Table <NUM>, if the controller <NUM> determines that the exclusive usable energy b1 is less than the preset value (which generally may be <NUM>), it indicates that energy currently planned to provide to the user equipment A is very little, and the controller <NUM> may set an actual user scheduling power of the user equipment A to <NUM>.

In embodiments in which the remaining dischargeable electric energy is further associated with a function category, if the controller <NUM> determines that a value of remaining dischargeable electric energy is less than a preset value, the controller <NUM> may set an actual user scheduling power for user equipment and a function category that correspond to the remaining dischargeable electric energy to <NUM>. For example, in the example shown in Table <NUM>, if the controller <NUM> determines that the exclusive usable energy b1 is less than the preset value (which generally may be <NUM>), it indicates that energy currently planned to provide to the user equipment A for the function of the service of power supply reliability is very little, and the controller <NUM> may set an actual user scheduling power of the user equipment A for the function of the service of power supply reliability to <NUM>. When summing up actual user scheduling powers, the controller <NUM> may add up all actual user scheduling powers of the user equipment A for all function categories.

Sum up all actual user scheduling powers and send a sum to the energy storage system.

In this embodiment of this application, the controller <NUM> may sum up all the actual user scheduling powers and send the sum to the energy storage system. Specifically, the controller <NUM> may deliver all the actual user scheduling powers to the energy storage converter <NUM>, so that the energy storage converter <NUM> can allocate an output power of the energy storage battery <NUM> based on all the actual user scheduling powers, or allocate electric energy transmitted from the grid <NUM> to the energy storage battery <NUM>.

In this embodiment of this application, after receiving all the actual user scheduling powers, the energy storage system may schedule the user equipment based on the actual user scheduling powers that are summed up. For example, in all the actual user scheduling powers, an actually schedulable power of the user equipment A is <NUM> w. In this case, the energy storage system may output a power of <NUM> w to the user equipment A. Specifically, the energy storage system may use the energy storage converter <NUM> to implement the foregoing solution.

In some embodiments, the controller <NUM> may obtain a total actually schedulable power after adding up all the actual user scheduling powers, and then send the total actually schedulable power to the energy storage system, so that the energy storage system outputs a power corresponding to the total actually schedulable power.

<FIG> is a schematic diagram of another energy storage system according to an embodiment of this application. The energy storage system includes an energy storage converter <NUM> and an energy storage battery <NUM>. The energy storage battery <NUM> is connected to a grid <NUM> through the energy storage converter <NUM>. The grid <NUM> and the energy storage battery <NUM> are similar to the grid <NUM> and the energy storage battery <NUM> in the foregoing embodiments corresponding to <FIG>. User equipment <NUM> is similar to the user equipment <NUM> in the foregoing embodiments corresponding to <FIG>.

The energy storage converter <NUM> may transmit, to the energy storage battery, electric energy delivered by the grid <NUM>, and may transmit electric energy of the energy storage battery <NUM> to the grid <NUM>. In addition, the energy storage converter <NUM> further includes a built-in scheduling module, where the scheduling module may perform the method in the foregoing embodiments corresponding to <FIG>.

It can be understood that internal hardware of the scheduling module may include one or more central processing units, memories, communication buses, and communication interfaces. The memory is a short-term memory or a long-term memory, and the memory stores program code. The communication interface is configured to transmit and receive data. The central processing unit communicates with the memory through the communication bus, and executes the program code in the memory on a controller to perform the method in the foregoing embodiments corresponding to <FIG>.

<FIG> is a schematic diagram of an apparatus for scheduling an energy storage system according to an embodiment of this application. The apparatus <NUM> for scheduling an energy storage system includes an obtaining module <NUM>, a power calculation module <NUM>, and an instruction output module <NUM>.

The obtaining module <NUM> is configured to perform step <NUM> in various method embodiments corresponding to <FIG>, or configured to perform step <NUM> in the various method embodiments corresponding to <FIG>.

The power calculation module <NUM> is configured to perform step <NUM> in the various method embodiments corresponding to <FIG>.

The instruction output module <NUM> is configured to perform step <NUM> in the various method embodiments corresponding to <FIG>.

In some embodiments, the apparatus <NUM> for scheduling an energy storage system further includes a remaining energy update module, configured to perform a step for updating remaining chargeable and dischargeable energy in the various method embodiments corresponding to <FIG>.

<FIG> is a schematic diagram of another apparatus for scheduling an energy storage system according to this application. The apparatus <NUM> for scheduling an energy storage system includes a partition configuration module <NUM>, a scheduling interface module <NUM>, an information collection module <NUM>, an energy aggregation module <NUM>, a power calculation module <NUM>, and an instruction output module <NUM>.

The partition configuration module <NUM> is configured to configure a user power range and remaining chargeable and dischargeable energy. For example, the partition configuration module <NUM> may be configured to configure a plurality of user power ranges and remaining chargeable and dischargeable energy shown in Table <NUM> or Table <NUM>.

The scheduling interface module <NUM> is configured to perform step <NUM> in various method embodiments corresponding to <FIG>.

The information collection module <NUM> is configured to obtain a configured user power range and remaining chargeable and dischargeable energy corresponding to user equipment, or configured to obtain updated remaining chargeable and dischargeable energy corresponding to the user equipment, or configured to obtain an actual user scheduling power and a running time of the user equipment.

The energy aggregation module <NUM> is configured to perform a step for updating remaining chargeable and dischargeable energy in the various method embodiments corresponding to <FIG>.

<FIG> is a schematic diagram of a controller according to an embodiment of this application. The controller <NUM> includes one or more processors <NUM>, a memory <NUM>, and a communication interface <NUM>, where the processor <NUM>, the memory <NUM>, and the communication interface <NUM> may be connected to each other through a communicationbus <NUM>. The memory <NUM> is configured to store one or more programs; and the one or more processors <NUM> are configured to run the one or more programs, to enable the controller <NUM> to perform the methods corresponding to the foregoing method embodiments. To be specific, the controller <NUM> may be the controller <NUM> in various embodiments corresponding to <FIG>, or may be the scheduling module inside the energy storage converter <NUM> in various embodiments corresponding to <FIG>.

The processor <NUM> may be a general-purpose central processing unit (central processing unit, CPU), a network processor (network processor, NP), a microprocessor, or may be one or more integrated circuits configured to implement the solutions of this application, for example, an application-specific integrated circuit (application-specific integrated circuit, ASIC), a programmable logic device (programmable logic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field programmable gate array (field programmable gate array, FPGA), generic array logic (generic array logic, GAL), or any combination thereof.

The communication bus <NUM> is configured to transmit information between the foregoing components. The communication bus <NUM> may fall into the following types: an address bus, a data bus, a control bus, and the like. For ease of indication, the bus is indicated by using only one bold line in <FIG>. However, it does not indicate that there is only one bus or only one type of bus.

The memory <NUM> may be a read-only memory (read-only memory, ROM) or another type of static storage device that can store static information and instructions, may be a random access memory (random access memory, RAM) or another type of dynamic storage device that can store information and instructions, may be an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory, CD-ROM) or another compact disc storage, an optical disc storage (including a compact optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, and the like), a magnetic disk storage medium or another magnetic storage device, or may be any other medium that can be configured to carry or store expected program code in a form of instructions or a data structure and that can be accessed by a computer. However, the memory <NUM> is not limited thereto. The memory <NUM> may be standalone and connected to the processor <NUM> through the communication bus <NUM>. Alternatively, the memory <NUM> may be integrated with the processor <NUM>.

The communication interface <NUM> is configured to communicate with another device or a communication network through any apparatus such as a transceiver. The communication interface <NUM> includes a wired communication interface, and may further include a wireless communication interface. The wired communication interface may be, for example, an Ethernet interface. The Ethernet interface may be an optical interface, an electrical interface, or a combination thereof. The wireless communication interface may be a wireless local area network (wireless local area network, WLAN) interface, a cellular network communication interface, a combination thereof, or the like.

During specific implementation, in an embodiment, the processor <NUM> may include one or more CPUs, for example, a CPU <NUM> and a CPU <NUM> shown in <FIG>.

During specific implementation, in an embodiment, the controller <NUM> may include a plurality of processors, for example, the processor <NUM> and a processor <NUM> shown in <FIG>. Each of the processors may be a single-core (single-CPU) processor or may be a multi-core (multi-CPU) processor. The processor herein may refer to one or more devices, circuits, and/or processing cores configured to process data (such as computer program instructions).

During specific implementation, in an embodiment, the controller <NUM> may further include an output device and an input device. The output device communicates with the processor <NUM>, and may display information in a plurality of manners. For example, the output device may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a cathode ray tube (cathode ray tube, CRT) display device, a projector (projector), or the like. The input device communicates with the processor <NUM>, and may receive an input from a user in a plurality of manners. For example, the input device may be a mouse, a keyboard, a touchscreen device, or a sensing device.

In some embodiments, the memory <NUM> is configured to store program code <NUM> for executing the solutions of this application, and the processor <NUM> may execute the program code <NUM> stored in the memory <NUM>. To be specific, the controller <NUM> may implement a packet processing method provided in the method embodiments by using the processor <NUM> and the program code <NUM> in the memory <NUM>.

The controller <NUM> in this embodiment of this application may correspond to the gateway device in the foregoing method embodiments. In addition, the processor <NUM>, the communication interface <NUM>, and the like in the controller <NUM> may implement functions of the gateway device and/or various steps and methods that are implemented by the gateway device in the foregoing method embodiments. For brevity, details are not described herein again.

It should be understood that the controller <NUM> corresponds to the controller <NUM> or the scheduling module inside the energy storage converter <NUM> in the foregoing method embodiments. Various units in the controller <NUM> and the foregoing other operations and/or functions are respectively intended for implementing the method shown in <FIG>. For specific details, refer to the foregoing method embodiments. For brevity, details are not described herein again.

It may be clearly understood by a person skilled in the art that, for purpose of convenient and brief description, for a detailed working process of the foregoing system, apparatus, and unit, refer to a corresponding process in the foregoing method embodiments, and details are not described herein again.

In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus, and method may be implemented in another manner. For example, the described apparatus embodiments are merely examples. For example, the unit division is merely logical function division and may be other division during actual implementation. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in an electronic, a mechanical, or another form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected based on actual requirements to achieve the objectives of the solutions in the embodiments.

In addition, function units in embodiments of this application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit.

When the integrated unit is implemented in the form of a software functional unit and is sold or used as an independent product, the integrated unit may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of this application essentially, or the part contributing to a current technology, or all or some of the technical solutions may be implemented in a form of a software product. The computer software product is stored in a storage medium and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform all or some of the steps of the methods described in embodiments of this application. The foregoing storage medium includes any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc.

Claim 1:
An energy storage system, comprising a plurality of sets of battery packs (<NUM>) or a plurality of battery packs (<NUM>), a converter (<NUM>), and a controller (<NUM>), wherein
the battery packs (<NUM>) are connected to a grid (<NUM>) through the converter (<NUM>), at least one user equipment (<NUM>) is connected to the grid (<NUM>), and the user equipment (<NUM>) comprises at least one of electrical equipment and power supply equipment;
the controller (<NUM>) communicates with the user equipment (<NUM>) and is configured to obtain information about the user equipment (<NUM>); and
the controller (<NUM>) is connected to the converter (<NUM>) and the battery packs (<NUM>) and is configured to control the converter (<NUM>) and the battery packs (<NUM>) based on the information about the user equipment (<NUM>), to provide electric energy to the electrical equipment or receive electric energy from the power supply equipment,
characterized in that
the controller (<NUM>) is configured to:
obtain actual user scheduling powers of all user equipments (<NUM>) based on the information about the user equipment (<NUM>); and
control the converter (<NUM>) to output a power corresponding to a sum of the actual user scheduling powers of all the user equipments (<NUM>) to the grid.