A method of adapting a diesel generator for methanol fuel

By establishing a normal diesel compensation benchmark and identifying methanol substitution status, the problem of mismatch between fuel supply and load demand in diesel generator methanol fuel adaptation was solved, achieving more efficient fuel regulation.

CN123174044APending Publication Date: 2026-11-27STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611685967.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing diesel generator methanol fuel adaptation technology fails to effectively distinguish between the diesel substitution effect that has already occurred and has not yet occurred due to changes in methanol supply, resulting in a mismatch between fuel supply and actual demand during load changes, which can easily lead to repeated adjustments.

Method used

By establishing a normal diesel compensation benchmark, the realization status of methanol substitution is identified, and the matching demand of methanol supply is determined in conjunction with load change events, so as to adjust the methanol supply to match the actual load demand.

Benefits of technology

This improved the matching degree between methanol supply and actual power demand, reduced fuel adjustment fluctuations during load changes, and avoided repeated adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123174044A_ABST
    Figure CN123174044A_ABST
Patent Text Reader

Abstract

The application discloses a methanol fuel adaptation method for a diesel generator and relates to the technical field of diesel generator fuel adaptation, and comprises the following steps: obtaining diesel generator operation state data, identifying a load change event and determining an event change direction and a pre-event operation state; determining a diesel normal compensation benchmark based on a same direction historical response when methanol supply is stable; determining a target diesel replacement amount according to a methanol supply change and a stable replacement relationship; determining a methanol replacement state according to the difference between a diesel compensation response and the diesel normal compensation benchmark; determining a methanol adaptation demand in combination with the methanol replacement state and a subsequent load change demand, adjusting methanol supply and updating the methanol replacement state according to an operation response.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of diesel generator fuel adaptation technology, and more specifically, to a method for adapting diesel generators to methanol fuel. Background Technology

[0002] Existing diesel generator methanol fuel adaptation technologies typically determine the target supply quantity or substitution ratio of diesel and methanol based on operating parameters such as the generator's current load, engine speed, and fuel supply status. They then adjust the supply of diesel and methanol synchronously when the load changes to meet new power demands. In this process, the diesel speed control system generates corresponding diesel compensation based on load changes. However, the corresponding power effect of methanol supply adjustment needs to be gradually formed through fuel delivery, mixing, and combustion processes. Therefore, the relationship between changes in methanol supply and the actual diesel substitution effect is not always instantaneous.

[0003] However, existing technologies typically redetermine methanol supply based on the current load condition, making it difficult to distinguish between the diesel substitution effect that has already occurred and that has not yet occurred from the normal diesel compensation caused by load changes. When a new load change occurs before the previous methanol substitution effect has fully materialized, the unrealized methanol substitution amount is not effectively incorporated into the subsequent fuel matching process. This can easily cause the control system to adjust the methanol supply again for the same diesel substitution demand, resulting in a deviation between methanol supply and actual load demand, and increasing fuel regulation fluctuations during load changes.

[0004] The above-disclosed technical solutions have at least the following technical problems: the existing technology determines the appropriate supply of methanol and diesel based on the current operating load of the diesel generator. It fails to distinguish between the diesel substitution effect that has been formed and that has not yet been formed from the normal compensation of diesel caused by load changes. As a result, when the load continues to change, the amount of methanol substitution that has not yet been formed is not included in the new fuel matching process. It is easy to repeatedly adjust the methanol supply for the same diesel substitution demand, resulting in a mismatch between fuel supply and actual load demand. Summary of the Invention

[0005] To overcome the above-mentioned defects of the prior art, embodiments of the present invention provide a method for adapting methanol fuel to diesel generators. By establishing a normal diesel compensation benchmark and identifying the realization status of methanol substitution, the methanol supply is adapted and adjusted in conjunction with subsequent load changes. This solves the problem that methanol substitution that has not yet been formed during load changes is not included in subsequent fuel adaptation, resulting in repeated adjustments.

[0006] To achieve the above objectives, the present invention provides the following technical solution: A method for adapting a diesel generator to methanol fuel includes the following steps: acquiring operating status data of the diesel generator, identifying load change events, and determining the direction of the event change and the operating status before the event; Based on the pre-event operating status and the historical response in the same direction when methanol supply is stable, the normal diesel compensation benchmark is determined; the target diesel substitution amount is determined according to the methanol supply change and stable substitution relationship; based on the difference between the diesel compensation response during the load change event and the normal diesel compensation benchmark, the methanol substitution status is determined in combination with the target diesel substitution amount; based on the methanol substitution status and subsequent load change demand, the methanol adaptation demand is determined, the methanol supply is adjusted according to the methanol adaptation demand, and the methanol substitution status is updated according to the adjusted operating response.

[0007] In a preferred embodiment, identifying load change events includes: determining a normal fluctuation range based on the stable fluctuation characteristics of continuous operating data; identifying operating changes that continuously exceed the normal fluctuation range and determining the starting point of candidate events; and determining the load change event based on the correspondence between the engine or fuel regulation response after the starting point of the candidate event and the operating changes.

[0008] In a preferred embodiment, determining the direction of event change and the pre-event operating state includes: determining the direction of event change and the event initiation boundary based on the change of the load change event relative to the pre-event stable state; filtering stable operating intervals forward based on the event initiation boundary; and determining the pre-event operating state based on the operating state within the stable operating interval corresponding to the direction of event change.

[0009] In a preferred embodiment, determining the normal diesel compensation benchmark includes: determining the load state change process based on the load change event and the operating state before the event, and dividing the load state change process into multiple continuous state change segments; extracting corresponding historical response segments from historical load responses with stable methanol supply and consistent change direction based on the initial state of each state change segment; stripping the diesel supply basis of each historical response segment to obtain the relative diesel compensation response of the corresponding state change segment; and sequentially connecting the relative diesel compensation response to the diesel supply basis before the event according to the order of each state change segment to obtain the normal diesel compensation benchmark.

[0010] In a preferred embodiment, the stable substitution relationship is determined by: screening candidate substitution segments with stable load conditions and changes in methanol supply from historical operating data; determining effective substitution segments based on the operational stability of the candidate substitution segments before and after the changes; determining substitution samples based on the changes in methanol supply and corresponding stable changes in diesel fuel of the effective substitution segments; and aggregating the samples according to their stable operating states to establish a stable substitution relationship between changes in methanol supply and stable substitution amounts for diesel fuel.

[0011] In a preferred embodiment, the step of aggregating samples according to their stable operating states includes: dividing the sample groups into alternative sample groups based on the differences in the stable operating states of each effective alternative segment; forming alternative sample pairs by matching the methanol supply change within each group with the corresponding stable diesel substitution amount; identifying and removing abnormal samples based on the consistency of the alternative sample pairs within the same group, and determining the representative diesel substitution amount corresponding to different degrees of methanol supply change; and establishing stable substitution relationships for each alternative sample group based on the representative diesel substitution amount.

[0012] In a preferred embodiment, determining the target diesel substitution amount based on changes in methanol supply and stable substitution relationships includes: determining a corresponding substitution sample group based on the pre-event operating status; determining the corresponding stable diesel substitution amount from the stable substitution relationships of the substitution sample group based on the current changes in methanol supply; and determining the target diesel substitution amount and substitution direction based on the stable diesel substitution amount.

[0013] In a preferred embodiment, determining the methanol substitution status includes: aligning the actual diesel supply with the normal diesel compensation benchmark based on the load state change process to obtain the actual diesel compensation response; determining the substitution response difference based on the methanol supply change and the deviation of the actual diesel compensation response from the normal diesel compensation benchmark; matching the substitution response difference with the corresponding target diesel substitution amount according to the methanol supply change sequence to determine the realized diesel substitution amount and the unrealized diesel substitution amount; and associating the target diesel substitution amount, realized diesel substitution amount, unrealized diesel substitution amount, and substitution direction to obtain the methanol substitution status.

[0014] In a preferred embodiment, determining the substitution response difference includes: determining the observation starting point of the substitution effect based on the changes in methanol supply that have not yet been substituted and their sequence of occurrence; determining the initial benchmark deviation based on the actual diesel compensation response at the observation starting point and the normal diesel compensation benchmark; comparing the response deviations at each state change position after the observation starting point with the initial benchmark deviation, and determining the substitution response difference based on the new deviation formed along the substitution direction.

[0015] In a preferred embodiment, updating the methanol substitution status based on the adjusted operating response includes: determining the amount of unrealized diesel substitution and the direction of substitution based on the methanol substitution status; when subsequent load changes are in the same direction as the substitution, carrying over the unrealized diesel substitution to offset the demand from subsequent load changes to determine new substitution demand; when the two are in opposite directions, prioritizing the reduction of the corresponding unrealized substitution to determine reverse substitution demand; determining methanol matching demand based on the stable substitution relationship and adjusting methanol supply; and updating the methanol substitution status based on the adjusted diesel compensation response.

[0016] The technical effects and advantages of the methanol fuel adaptation method for diesel generators of the present invention are as follows: This invention identifies load change events and establishes a normal diesel compensation benchmark based on historical responses when methanol supply is stable. It distinguishes between diesel compensation caused by load changes themselves and diesel compensation changes caused by the formation of methanol substitution. It also determines the methanol substitution status in conjunction with the target diesel substitution amount, enabling continuous identification of realized and unrealized diesel substitution amounts. When the load continues to change, it determines new methanol adaptation needs based on the methanol substitution status and updates the substitution status. This avoids the problem of existing technologies only readjusting fuel supply based on the current load and ignoring the methanol substitution effect that has not yet formed, reducing repeated adjustments to the same diesel substitution demand and improving the matching degree between methanol supply and actual power demand during load changes. Attached Figure Description

[0017] Figure 1 This is a schematic flowchart of a method for adapting a diesel generator to methanol fuel according to the present invention. Figure 2 This is a multi-channel dynamic response diagram of a diesel generator under a 20% rated load step condition according to the present invention; Figure 3 This is a schematic diagram illustrating the evolution of the diesel fuel normal compensation benchmark and methanol substitution state in this invention. Detailed Implementation

[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0019] Example 1, Figure 1 The present invention provides a method for adapting a diesel generator to methanol fuel, comprising the following steps: S1, acquire the operating status data of the diesel generator, identify load change events, and determine the direction of the event change and the operating status before the event; The operational status data includes generator-side operational data, engine operational data, and fuel supply status data; wherein, generator-side operational data is used to characterize the external load status borne by the diesel generator, engine operational data is used to characterize the engine operation and speed regulation response status, and fuel supply status data is used to characterize the actual supply status of diesel and methanol.

[0020] In this embodiment, the power generation side operating data includes at least one of the following: generator output power, output current, or load rate; the engine operating data includes at least the engine speed, and may also include control output or execution status that can reflect the governor's adjustment behavior; the fuel supply status data includes diesel supply and methanol supply.

[0021] To ensure data from different sampling sources are consistent, operational status data are continuously acquired according to a unified sampling sequence and time-series correspondence is performed based on timestamps, forming a continuous operational data sequence for the diesel generator. The diesel and methanol supply quantities are expressed as mass flow rate, supply per unit time, or equivalent supply quantity after calibration conversion, and the same metering method is maintained for the same fuel in both preceding and subsequent data processing.

[0022] In this embodiment, identifying load change events includes: In the continuous operation data sequence, a continuous observation interval is set, and the normal fluctuation range corresponding to the stable operation state is determined based on the fluctuation of the power generation side operation data within the continuous observation interval. The subsequent power generation side operation data is continuously monitored. When the power generation side operation data continuously deviates from the normal fluctuation range corresponding to the original stable operation state, the moment when the first continuous deviation is formed is determined as the candidate event start time. After the start time of the candidate event, it is determined whether the engine operation data or fuel supply status data shows a speed regulation response corresponding to the change in the load on the power generation side; when the continuous deviation and the speed regulation response correspond in time, the load change event is confirmed to have occurred.

[0023] Furthermore, determining the direction of event change and the pre-event running state includes: Based on the direction of change of the power generation side operating data relative to the stable level before the event in the confirmed load change event, the event change direction is determined, which includes at least the load increase direction and the load decrease direction. Extract continuous operating data backward from the start time of the load change event, and filter out continuous periods in which the operating status remains stable and no active fuel adjustment occurs, as the stable interval before the event; The pre-event operating status is determined based on the power generation side operating status, engine operating status, and fuel supply status within the pre-event stable interval.

[0024] The pre-event operating state is used to represent the stable operating basis of the diesel generator before the current load change occurs, and serves as the state basis for subsequent historical response matching, diesel normal compensation benchmark reconstruction, and stable substitution relationship selection.

[0025] S2, based on the pre-event operating status and the same-direction historical response when methanol supply is stable, determine the normal compensation benchmark for diesel. In this embodiment, determining the normal diesel compensation benchmark includes: Based on the continuous changes in the power generation side operating data relative to the stable state before the load change event, the load state change process of the current load change event is determined, and the load state change process is divided into multiple sequentially connected state change segments according to the load change direction, continuity of change and degree of change. Select historical responses from historical load change events where methanol supply remained stable during the corresponding load change process, and the direction of the event change was consistent with the current load change event; Based on the current pre-event operating status and the initial load status of each state change segment, extract the historical response segments corresponding to each state change segment from the filtered historical responses. By removing the diesel supply basis of each historical response segment, the relative diesel compensation response caused by load state changes in the corresponding state change segment is obtained. According to the chronological order of the state change segments in the current load change event, each relative diesel compensation response is sequentially connected to the diesel supply base before the current event to form a diesel normal compensation benchmark that changes continuously along the current load state change process.

[0026] In extracting historical response segments, the direction of change of the current state change segment, the initial load state of the segment, and the engine operation basis and fuel supply basis before the current event are used as matching conditions. When there are multiple historical response segments that meet the matching conditions, the relative diesel compensation amount of each historical response segment at the same load state change position is compared for consistency, and the representative value after removing obvious abnormal responses is used to form the relative diesel compensation response of the corresponding segment.

[0027] Furthermore, the step of removing the diesel supply basis of each historical response segment to obtain the relative diesel compensation response caused by load state changes in the corresponding state change segment includes: Determine the segment start state corresponding to the historical response segment, and determine the segment start time when the segment start state is reached; The continuous stable interval from the start of the segment, where the methanol supply remained stable and the load condition did not enter the current state change range; The original diesel supply baseline value for this historical response segment is determined based on the stable level of diesel supply within the continuous stable interval. Using the original diesel supply baseline as a relative starting point, the diesel supply corresponding to each state change position within the historical response segment is converted into a relative diesel compensation amount.

[0028] The specific formula for calculating the relative diesel compensation amount is as follows:

[0029] in, Let be the relative diesel compensation amount for the i-th historical response segment at time t; Let be the diesel supply amount for the i-th historical response segment at time t; The original diesel supply base value for the i-th historical response segment.

[0030] Based on the change process of the load state on the power generation side relative to the initial load state in the historical response segment, each relative diesel compensation amount is mapped to the corresponding load state change position, forming a continuous correspondence between the load state change position and the relative diesel compensation amount, which serves as the relative diesel compensation response for the corresponding state change segment.

[0031] It should be noted that the relative diesel compensation response represents the continuous change in diesel supply relative to the original supply base within a state change segment; the diesel compensation increment represents the relative diesel compensation amount corresponding to the end position of the state change segment. Therefore, even if different historical response segments have different absolute diesel supply levels, the diesel compensation changes resulting from the corresponding load state transitions can still be used for benchmark reconstruction of the current event after separating the original diesel supply base.

[0032] When reconstructing the normal diesel compensation benchmark, the diesel supply level corresponding to the stable interval before the current event is taken as the starting point of diesel supply for the first state change segment. The relative diesel compensation response of the first state change segment is superimposed on the starting point of diesel supply. The diesel supply result obtained at the end position of the previous state change segment is taken as the starting point of diesel supply for the next state change segment, and the relative diesel compensation response of the next state change segment is superimposed until the load state change process that has already occurred in the current load change event is covered, thus obtaining the normal diesel compensation benchmark.

[0033] The diesel normal compensation benchmark is used to represent the diesel supply change that the diesel speed control system should produce according to historical normal response patterns, under the conditions that the current load change process remains unchanged and there is no new adjustment to the methanol supply in the current event.

[0034] S3, determine the target diesel substitution amount based on changes in methanol supply and stable substitution relationships; In this embodiment, the change in methanol supply refers to the change in methanol supply control state caused by adjusting from one established supply level to another.

[0035] For one or more methanol supply adjustments that occur during load change events, the start time of each methanol supply adjustment is recorded. The methanol supply level established before the start of the adjustment is taken as the pre-adjustment supply level, and the new methanol supply level formed after the execution of the adjustment order is taken as the post-adjustment supply level.

[0036] It should be noted that the adjusted supply level only indicates that the methanol supply device has established a new fuel supply state, and does not require that the increased or decreased methanol has formed a stable power effect in the engine. Therefore, when the subsequent methanol supply adjustment occurs before the power effect of the previous adjustment has been fully formed, it can still be recorded as two methanol supply changes.

[0037] The change in methanol supply for the jth time is expressed as:

[0038] in, This represents the change in methanol supply for the j-th time. This represents the methanol supply level prior to the start of the j-th adjustment. This represents the methanol supply level established after the j-th adjustment.

[0039] The stable substitution relationship is used to characterize the change in stable diesel supply caused by a change in methanol supply and the completion of the power generation effect under the condition that the external load demand remains basically unchanged. Among them, the stable retreat of diesel supply corresponding to the increase in methanol supply characterizes the diesel substitution amount that the increase in methanol can eventually form, and the stable increase of diesel supply corresponding to the decrease in methanol supply characterizes the amount of compensation that diesel needs to bear after the decrease in methanol.

[0040] The stable substitution relationship is determined in the following way: Candidate replacement segments were selected from historical operating data where methanol supply changed but the load status remained stable before and after the change. The pre-stable interval before the change in methanol supply and the post-stable interval after the diesel response has stabilized are determined for each candidate substitution segment. Candidate substitution segments with continuous load changes, active adjustments of other fuels, or failure of engine operation between the pre- and post-stable intervals are eliminated to obtain effective substitution segments. Based on the methanol supply status before and after the stable interval of each effective substitution segment, determine the change in methanol supply, and determine the stable substitution amount of diesel based on the corresponding change in the stable state of diesel supply. The changes in methanol supply and the corresponding stable substitution amount of diesel are collected according to the stable operating state of the effective substitution segment. The correspondence between the changes in methanol supply and the stable substitution amount of diesel under different stable operating states is determined, and the stable substitution relationship is obtained.

[0041] In this embodiment, the step of aggregating the changes in methanol supply and the corresponding stable substitution amount of diesel according to the stable operating state of the effective substitution segment, and determining the correspondence between the changes in methanol supply and the stable substitution amount of diesel under different stable operating states, includes: The stable operating states of each effective substitution segment before the change in methanol supply are extracted, and the differences between the stable operating states of different effective substitution segments are compared. Effective substitution segments with similar operating foundations are grouped into the same substitution sample group. The similar operating foundations mean that the differences between the load state, engine operating state and fuel supply foundation of different effective substitution segments before the change in methanol supply are all within the allowable fluctuation range of the corresponding stable state. Within each substitution sample group, each effective substitution segment is organized according to the direction of methanol supply increase and methanol supply decrease, and the methanol supply change of each effective substitution segment is associated with the corresponding stable diesel substitution amount to form substitution sample pairs; For multiple substitution sample pairs with similar degrees of change in methanol supply, compare the dispersion between the corresponding stable substitution amounts of diesel, identify abnormal substitution samples that deviate significantly from the other substitution samples in the same group, and remove abnormal substitution samples caused by other operational disturbances after checking the load status and engine operating status of the corresponding effective substitution segments. Based on the remaining substitution samples, the representative diesel substitution amounts corresponding to different degrees of methanol supply change are determined, and the representative diesel substitution amounts are arranged in order of the degree of methanol supply change. Verify whether the representative diesel substitution amount corresponding to the degree of change in adjacent methanol supply maintains a continuous change relationship consistent with the direction of methanol supply change; for local substitution samples that do not meet the continuous change relationship, re-examine the corresponding valid substitution segments and exclude abnormal substitution samples caused by load drift, engine status change or other fuel adjustments. Based on the verified changes in methanol supply and the corresponding representative diesel substitution amount, a correspondence is established between the changes in methanol supply and the stable diesel substitution amount for the current substitution sample group. This correspondence is then established for different substitution sample groups to obtain the stable substitution relationship.

[0042] Furthermore, determining the target diesel substitution amount based on changes in methanol supply and stable substitution relationships includes: Determine the corresponding alternative sample group based on the pre-event operating status of the current load change event; Obtain the current change in methanol supply, and determine the stable change in diesel substitution corresponding to the current change in methanol supply in the stable substitution relationship of the corresponding substitution sample group; The stable substitution change of diesel is determined as the target diesel substitution amount corresponding to the current methanol supply change after the power effect is fully formed, and the corresponding substitution direction is recorded.

[0043] When there is a substitution sample in the stable substitution relationship that corresponds to the current change in methanol supply, the target diesel substitution amount is determined by the corresponding stable change in diesel substitution. When there is no substitute sample in the stable substitution relationship that completely corresponds to the current change in methanol supply, adjacent substitute samples located on both sides of the current change in methanol supply are selected under the same substitution direction, and the target diesel substitution amount is determined based on the two adjacent substitute samples.

[0044] In one implementation, when the current methanol supply changes... Located in adjacent samples and When the target diesel substitution amount T is between these two values, it is expressed as:

[0045] in, The target diesel substitution amount; and They are respectively and The corresponding change in stable diesel substitution.

[0046] The interpolation is performed only within the coverage of stable substitution relationships corresponding to the same operating basis and the same substitution direction. When the current methanol supply change exceeds the coverage of existing stable substitution relationships, instead of directly extrapolating beyond the coverage based on existing substitution samples, the boundary substitution amount that can be confirmed by the corresponding stable substitution relationship is taken as the currently confirmed target substitution range, so as to avoid distortion of the target diesel substitution amount due to exceeding the historical effective operating range.

[0047] S4. Based on the difference between the diesel compensation response and the normal diesel compensation benchmark during load change events, the methanol substitution status is determined in conjunction with the target diesel substitution amount. In this embodiment, determining the methanol substitution state includes: Based on the load state change process, the actual diesel supply data in the load change event is mapped to the same load state change position of the diesel normal compensation benchmark to form the actual diesel compensation response. The starting point for the substitution effect observation is determined based on the timing of each methanol supply change, and the difference in substitution response is extracted based on the deviation between the actual diesel compensation response and the normal diesel compensation benchmark after the starting point for the substitution effect observation. Based on the order in which each methanol supply change occurs, the substitution response difference is matched with the corresponding target diesel substitution amount to determine the realized and unrealized diesel substitution amounts corresponding to each methanol supply change. By correlating the target diesel substitution amount, the realized diesel substitution amount, the unrealized diesel substitution amount, and the substitution direction corresponding to each change in methanol supply, the methanol substitution status can be obtained.

[0048] Furthermore, the step of determining the observation starting point of the substitution effect based on the occurrence time of each methanol supply change, and extracting the substitution response difference based on the deviation between the actual diesel compensation response and the normal diesel compensation benchmark after the observation starting point of the substitution effect, includes: Based on the timing of each methanol supply change, identify the methanol supply changes that have not yet been replaced, and determine the state change position corresponding to the earliest methanol supply change as the starting point for observing the replacement effect. Determine the initial reference deviation between the normal diesel compensation reference and the actual diesel compensation response at the observation starting point of the substitution effect; After the observation starting point of the substitution effect, the deviation between the normal diesel compensation benchmark and the actual diesel compensation response at each load state change location is compared with the initial benchmark deviation. Along the substitution direction corresponding to the change in methanol supply, the new deviation exceeding the normal compensation fluctuation range of diesel is extracted to obtain the substitution response difference at the corresponding load state change location.

[0049] In one implementation, the verifiable alternative response difference corresponding to the current load state change location s. Represented as:

[0050] in, The identifiable alternative response difference corresponding to the current load state change location s; This is the normal compensation benchmark for diesel fuel corresponding to the state change position s; This represents the actual diesel fuel supply under the same state change location. This represents the location of the state change corresponding to the current observation starting point of the substitution effect; This refers to the permissible error range for the normal compensation benchmark of diesel fuel. It is a substitution direction coefficient used to unify different substitution directions into a positive substitution amount.

[0051] The allowable error range Based on the historical load response where methanol supply remains stable, the normal residual fluctuation between the diesel normal compensation benchmark obtained by reconstructing in the same way and the corresponding actual diesel response is determined. This is used to avoid misidentifying diesel normal speed regulation fluctuations, measurement fluctuations, or benchmark reconstruction errors as substitution effects that have already been formed by methanol.

[0052] A diesel substitution amount is determined to be identifiable only when the substitution response difference remains consistent with the corresponding methanol substitution direction at the position of continuous state change and exceeds the allowable error range of the diesel normal compensation benchmark.

[0053] It should be noted that the substitution response difference represents the overall diesel substitution effect that has been formed at the current state change location, rather than the amount of new substitution generated per unit time. Therefore, the substitution response differences obtained at different sampling times are not directly accumulated to avoid the same substitution effect being repeatedly calculated during continuous sampling.

[0054] Furthermore, the step of matching the substitution response difference with the corresponding target diesel substitution amount based on the order of occurrence of each methanol supply change, to determine the realized and unrealized diesel substitution amounts corresponding to each methanol supply change, includes: Establish substitution records according to the order in which each methanol supply change occurs, and associate each substitution record with the corresponding target diesel substitution amount and substitution direction; For multiple substitution records that have the same substitution direction and have not yet been completed, the currently confirmed diesel substitution amount will be matched first to the substitution record with the earliest occurrence time. When the matching amount obtained by the current substitution record reaches its target diesel substitution amount, the realized diesel substitution amount of the substitution record is determined as the corresponding target diesel substitution amount, and the remaining verifiable diesel substitution amount is continued to be matched to the next substitution record. When the matching amount obtained by the current substitution record is less than its target diesel substitution amount, the corresponding matching amount is determined as the realized diesel substitution amount of the substitution record, and the difference between the target diesel substitution amount and the realized diesel substitution amount is determined as the unrealized diesel substitution amount.

[0055] Suppose that there are substitution records from the 1st to the jth in the same substitution direction, and the target diesel substitution amount of the jth substitution record is... If the currently confirmed diesel substitution amount is R, then the realized diesel substitution amount for the j-th substitution record is... Represented as:

[0056] The amount of unrealized diesel substitution corresponding to the j-th substitution record is represented as:

[0057] in, For the j-th substitution record, the amount of diesel fuel substitution already confirmed at the current load change location; R is the target diesel substitution amount corresponding to the j-th substitution record, which is used to represent the total amount of diesel substitution that is expected to be formed after the methanol supply change is fully formed; R is the confirmable diesel substitution amount corresponding to the current load change position, which is used to represent the total diesel substitution amount that has been formed based on the deviation of the actual diesel compensation response from the normal diesel compensation benchmark. This represents the amount of unrealized diesel replacement corresponding to the j-th replacement record.

[0058] when When the change in methanol supply corresponding to the j-th substitution record has formed a diesel substitution effect corresponding to the target diesel substitution amount, the substitution record can be identified as the substitution completion state. when This indicates that the change in methanol supply has already resulted in some substitution for diesel, but there are still substitution effects that have not yet been formed. when At this time, it indicates that the actual diesel compensation response has not yet confirmed the corresponding diesel substitution effect of the methanol supply change.

[0059] The above R, , and All values ​​are represented by non-negative values ​​for diesel substitution. The direction of change, where an increase in methanol corresponds to a decrease in diesel or a decrease in methanol corresponds to a recovery in diesel, is recorded separately using substitution direction identifiers associated with each substitution record. Only substitution records with the same substitution direction are matched sequentially according to the above formula.

[0060] Therefore, the existing diesel substitution effect is assigned according to the order of occurrence of each methanol supply change. After the earlier substitution record reaches the corresponding target diesel substitution amount, the remaining substitution effect is then assigned to the next substitution record. This avoids the same diesel compensation deviation being repeatedly attributed to different methanol supply changes in the case of multiple consecutive methanol supply adjustments.

[0061] S5 determines the methanol adaptation demand based on the methanol substitution status and subsequent load changes, adjusts the methanol supply according to the methanol adaptation demand, and updates the methanol substitution status based on the adjusted operating response.

[0062] The process of determining methanol supply demand based on methanol substitution status and subsequent load changes, and adjusting methanol supply accordingly, includes: Identify subsequent load changes that occur after the current load change event. Based on the direction and state change process of the subsequent load change, determine the corresponding diesel compensation change amount under the condition that there is no new change in methanol supply, in accordance with the diesel normal compensation benchmark method, and determine the diesel compensation change amount as the subsequent load change demand. The methanol substitution status is obtained, and each methanol substitution record that has not yet been completed is extracted from the methanol substitution status. The amount of diesel that has not been replaced and the direction of replacement are obtained for each methanol substitution record. The amount of diesel that has not been replaced is then collected according to the direction of replacement to obtain the amount of diesel that is currently yet to be formed. Compare the direction of the subsequent load change demand with the current diesel substitution amount that is yet to be formed; when the two directions are consistent, the diesel substitution amount that is yet to be formed should be included first when determining the methanol adaptation demand, and the new diesel substitution demand should be determined by the remaining amount after deducting the diesel substitution amount that is yet to be formed in the same direction from the subsequent load change demand. When the subsequent load change demand is opposite to the direction of the current diesel substitution amount that has not yet been formed, the unrealized diesel substitution amount in the opposite direction is reduced according to the subsequent load change demand and the order of occurrence of the methanol substitution records that have not yet been replaced. The reverse substitution adjustment demand is determined based on the subsequent load change demand that has not yet been offset after the reduction. Based on the new diesel substitution demand or reverse substitution adjustment demand, determine the methanol supply change corresponding to the current operating state from the stable substitution relationship, and determine the methanol supply change and the corresponding change direction as the methanol adaptation demand. Based on the methanol adaptation requirements, the methanol supply is increased, decreased, or maintained on the basis of the current methanol supply status. The adjustment time, change in methanol supply, substitution direction, and target diesel substitution amount determined based on the stable substitution relationship are recorded to form a corresponding methanol substitution record.

[0063] The subsequent load change demand refers to the fuel requirement change determined based on the normal diesel compensation change corresponding to the subsequent load state change, assuming that the previously implemented methanol supply change will no longer generate new substitution effects during the current subsequent load change process, and is expressed as the equivalent diesel compensation amount.

[0064] In one implementation, let the subsequent load change demand be... There are n unrealized diesel substitution amounts that are consistent with the direction of subsequent load change demand, and the j-th unrealized diesel substitution amount is... The same direction still needs to form a diesel substitution volume for:

[0065] New diesel replacement demand for:

[0066] in, This refers to the subsequent load change demand corresponding to the current subsequent load change; The unrealized diesel substitution amount corresponds to the j-th methanol substitution record that is consistent with the current subsequent load change demand direction and has not yet been replaced; n is the total number of methanol substitution records that are consistent with the current subsequent load change demand direction and have not yet been replaced. This refers to the total amount of diesel substitution in the same direction that has yet to be formed in response to the previous methanol supply adjustments. After deducting the total amount of diesel substitution that still needs to be formed, the diesel substitution demand still needs to be adjusted through the increase in methanol supply.

[0067] when This indicates that the previously unmet diesel substitution volume is insufficient to cover the current and subsequent load changes, and the difference is considered as new diesel substitution demand; when At that time, no new demand for diesel replacement will be generated; when At that time, no new methanol supply will be added in the same direction, and the corresponding reverse substitution adjustment demand will be determined based on the unrealized diesel substitution amount that exceeds the current subsequent load change demand.

[0068] For reverse substitution adjustments, it is preferable to reduce them from the later to the earlier in the methanol substitution record. The reason is that for methanol adjustments that occurred later and still have unrealized diesel substitution amounts, the corresponding substitution effect has not yet been fully formed. Prioritizing the reduction of this part can minimize interference with the earlier methanol supply status that has already formed a stable substitution effect.

[0069] Furthermore, updating the methanol substitution status based on the adjusted operating response includes: After adjusting the methanol supply according to the methanol demand, the system continues to acquire the operating status data of the diesel generator and identify the load status change process corresponding to the methanol supply adjustment. Based on the method for determining the normal diesel compensation benchmark, the normal diesel compensation benchmark corresponding to the condition that the methanol supply does not undergo the current additional adjustment is determined according to the load state change process. Based on the load state change process, the actual diesel supply change after methanol supply adjustment is mapped to the same load state change position of the normal diesel compensation benchmark to obtain the adjusted actual diesel compensation response. The method of determining the substitution response difference based on the difference between the actual diesel compensation response and the normal diesel compensation benchmark is used to determine the identifiable diesel substitution amount corresponding to the methanol supply adjustment. Based on the order of each methanol supply change, the substitution response difference is matched with the corresponding target diesel substitution amount. The confirmed diesel substitution amount is then sequentially matched to each methanol substitution record that has not yet been substituted, and the realized diesel substitution amount and unrealized diesel substitution amount corresponding to each methanol substitution record are re-determined. The substitution status of each methanol substitution record is updated based on the redefined realized and unrealized diesel substitution amounts, and a new methanol substitution status is obtained based on the update results of all methanol substitution records.

[0070] Furthermore, when the amount of unrealized diesel replacement corresponding to a methanol replacement record decreases to within the allowable error range of the normal diesel compensation benchmark, it is determined that the target diesel replacement effect corresponding to the methanol replacement record has been basically formed, and the methanol replacement record is updated to the replacement completion status; for methanol replacement records where the amount of unrealized diesel replacement still exceeds the allowable error range, the amount of unrealized diesel replacement is retained, and it will continue to participate in the determination of methanol adaptation requirements when the next subsequent load change occurs.

[0071] Figure 2 Using the load step change moment as a unified time reference, the dynamic changes in load command and actual load, generator frequency deviation, engine speed deviation, and diesel and methanol supply are presented sequentially. As shown in the figure, after a sudden load increase, both generator frequency and engine speed exhibit transient deviations. Diesel supply initially increases rapidly to accommodate the immediate load change. Subsequently, as methanol supply gradually establishes itself and its substitution effect takes hold, diesel compensation gradually decreases and enters a stable range. The figure also indicates the maximum frequency deviation, maximum speed deviation, maximum transient diesel compensation, and the stabilization time after the load step change, which can be used to illustrate that this invention can continuously track the dynamic relationship between fuel supply and power response during load changes.

[0072] Figure 3 This diagram illustrates the dynamic evolution of the diesel normal compensation benchmark, actual diesel compensation response, and methanol substitution status during continuous load changes and multiple methanol supply adjustments. The upper curve represents the deviation between the diesel normal compensation benchmark and the actual diesel compensation response during the same load change process; the difference characterizes the substitution response difference after methanol substitution occurs. The middle section shows the changes in the target diesel substitution amount, realized diesel substitution amount, and unrealized diesel substitution amount during operation, reflecting the degree of realization of the substitution effect corresponding to each methanol supply adjustment. The lower section displays the continuation and updating of multiple adjustment tasks through methanol substitution records. When the subsequent load change direction is consistent with the direction of the unrealized substitution, the unrealized diesel substitution amount is carried forward and deducted; when the two directions are opposite, the unrealized substitution task is preferentially cancelled, thereby avoiding repeated allocation of the same fuel demand during continuous adjustment. Overall, this diagram embodies the complete closed-loop process of this invention, from the construction of the diesel normal compensation benchmark, the identification of the substitution response, the allocation of the substitution amount, to the subsequent methanol adaptation update.

[0073] The above formulas are all dimensionless calculations. The formulas are derived from software simulations based on a large amount of collected data to obtain the most recent real-world results. The preset parameters in the formulas are set by those skilled in the art according to the actual situation.

[0074] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, in the form of a computer program product.

[0075] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0076] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.

[0077] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0078] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for adapting a diesel generator to methanol fuel, characterized in that, Includes the following steps: Acquire operating status data of diesel generators, identify load change events, and determine the direction of event change and the operating status before the event; Based on the pre-event operating status and the historical response in the same direction when methanol supply is stable, the normal compensation benchmark for diesel is determined. The target diesel substitution amount is determined based on changes in methanol supply and stable substitution relationships. Based on the difference between the diesel compensation response and the normal diesel compensation benchmark during load change events, the methanol substitution status is determined in conjunction with the target diesel substitution amount. The methanol substitution status is determined based on the methanol substitution status and subsequent load changes, the methanol supply is adjusted according to the methanol substitution demand, and the methanol substitution status is updated based on the adjusted operating response.

2. The method for adapting a diesel generator to methanol fuel according to claim 1, characterized in that, The identification of load change events includes: Determine the normal fluctuation range based on the stable fluctuation characteristics of continuously running data; Identify operational changes that consistently exceed the normal fluctuation range and determine the starting point of candidate events; Based on the correspondence between the engine or fuel regulation response after the candidate event starting point and the operational changes, load change events are determined.

3. The method for adapting a diesel generator to methanol fuel according to claim 2, characterized in that, Determining the direction of event change and the pre-event running state includes: The direction of the load change event and the event's initial boundary are determined based on the change in the load change event relative to the pre-event steady state. Filter stable operating intervals forward based on the event initiation boundary; The pre-event operating state is determined based on the operating state within the stable operating range that corresponds to the direction of event change.

4. The method for adapting a diesel generator to methanol fuel according to claim 3, characterized in that, The determination of the normal diesel compensation benchmark includes: The load state change process is determined based on the load change event and the operating status before the event, and the load state change process is divided into multiple continuous state change segments. Based on the initial state of each state change segment, the corresponding historical response segments are extracted from the historical load response where the methanol supply is stable and the change direction is consistent. By stripping the diesel supply basis of each historical response segment, the relative diesel compensation response of the corresponding state change segment is obtained; According to the order of the state change segments, the relative diesel compensation response is sequentially connected to the diesel supply base before the event to obtain the normal diesel compensation benchmark.

5. The method for adapting a diesel generator to methanol fuel according to claim 4, characterized in that, The stable substitution relationship is determined in the following way: Candidate replacement segments with stable load conditions and changes in methanol supply were selected from historical operating data; Valid replacement fragments are determined based on the operational stability of the candidate replacement fragments before and after the changes. The substitution sample was determined based on changes in methanol supply and corresponding stable changes in diesel fuel supply for effective substitution segments. Based on the stable operating status of each substitution sample, a stable substitution relationship between changes in methanol supply and stable diesel substitution volume is established.

6. The method for adapting a diesel generator to methanol fuel according to claim 5, characterized in that, The aggregation based on the stable operating state of each substitute sample includes: Substitute sample groups are divided according to the differences in the stable operating status of each effective substitute segment; The changes in methanol supply within the group are paired with the corresponding stable substitution amounts of diesel fuel to form substitution sample pairs. Based on the consistency identification of substitution sample pairs in the same group and the elimination of abnormal samples, the representative diesel substitution amount corresponding to different degrees of methanol supply change is determined. Establish stable substitution relationships for each substitution sample group based on the representative diesel substitution volume.

7. The method for adapting a diesel generator to methanol fuel according to claim 6, characterized in that, The determination of the target diesel substitution amount based on changes in methanol supply and stable substitution relationships includes: Determine the corresponding alternative sample group based on the pre-event operational status; Based on the current changes in methanol supply, determine the corresponding stable diesel substitution amount from the stable substitution relationships of the substitution sample group; The target diesel substitution amount and substitution direction are determined based on the stable diesel substitution amount.

8. The method for adapting a diesel generator to methanol fuel according to claim 7, characterized in that, Determining the methanol substitution status includes: Based on the load state change process, the actual diesel supply is aligned with the normal diesel compensation benchmark to obtain the actual diesel compensation response. The substitution response difference is determined based on changes in methanol supply and the deviation of the actual diesel compensation response from the normal diesel compensation benchmark. The substitution response difference is matched with the corresponding target diesel substitution amount according to the order of methanol supply changes to determine the realized and unrealized diesel substitution amounts. By associating the target diesel substitution amount, the realized diesel substitution amount, the unrealized diesel substitution amount, and the substitution direction, the methanol substitution status can be obtained.

9. The method for adapting a diesel generator to methanol fuel according to claim 8, characterized in that, The determination of the alternative response difference includes: The starting point for observing the substitution effect is determined based on changes in methanol supply that have not yet been substituted and their sequence of occurrence; The initial reference deviation is determined based on the actual diesel compensation response at the observation starting point and the normal diesel compensation benchmark. Compare the response deviations at each state change location after the observation starting point with the initial reference deviation, and determine the substitution response difference based on the new deviation formed along the substitution direction.

10. The method for adapting a diesel generator to methanol fuel according to claim 9, characterized in that, The step of updating the methanol substitution status based on the adjusted operating response includes: Determine the amount of diesel that has not yet been replaced and the direction of replacement based on the status of methanol substitution. When subsequent load changes are in the same direction as the replacement, the unrealized diesel replacement amount will be carried forward to offset the demand for subsequent load changes, and the new replacement demand will be determined. When the two are reversed, the corresponding unrealized substitution quantity should be reduced first to determine the reverse substitution demand; The methanol demand is determined based on the stable substitution relationship, and the methanol supply is adjusted accordingly. The methanol substitution status is updated based on the adjusted diesel compensation response.