Search

CN-115574369-B - Operation control method and device of cogeneration unit, electronic equipment and storage medium

CN115574369BCN 115574369 BCN115574369 BCN 115574369BCN-115574369-B

Abstract

The invention provides a control method and device for operation of a cogeneration unit, electronic equipment and a storage medium. The method comprises the steps of obtaining an actual output value of the cogeneration unit in a current control mode, calculating output tracking errors of various outputs of the cogeneration unit according to an output reference value and the actual output value of the cogeneration unit in the current control mode, calculating a control gain matrix of the cogeneration unit according to the output tracking errors in the current control mode, inputting the control gain matrix into the cogeneration unit, and determining an actual output target value after adjustment of the cogeneration unit. The invention can realize flexible adjustment of the cogeneration unit and timely meet the control requirement.

Inventors

  • Qian baiyun
  • WANG WEI
  • LIU JIANGSHAN
  • LI YONGJI
  • ZHANG JIAN
  • DUAN BINGDE
  • HAN HONGZHI
  • GAO NING
  • SONG MINGSHU
  • KANG YONGHAO
  • ZHU QING
  • LIANG JIAHAO
  • ZHOU CHENG
  • ZHAO WENQING
  • KONG DEAN

Assignees

  • 新疆新能集团有限责任公司乌鲁木齐电力建设调试所
  • 国网新疆电力有限公司电力科学研究院

Dates

Publication Date
20260512
Application Date
20221111

Claims (7)

  1. 1. The operation control method of the cogeneration unit is characterized in that the cogeneration unit adopts a plurality of control modes, and output reference values of the cogeneration unit are respectively set in each control mode, and the method comprises the following steps: acquiring an actual output value of the cogeneration unit in a current control mode; Calculating an output tracking error of each output of the cogeneration unit according to the output reference value and the actual output value of the cogeneration unit in the current control mode; Calculating a control gain matrix of the cogeneration unit according to the output tracking error in the current control mode; Inputting the control gain matrix to the cogeneration unit, and determining an actual output target value regulated by the cogeneration unit; Calculating a control gain matrix of the cogeneration unit according to the output tracking error in the current control mode, wherein the control gain matrix comprises the following components: Calculating an extended state space model of the cogeneration unit according to the output tracking error in the current control mode, wherein the output tracking error is obtained by integrating and calculating the difference between the output reference value and the actual output value; determining a cost function of LQR control based on the extended state space model; based on the cost function, determining a state weight matrix and an input weight matrix of LQR control by adopting a particle swarm optimization algorithm, wherein a membership function of the particle swarm optimization algorithm is determined according to the output tracking error; Calculating a control gain matrix of the cogeneration unit according to the state weight matrix and the input weight matrix; According to the state weight matrix and the input weight matrix, calculating a control gain matrix of the cogeneration unit, wherein the control gain matrix comprises the following components: based on the state weight matrix and the input weight matrix, calculating a positive definite matrix solution of a Li-Carl equation corresponding to the minimum cost function; And calculating a control gain matrix of the cogeneration unit according to the positive definite matrix solution, wherein the control gain matrix comprises a state feedback matrix and an error gain matrix.
  2. 2. The cogeneration unit operation control method according to claim 1, wherein said calculating an output tracking error of each output of the cogeneration unit based on the output reference value and the actual output value of the cogeneration unit in the current control mode comprises: According to Calculating output tracking errors of various outputs; Wherein, the For the output tracking error of the cogeneration unit in time t, Is that The output reference value of the cogeneration unit in the current control mode at the moment, Is that The actual output value of the cogeneration unit at the moment, t is the time for controlling the operation of the cogeneration unit, Is any time within the time t.
  3. 3. The cogeneration unit operation control method according to claim 1, further comprising, before inputting the control gain matrix to the cogeneration unit, determining an actual output target value after adjustment of the cogeneration unit: obtaining the heat supply steam extraction flow output by the cogeneration unit; Calculating a heat supply state signal according to the heat supply steam extraction flow; determining a fuel regulating signal according to the heat supply state signal and a preset heat supply quality signal; The step of inputting the control gain matrix to the cogeneration unit, and determining the actual output target value after the adjustment of the cogeneration unit comprises the following steps: And inputting the fuel adjusting signal and the control gain matrix into the cogeneration unit, and determining an actual output target value after the adjustment of the cogeneration unit.
  4. 4. A cogeneration unit operation control method according to claim 3, wherein calculating a heating status signal from said heating extraction flow comprises: According to Calculating a heating state signal; Wherein, the Representing the said heating status signal, Represents the heat supply steam extraction flow output by the cogeneration unit, Indicating the start time of the acquisition of the heating extraction flow, Indicating the end time of obtaining the heat supply steam extraction flow; Determining a fuel regulation signal according to the heating state signal and a preset heating quality signal, including: According to Determining a fuel adjustment signal; Wherein, the Which is indicative of the fuel conditioning signal, An output reference value representing a unit load of the cogeneration unit, Representing the ratio of the output of the cogeneration unit to the heat supply steam extraction flow, A tracking error indicative of said heating extraction flow, A preset heating quality signal is indicated, Representing the heating status signal.
  5. 5. The utility model provides a cogeneration unit operation controlling means, its characterized in that, cogeneration unit adopts multiple control mode, sets up respectively in each control mode the output benchmark value of cogeneration unit, and the device includes: The acquisition module is used for acquiring an actual output value of the cogeneration unit in a current control mode; The first calculation module calculates output tracking errors of various outputs of the cogeneration unit according to the output reference value and the actual output value of the cogeneration unit in the current control mode; The second calculation module calculates a control gain matrix of the cogeneration unit according to the output tracking error in the current control mode; The determining module is used for inputting the control gain matrix into the cogeneration unit and determining an actual output target value after the adjustment of the cogeneration unit; The second computing module is specifically configured to: Calculating an extended state space model of the cogeneration unit according to the output tracking error in the current control mode, wherein the output tracking error is obtained by integrating and calculating the difference between the output reference value and the actual output value; determining a cost function of LQR control based on the extended state space model; based on the cost function, determining a state weight matrix and an input weight matrix of LQR control by adopting a particle swarm optimization algorithm, wherein a membership function of the particle swarm optimization algorithm is determined according to the output tracking error; Calculating a control gain matrix of the cogeneration unit according to the state weight matrix and the input weight matrix; The second computing module is specifically configured to: based on the state weight matrix and the input weight matrix, calculating a positive definite matrix solution of a Li-Carl equation corresponding to the minimum cost function; And calculating a control gain matrix of the cogeneration unit according to the positive definite matrix solution, wherein the control gain matrix comprises a state feedback matrix and an error gain matrix.
  6. 6. An electronic device comprising a memory for storing a computer program and a processor for calling and running the computer program stored in the memory, characterized in that the processor implements the steps of the method according to any of the preceding claims 1-4 when the computer program is executed.
  7. 7. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any of the preceding claims 1 to 4.

Description

Operation control method and device of cogeneration unit, electronic equipment and storage medium Technical Field The invention relates to the technical field of electric power automation, in particular to a method and a device for controlling operation of a cogeneration unit, electronic equipment and a storage medium. Background Along with the continuous acceleration of the construction steps of a novel power system, new energy sources are connected in a large scale, a large number of cogeneration units exist at the same time, the cogeneration units are widely used in northern China because of the heating requirement in winter, and the cogeneration units need to face the power supply peak regulation and frequency modulation tasks and the heat supply tasks at the same time in the heat supply period, so that the cogeneration units need to have rapid load response speed, and the heat supply and power supply requirements are flexibly met. In recent years, a proportional-integral-derivative controller (Proportion Integration Differentiation, a PID controller) is generally adopted in the prior art to carry out coordinated control on the cogeneration unit, but under different control modes of the cogeneration unit, the PID controller cannot flexibly adjust the cogeneration unit, cannot timely meet load requirements, and the application range of the PID controller is limited. Therefore, a control method capable of flexibly adjusting the cogeneration unit and timely meeting different control demands is needed. Disclosure of Invention The embodiment of the invention provides a control method, a device, electronic equipment and a storage medium for operation of a cogeneration unit, which are used for solving the problems that the cogeneration unit cannot be flexibly regulated under different control modes and cannot meet control requirements in time in the prior art. In a first aspect, an embodiment of the present invention provides a method for controlling operation of a cogeneration unit, where the cogeneration unit adopts a plurality of control modes, and output reference values of the cogeneration unit are set in each control mode, respectively, where the method includes: acquiring an actual output value of a cogeneration unit in a current control mode; Calculating an output tracking error of each output of the cogeneration unit according to the output reference value and the actual output value of the cogeneration unit in the current control mode; calculating a control gain matrix of the cogeneration unit according to the output tracking error in the current control mode; And inputting the control gain matrix into a cogeneration unit, and determining an actual output target value after adjustment of the cogeneration unit. In one possible implementation manner, calculating an output tracking error of each output of the cogeneration unit according to the output reference value and the actual output value of the cogeneration unit in the current control mode includes: According to Calculating output tracking errors of various outputs; Wherein X e (t) is an output tracking error of the cogeneration unit in t time, Y d (tau) is an output reference value of the cogeneration unit in a tau moment current control mode, Y (tau) is an actual output value of the cogeneration unit at tau moment, t is time for running control of the cogeneration unit, and tau is any moment in t time. In one possible implementation, calculating a control gain matrix of the cogeneration unit according to the output tracking error in the current control mode includes: Calculating an expansion state space model of the cogeneration unit according to the output tracking error in the current control mode; determining a cost function of LQR control based on the extended state space model; based on the cost function, determining a state weight matrix and an input weight matrix of LQR control; And calculating a control gain matrix of the cogeneration unit according to the state weight matrix and the input weight matrix. In one possible implementation, determining the state weight matrix and the input weight matrix of the LQR control based on the cost function includes: based on the cost function, a particle swarm optimization algorithm is adopted to determine a state weight matrix and an input weight matrix of each output. In one possible implementation, calculating a control gain matrix of the cogeneration unit according to the state weight matrix and the input weight matrix includes: based on the state weight matrix and the input weight matrix, calculating a positive definite matrix solution of the Li-Carl equation corresponding to the minimum cost function; And calculating a control gain matrix of the cogeneration unit according to the positive definite matrix solution, wherein the control gain matrix comprises a state feedback matrix and an error gain matrix. In one possible implementation, before inputting the control gain matrix to the cogeneratio