A method, apparatus, and related products for controlling a diesel generator unit within a microgrid.
By acquiring and sorting the operating data of diesel generator units, priority is given to selecting units with the capacity to increase or decrease power generation for adjustment. This solves the problem of uneven operation of multiple diesel generator units, achieves load balancing and extends equipment life, and improves the operational stability and reliability of the microgrid.
Patent Information
- Application Number
- CN202611537946.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-30
- Publication Date
- 2026-11-17
AI Technical Summary
In the existing technology, microgrids composed of multiple constant-power diesel generator units lack effective power and start-stop control methods, resulting in uneven operating time of diesel generator units, excessively high or low load rates, which affect system stability and equipment lifespan.
By acquiring the operating data of each diesel generator unit within the microgrid, and sorting them based on load rate and duration, priority is given to selecting units with room for increasing or decreasing power generation for power regulation. Units are started or stopped only when there is no margin. Multi-dimensional data is acquired through communication and direct hardware acquisition methods to achieve balanced control of the units.
It achieves a balanced distribution of load and operating time among multiple diesel generator units, reduces unnecessary start-up and shutdown operations, extends equipment life, and improves system reliability and power supply-demand balance.
Smart Images

Figure CN123121855A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of microgrid technology, and in particular to a method, apparatus and related products for controlling a diesel generator unit in a microgrid. Background Technology
[0002] Island areas, uninhabited areas, underdeveloped regions, and areas at the end of the power grid commonly suffer from weak power supply systems, insufficient power capacity, and frequent power outages, hindering local production and daily life. Microgrid technology, represented by photovoltaic-diesel-storage systems, has become an important technical means to improve power supply levels in these areas due to its advantages of flexible operation, regional autonomy and controllability, and ability to absorb renewable energy. Microgrids are equipped with intermittent renewable energy sources such as photovoltaics and wind power, along with energy storage systems and diesel generators. Energy storage helps to smooth out fluctuations in renewable energy supply through power throughput, while the start-up and shutdown of diesel generators and power regulation ensure stable power supply. However, in application scenarios where multiple constant-power diesel generators form a unit group, there is a lack of effective power and start-up / shutdown control methods that balance the operating time and load rate of the diesel generators, easily leading to uneven operating times and excessively high or low load rates among the generators.
[0003] Existing microgrid diesel generator control schemes do not have control logic designed to suit fixed-power diesel generator groups, making it difficult to meet the actual usage requirements of balanced unit operating time and reasonable load rate management when multiple diesel generators are operating in coordination. Summary of the Invention
[0004] Based on the above problems, this application provides a method, device and related products for controlling diesel generator units in a microgrid. The method can prioritize finding diesel generator units with the capacity to increase or decrease power when it is necessary to increase or decrease the power of a group of diesel generator units. If there is no suitable diesel generator unit, it will find a diesel generator unit whose operating time or downtime meets the time limit requirements and issue start-up and shutdown commands.
[0005] This application discloses a method for controlling a diesel generator unit within a microgrid, the method comprising: Acquire operating data of each diesel generator unit within the microgrid; If it is necessary to increase the power generation capacity of the diesel generator unit, the power of the target diesel generator unit with the capacity to increase power is increased based on the operating data. If not, the target diesel generator unit whose downtime meets the first time limit requirement is started up. If it is necessary to reduce the power generation of the diesel generator unit, the power of the target diesel generator unit with power reduction space is reduced based on the operating data. If not, the target diesel generator unit whose operating time meets the second time limit requirement is shut down.
[0006] Optionally, identifying a target diesel generator unit within the diesel generator units includes: Based on the operating time and downtime of each diesel generator unit, the diesel generator units are sorted to obtain a unit sequence; The target diesel generator unit is identified in the unit sequence.
[0007] Optionally, acquiring the operating data of each diesel generator unit within the microgrid includes: Acquire operational data including, but not limited to, the load rate, actual active power, operating status, fault status, communication status, remote / local status, operating time, and downtime of each of the aforementioned diesel generator units.
[0008] Optionally, acquiring the operating data of each diesel generator unit within the microgrid includes: The operational data is obtained through communication methods and direct acquisition methods; the communication methods include IEC-104 protocol, Modbus protocol, and 61850 protocol, and the direct acquisition methods include acquiring hard contact status through input board and acquiring analog data through acquisition board.
[0009] Optionally, the step of sorting the diesel generator units based on their operating and downtime to obtain a unit sequence includes: Based on the operating time and the downtime, each of the diesel generator units is sorted to obtain a first unit sequence arranged in ascending order of operating time and a second unit sequence arranged in ascending order of downtime.
[0010] Optionally, the step of increasing the power output of a target diesel generator unit with power generation capacity based on the operating data includes: The target diesel generator unit is identified as the diesel generator unit whose current load rate has not reached the preset load rate limit, and the power of the target diesel generator unit is increased.
[0011] Optionally, the step of reducing the power output of a target diesel generator unit with reduced power capacity based on the operating data includes: The target diesel generator unit is identified as the diesel generator unit whose current load rate has not reached the preset lower limit of load rate, and the power of the target diesel generator unit is reduced.
[0012] Based on the above-mentioned method for controlling a diesel generator unit in a microgrid, this application also discloses a device for controlling a diesel generator unit in a microgrid, including: an acquisition unit, a start-up unit, and a shutdown unit; The acquisition unit is used to acquire the operating data of each diesel generator unit in the microgrid; The start-up unit is used to, when the diesel generator unit needs to increase its power generation, adjust the power of the target diesel generator unit with the capacity to increase its power generation based on the operating data; if there is no capacity to increase the power generation, start up the target diesel generator unit whose downtime meets the first time limit requirement. The shutdown unit is used to, when it is necessary for the diesel generator unit to reduce its power generation, reduce the power of the target diesel generator unit with power reduction space based on the operating data; if there is no such reduction space, then shut down the target diesel generator unit whose operating time meets the second time limit requirement.
[0013] Optionally, the device includes: The sorting unit is used to sort the diesel generator units based on their operating time and downtime to obtain a unit sequence. The start-up unit and the shutdown unit are used to determine the target diesel generator unit in the generator unit sequence.
[0014] Optionally, the acquisition unit includes: The content acquisition subunit is used to acquire operating data including but not limited to the load rate, actual active power, operating status, fault status, communication status, remote / local status, operating time, and downtime of each of the diesel generator units.
[0015] Optionally, the acquisition unit includes: The acquisition method subunit is used to acquire the operating data through communication and direct acquisition methods. The communication methods include IEC-104 protocol, Modbus protocol, and 61850 protocol. The direct acquisition methods include acquiring hard contact status through input board and acquiring analog data through acquisition board.
[0016] Optionally, the sorting unit includes: The time sorting subunit is used to sort each of the diesel generator units based on the running time and the downtime, to obtain a first unit sequence arranged in ascending order of running time and a second unit sequence arranged in ascending order of downtime.
[0017] Optionally, the start-up unit includes: The start-up subunit is used to identify the diesel generator unit whose current load rate has not reached the preset load rate limit as the target diesel generator unit, and to increase the power of the target diesel generator unit.
[0018] Optionally, the shutdown unit includes: The shutdown subunit is used to identify the diesel generator unit whose current load rate has not reached the preset lower limit of load rate as the target diesel generator unit, and to reduce the power of the target diesel generator unit.
[0019] Based on the above-mentioned method for controlling a diesel generator unit in a microgrid, this application also discloses a system for controlling a diesel generator unit in a microgrid, used to execute any of the above methods. The system is an embedded device or computer system including a processor, a storage module, a memory module, an AC sampling module, an input module, and a protocol communication function module.
[0020] Based on the above-mentioned method for controlling a diesel generator unit in a microgrid, this application also discloses a computer program product, which includes a computer program that, when run by a processor, is used to implement any of the above-mentioned methods.
[0021] This application discloses a method, device, and related products for controlling diesel generator units within a microgrid. It collects operational data from each diesel generator unit within the microgrid, providing accurate and comprehensive data for subsequent generator start-up and shutdown selection, ensuring a reliable input foundation for the control logic. When a diesel generator unit needs to increase its power output, it prioritizes units with remaining power increase capacity for power adjustment, eliminating the need for direct startup. This fully utilizes the power regulation potential of operating diesel generator units and reduces unnecessary start-up and shutdown operations. Once all operating diesel generator units have reached their power limits, units whose shutdown time meets the time constraints are selected for startup, taking into account the cooling time constraints of generator unit shutdowns and avoiding equipment damage from frequent start-ups and shutdowns. When a diesel generator unit needs to reduce its power output, it prioritizes units with available power reduction capacity to lower their output power, fully utilizing the load reduction adjustment capabilities of the generator units and reducing shutdown operations. When all operating diesel generator units have reached their lower load limit and can no longer reduce power, the generator units whose operating time has reached the time limit are selected for shutdown. This balances the operating time of each generator unit and prevents some generator units from operating at high load for extended periods. The entire control logic is simple to operate and suitable for embedded devices. It balances load rate constraints with generator start-up and shutdown time constraints, ensuring that the operating time and load level of multiple generator units are balanced, extending the overall service life of the equipment, and simultaneously balancing the power supply and demand of the microgrid, thus improving system reliability. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0023] Figure 1 This is a flowchart illustrating a method for controlling a diesel generator unit within a microgrid, as disclosed in an embodiment of this application. Figure 2This is a schematic flowchart of another method for controlling a diesel generator unit in a microgrid, as disclosed in an embodiment of this application. Figure 3 This is a schematic diagram of the structure of a device for controlling a diesel generator unit in a microgrid, as disclosed in an embodiment of this application. Detailed Implementation
[0024] Existing control schemes for microgrid diesel generator units are mostly designed for applications where diesel generators are the main voltage and frequency power source, primarily addressing issues such as stable switching and power coordination in diesel generator-dominated power supply modes. However, in microgrids with multiple constant-power diesel generator units, there is a lack of mature and feasible cluster start-up and shutdown and power coordination control strategies.
[0025] In actual operation, significant differences in operating conditions among the various diesel generator units can easily occur. Some units operate at high loads for extended periods, leading to increased wear and tear, while others remain idle for long periods. The operating duration and start-up / shutdown frequency of each unit vary considerably. Traditional control methods often only focus on power supply and demand at the system level, without simultaneously considering the upper and lower limits of unit load rates, as well as the time limits for unit operation and shutdown. This makes it difficult to achieve balanced management of load levels and service duration among multiple diesel generator units, which is detrimental to improving the overall service life of the diesel generator unit cluster.
[0026] To address the aforementioned shortcomings, this application proposes a method, device, and system for starting, stopping, and controlling the power of multiple diesel generator units within a microgrid. This solution is adaptable to off-grid microgrids where grid-connected energy storage serves as the main power source, or to grid-connected microgrids with photovoltaic, diesel, and energy storage. It collects key operational data such as the total load power of the microgrid, the load rate of each diesel generator unit, its operating status, fault status, operating time, and downtime through either communication protocols or direct hardware acquisition. This data is then sorted based on the continuous operating time and downtime of each unit. When the system needs to increase power generation, units with remaining capacity to increase power generation are prioritized for power increase. If all operating units have reached their maximum load rate, units whose downtime meets the time limit are selected for startup. When the system needs to reduce power generation, units with capacity to reduce power generation are prioritized for power reduction. If all units have reached their minimum load rate and cannot further reduce power, units whose operating time meets the time limit are then selected for shutdown. The overall control logic of this application has low computational complexity, making it easy to implement in embedded control devices. It achieves balanced distribution of load and operating time of multiple diesel generator units while ensuring the power supply and demand balance of the microgrid.
[0027] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0028] Example 1: This application discloses a method for controlling a diesel generator unit within a microgrid.
[0029] For details, please refer to Figure 1 The method for controlling a diesel generator unit within a microgrid disclosed in this embodiment includes the following steps: Step 101: Obtain the operating data of each diesel generator unit in the microgrid.
[0030] In the method of this embodiment, this step is the data basis for subsequent power regulation and start-up / shutdown judgment of the diesel generator unit. The complete operating data collected provides the original input for the control logic of the entire diesel generator unit cluster, ensuring that the subsequent judgment of power increase / decrease and start-up / shutdown decisions can fit the actual operating conditions of each diesel generator unit. This data collection method is suitable for different types of microgrid scenarios such as grid-connected and off-grid, and can complete the acquisition of status information for multiple constant power diesel generator units with the same or different capacities.
[0031] In the method of this embodiment, the acquired operating data covers key information such as remote signaling and telemetry. It includes not only the actual active power and load rate reflecting the power output level of the unit, but also the operating status, fault status, communication status, and remote / local status reflecting the equipment's operating condition. At the same time, it records the operating time and downtime used for unit rotation balancing control. The multi-dimensional data can completely characterize the actual working situation of each diesel generator unit, providing a calculation basis for subsequent determination of power regulation margin based on load rate and selection of start-up and shutdown objects based on operating and downtime.
[0032] In this embodiment, operational data can be acquired through communication and direct acquisition methods. The communication method relies on standard power protocols for remote signaling and telemetry information exchange, specifically including IEC-104, Modbus, and 61850 protocols. The direct acquisition method relies on hardware boards to directly acquire hard-contact signals and analog quantities, specifically including input boards acquiring hard-contact status and acquisition boards acquiring analog data. These two acquisition methods work together, enabling connection to both diesel generators with communication interfaces and those without communication interfaces that only provide hardware contacts and analog outputs. This enhances the adaptability of the solution under different field equipment conditions, and the acquired data can be read and used by embedded control devices.
[0033] Step 102: If it is necessary to increase the power generation of the diesel generator unit, based on the operating data, the power of the target diesel generator unit with the capacity to increase power is increased. If not, the target diesel generator unit whose downtime meets the first time limit requirement is started up.
[0034] In the method of this embodiment, this step responds to the power increase demand of the microgrid system and realizes the power increase regulation of the diesel generator cluster. It prioritizes to meet the power gap by increasing the output power of the operating diesel generators. The diesel generator start-up operation is only performed when the operating diesel generators have no more power increase margin. This can reduce unnecessary diesel generator start-up and shutdown operations, take into account the timeliness of the microgrid power supply, and help to balance the working time of multiple diesel generators.
[0035] In this embodiment, as an feasible solution, the operating and downtime of each diesel generator unit can be used as a basis to sort the units, resulting in a unit sequence. Then, the target diesel generator unit is determined from this sequence. Specifically, the unit sorting process can be completed based on the operating and downtime data of each diesel generator unit obtained in step 101, generating a corresponding unit sequence. Subsequent power increase candidates and start-up candidates are selected from the sorted unit sequence, allowing the diesel generator unit selection to fully consider the historical operating time of the units and avoiding frequent start-ups of some diesel generator units.
[0036] In this embodiment, the sorting algorithm can be bubble sort. Specifically, based on running time and downtime, each diesel generator unit is sorted to obtain a first unit sequence arranged in ascending order of running time and a second unit sequence arranged in ascending order of downtime. Two sets of sorting operations are performed separately: the first unit sequence is used to traverse and filter target diesel generator units that can be shut down, and the second unit sequence is used to traverse and filter target diesel generator units that can be started, thereby achieving rotational operation of the diesel generator units and balancing the start-up and shutdown history of each unit.
[0037] In this embodiment, the load rate of the diesel generator unit is used as the core criterion for determining whether there is room for increased power generation. The first unit sequence is traversed to sequentially search for target diesel generator units that meet the conditions. If the current load rate of a diesel generator unit has not yet reached the preset upper limit, it is determined that the diesel generator unit still has power adjustment margin, and this diesel generator unit is identified as the target diesel generator unit. Subsequently, the lockout start-up signal can be set to 1, indicating that the power gap can be met by adjusting the power of the operating unit, without triggering the start-up process. Simultaneously, it is determined whether the control delay time of the target diesel generator unit is met, to avoid generating new control commands before the previous adjustment is fully implemented. If the delay requirement is met, the power of the target diesel generator unit is increased. Specifically, an instruction to increase power is generated for the target diesel generator unit, with the increment being a power step (or power ladder). If the delay time of the current target diesel generator unit does not meet the requirement, the search continues for the next target diesel generator unit.
[0038] When all operating diesel generator units have reached their maximum load rate and no unit can increase its power output, the startup logic is activated. The startup interlock signal is set to 0 to indicate that a startup process needs to be triggered. A target diesel generator unit is selected from the second unit sequence whose downtime meets the first time limit requirement (i.e., the maximum downtime). A startup command is issued to this target unit, and its output power meets the lower load rate requirement, thus supplementing the system's required power generation. Simultaneously, the downtime of the target unit is reset to zero, and its operating time is updated and calculated.
[0039] As a feasible solution, the load factor of the diesel generator unit is shown in the following formula: (1) In the formula, L i Let P be the load factor of the i-th diesel generator unit. i,Load P represents the actual active power carried by the i-th diesel generator unit under load. N L is the rated power of the i-th diesel generator unit. i,min L is the lower limit of the load rate of the i-th diesel generator unit. i,max This represents the upper limit of the load rate for the i-th diesel generator unit.
[0040] Step 103: If it is necessary to reduce the power generation of the diesel generator unit, based on the operating data, the power of the target diesel generator unit with the capacity to reduce power is reduced. If not, the target diesel generator unit whose operating time meets the second time limit requirement is shut down.
[0041] In the method of this embodiment, this step and step 102 can be executed simultaneously. This step responds to the power reduction demand of the microgrid system and completes the power reduction adjustment of the diesel generator cluster. It prioritizes the power reduction of the operating diesel generators to adapt to the power reduction demand of the system. Only when the operating diesel generators no longer have the power reduction margin will the diesel generator shutdown operation be performed. This can reduce the unnecessary shutdown frequency of diesel generators and avoid the long-term continuous operation of diesel generators. Under the premise of satisfying the power balance of the system, it also takes into account the balance of the operating time of each diesel generator.
[0042] In this embodiment, the load rate of the diesel generator unit is used as the core criterion for determining whether there is room for power reduction. If the current load rate of the diesel generator unit has not yet dropped to the preset lower limit of the load rate, it is determined that the diesel generator unit still has a power reduction margin, and it is identified as the target diesel generator unit. The lockout shutdown signal is set to 1, thereby marking that the power gap can be met by adjusting the power of the operating unit, without triggering the shutdown process. At the same time, it is determined whether the control delay time of the target diesel generator unit is met, to avoid generating a new control command before the previous adjustment is in place. If the delay requirement is met, a power reduction operation is performed on the target diesel generator unit. Specifically, a power reduction command can be generated for the current target diesel generator unit, with the change value being the power step size (or power ladder). If the delay of the current target diesel generator unit does not meet the requirement, the search continues for the next target diesel generator unit.
[0043] When the load rate of all operating diesel generator units has dropped to the lower limit of the load rate, and there are no diesel generator units that can continue to reduce power, the shutdown logic is switched to, and the shutdown blocking signal is set to 0 to mark the current shutdown process that needs to be triggered. A target diesel generator unit that meets the second time limit (i.e., the maximum operating time) requirement is selected from the first unit sequence, and a shutdown command is issued to it, so that the power of the target diesel generator unit gradually decreases to zero. At the same time, the operating time of the target diesel generator unit is reset to zero, and its shutdown time is updated and calculated to adapt to the overall reduction of power generation output of the microgrid.
[0044] The method described in this embodiment supports two parallel data acquisition methods: communication protocol and direct hardware acquisition. It can comprehensively acquire multi-dimensional operational information of the diesel generator units within the microgrid, including load rate, actual active power, operating status, fault status, communication status, remote / local status, operating time, and downtime. It supports data interaction using standard power communication protocols such as IEC-104, Modbus, and 61850, and can also directly acquire hard contacts and analog signals using input boards and data acquisition boards. It can adapt to various microgrid architectures, including grid-connected and off-grid types. It can achieve complete status perception for multiple constant-power diesel generator units with the same or different capacities, without being limited by the unit's hardware interface conditions. This provides comprehensive and accurate raw operating condition data support for the subsequent integrated diesel generator cluster collaborative control strategy.
[0045] Furthermore, when handling system power increase demands, existing operating units are prioritized for power increase; when handling power reduction demands, operating units are prioritized for power decrease. Start-up or shutdown operations are only performed when operating units have no power adjustment margin. This reduces unnecessary frequent start-up and shutdown operations, lowers the mechanical shock caused by start-up and shutdown processes, and slows down equipment aging and wear. The control process incorporates a lockout start-up signal and a control delay verification mechanism. After selecting units with power adjustment space, the control delay condition is verified to prevent the re-issuance of new control commands before the previous power adjustment action has been completed. This effectively suppresses power adjustment oscillations, ensuring that every power adjustment command is smoothly executed and improving the stability of the entire control logic.
[0046] Furthermore, based on the collected operating and downtime data, all diesel generator units are sorted to generate two sets of unit sequences for different purposes. In scenarios involving increased power generation, the sequence is prioritized to find units with remaining capacity for increased power generation. Once all units have reached their maximum load factor, the startup branch is switched to, and the unit with the longest downtime is selected for startup, provided the interlock signal is released and the downtime meets the time limit. In scenarios involving reduced power generation, units with capacity for power reduction are prioritized. Downtime is performed only when all units have reached their minimum load factor, and units whose operating time meets the time limit are selected for shutdown. This rotational filtering logic, while responding to the real-time power balance requirements of the microgrid, evenly distributes the actual operating time of each diesel generator unit, avoiding situations where some units operate continuously at high loads for extended periods while others remain idle. This ensures that the usage history of multiple units is consistent, which is beneficial for extending the overall service life of the entire diesel generator unit cluster.
[0047] Furthermore, the method described in this embodiment features a simple control strategy algorithm with low computational complexity and minimal computational resource overhead. It requires no high-performance computing hardware and can run directly on conventional embedded devices, making it easy to implement in engineering and highly adaptable to field deployments. This solution optimizes the division of labor and rotation among multiple diesel generator units while ensuring the overall power reliability of the microgrid and meeting the dynamic power balance requirements of the system. This reduces the probability of equipment failure, decreases the frequency of on-site maintenance and replacement, and further reduces the manpower and material costs of later-stage operation and maintenance of the microgrid system.
[0048] Example 2: This application discloses another method for controlling a diesel generator unit within a microgrid. Please refer to [link / reference]. Figure 2 This embodiment describes the entire process of controlling a diesel generator unit within a microgrid.
[0049] Step 201: Obtain the operating data of each diesel generator unit in the microgrid.
[0050] Step 202: Based on the operating data, sort each diesel generator unit according to its operating time and downtime to obtain the first unit sequence that records the operating time and the second unit sequence that records the downtime.
[0051] Step 203: In response to the instruction to increase power generation, obtain the load rate of the diesel generator units in the first unit sequence based on the operating data.
[0052] Step 204: Determine if there are any diesel generator units whose load rate has not reached the preset upper limit. If yes, proceed to step 205. If no, proceed to step 206.
[0053] Step 205: Increase the power of the diesel generator unit.
[0054] Step 206: Identify the diesel generator unit with the longest downtime in the second unit sequence and start it up.
[0055] Step 207: In response to the instruction to reduce power generation, obtain the load rate of the diesel generator units in the first unit sequence based on the operating data.
[0056] In the method of this embodiment, this step and step 203 can be performed simultaneously.
[0057] Step 208: Determine if there are any diesel generator units whose load rate has not reached the preset lower limit of load rate. If yes, proceed to step 209. If no, proceed to step 210.
[0058] Step 209: Reduce the power output of the diesel generator unit.
[0059] Step 210: Identify the diesel generator unit with the longest operating time in the first unit sequence and shut it down.
[0060] Based on the method for controlling a diesel generator unit within a microgrid disclosed in the above embodiments, this embodiment correspondingly discloses a device for controlling a diesel generator unit within a microgrid. Please refer to... Figure 3 The device for controlling a diesel generator unit in a microgrid includes: an acquisition unit 301, a start-up unit 302, and a stop-down unit 303; The acquisition unit 301 is used to acquire the operating data of each diesel generator unit in the microgrid; The start-up unit 302 is used to, when the diesel generator unit needs to increase its power generation, adjust the power of the target diesel generator unit with the capacity to increase its power generation based on the operating data; if there is no capacity to increase the power generation, start the target diesel generator unit whose downtime meets the first time limit requirement. The shutdown unit 303 is used to, when the diesel generator unit needs to reduce its power generation, reduce the power of the target diesel generator unit with power reduction space based on the operating data; if there is no power reduction space, shut down the target diesel generator unit whose operating time meets the second time limit requirement.
[0061] Optionally, the device includes: The sorting unit is used to sort the diesel generator units based on their operating time and downtime to obtain a unit sequence. The start-up unit 302 and the shutdown unit 303 are used to determine the target diesel generator unit in the generator unit sequence.
[0062] Optionally, the acquisition unit 301 includes: The content acquisition subunit is used to acquire operating data including but not limited to the load rate, actual active power, operating status, fault status, communication status, remote / local status, operating time, and downtime of each of the diesel generator units.
[0063] Optionally, the acquisition unit 301 includes: The acquisition method subunit is used to acquire the operating data through communication and direct acquisition methods. The communication methods include IEC-104 protocol, Modbus protocol, and 61850 protocol. The direct acquisition methods include acquiring hard contact status through input board and acquiring analog data through acquisition board.
[0064] Optionally, the sorting unit includes: The time sorting subunit is used to sort each of the diesel generator units based on the running time and the downtime, to obtain a first unit sequence arranged in ascending order of running time and a second unit sequence arranged in ascending order of downtime.
[0065] Optionally, the start-up unit 302 includes: The start-up subunit is used to identify the diesel generator unit whose current load rate has not reached the preset load rate limit as the target diesel generator unit, and to increase the power of the target diesel generator unit.
[0066] Optionally, the shutdown unit 303 includes: The shutdown subunit is used to identify the diesel generator unit whose current load rate has not reached the preset lower limit of load rate as the target diesel generator unit, and to reduce the power of the target diesel generator unit.
[0067] Based on the above-mentioned method for controlling a diesel generator unit in a microgrid, this application also discloses a system for controlling a diesel generator unit in a microgrid, used to execute any of the above methods. The system is an embedded device or computer system including a processor, a storage module, a memory module, an AC sampling module, an input module, and a protocol communication function module.
[0068] Based on the above-mentioned method for controlling a diesel generator unit in a microgrid, this application also discloses a computer program product, which includes a computer program that, when run by a processor, is used to implement any of the above-mentioned methods.
[0069] The embodiments in this specification are described in a progressive manner. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant details can be found in the method section.
[0070] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0071] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0072] The features described in the embodiments of this specification can be substituted for or combined with each other, so that those skilled in the art can implement or use this application.
[0073] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for controlling a diesel generator unit within a microgrid, characterized in that, include: Acquire operating data of each diesel generator unit within the microgrid; If it is necessary to increase the power generation capacity of the diesel generator unit, the power of the target diesel generator unit with the capacity to increase power is increased based on the operating data. If not, the target diesel generator unit whose downtime meets the first time limit requirement is started up. If it is necessary to reduce the power generation of the diesel generator unit, the power of the target diesel generator unit with power reduction space is reduced based on the operating data. If not, the target diesel generator unit whose operating time meets the second time limit requirement is shut down.
2. The method according to claim 1, characterized in that, Identifying the target diesel generator unit within the diesel generator units includes: Based on the operating time and downtime of each diesel generator unit, the diesel generator units are sorted to obtain a unit sequence; The target diesel generator unit is identified in the unit sequence.
3. The method according to claim 1, characterized in that, The acquisition of operating data of each diesel generator unit within the microgrid includes: Acquire operational data including, but not limited to, the load rate, actual active power, operating status, fault status, communication status, remote / local status, operating time, and downtime of each of the aforementioned diesel generator units.
4. The method according to claim 1, characterized in that, The acquisition of operating data of each diesel generator unit within the microgrid includes: The operational data is obtained through communication methods and direct acquisition methods; the communication methods include IEC-104 protocol, Modbus protocol, and 61850 protocol, and the direct acquisition methods include acquiring hard contact status through input board and acquiring analog data through acquisition board.
5. The method according to claim 2, characterized in that, The process of sorting the diesel generator units based on their operating and downtime times to obtain a unit sequence includes: Based on the operating time and the downtime, each of the diesel generator units is sorted to obtain a first unit sequence arranged in ascending order of operating time and a second unit sequence arranged in ascending order of downtime.
6. The method according to claim 1, characterized in that, The step of increasing the power output of a target diesel generator unit with power generation capacity based on the operational data includes: The target diesel generator unit is identified as the diesel generator unit whose current load rate has not reached the preset load rate limit, and the power of the target diesel generator unit is increased.
7. The method according to claim 1, characterized in that, The step of reducing the power output of a target diesel generator unit with reduced power capacity based on the operating data includes: The target diesel generator unit is identified as the diesel generator unit whose current load rate has not reached the preset lower limit of load rate, and the power of the target diesel generator unit is reduced.
8. A device for controlling a diesel generator unit within a microgrid, characterized in that, include: Acquisition unit, start-up unit, and shutdown unit; The acquisition unit is used to acquire the operating data of each diesel generator unit in the microgrid; The start-up unit is used to, when the diesel generator unit needs to increase its power generation, adjust the power of the target diesel generator unit with the capacity to increase its power generation based on the operating data; if there is no capacity to increase the power generation, start up the target diesel generator unit whose downtime meets the first time limit requirement. The shutdown unit is used to, when it is necessary for the diesel generator unit to reduce its power generation, reduce the power of the target diesel generator unit with power reduction space based on the operating data; if there is no such reduction space, then shut down the target diesel generator unit whose operating time meets the second time limit requirement.
9. A system for controlling a diesel generator unit within a microgrid, characterized in that, The system for performing the method of any one of claims 1 to 7 is an embedded device or computer system comprising a processor, a storage module, a memory module, an AC sampling module, an input module, and a protocol communication function module.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, is used to implement the method described in any one of claims 1 to 7.
