WO2023245403A1 - Optimization method and apparatus for fluid network system - Google Patents

Optimization method and apparatus for fluid network system Download PDF

Info

Publication number
WO2023245403A1
WO2023245403A1 PCT/CN2022/100041 CN2022100041W WO2023245403A1 WO 2023245403 A1 WO2023245403 A1 WO 2023245403A1 CN 2022100041 W CN2022100041 W CN 2022100041W WO 2023245403 A1 WO2023245403 A1 WO 2023245403A1
Authority
WO
WIPO (PCT)
Prior art keywords
model
fluid network
network system
simulation
main pipe
Prior art date
Application number
PCT/CN2022/100041
Other languages
French (fr)
Chinese (zh)
Inventor
江宁
王德慧
Original Assignee
西门子股份公司
西门子(中国)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 西门子股份公司, 西门子(中国)有限公司 filed Critical 西门子股份公司
Priority to PCT/CN2022/100041 priority Critical patent/WO2023245403A1/en
Publication of WO2023245403A1 publication Critical patent/WO2023245403A1/en

Links

Images

Definitions

  • the present invention mainly relates to the field of energy management, and in particular, to an optimization method and device for a fluid network system.
  • Fluid network is a simple abstraction of a continuous production process and is widely used in power generation, chemical industry, water treatment and other industries.
  • changes in a few key parameters will affect comprehensive changes in the state of the entire fluid network system, which will have a significant impact on the energy consumption and environmental performance of the fluid network system. Therefore, the optimization of a few key parameters will have a significant impact on improving the entire fluid network.
  • the economic performance and environmental performance of the system are crucial.
  • each device in the fluid network is modeled separately, and methods such as transfer functions and differential equations are used to represent the input and output characteristics of the device.
  • a model of the entire fluid network is built on the basis of a single device, and then mixed integer linear optimization is used.
  • the model is solved.
  • the problem with this method is that the mixed integer linear optimization model is very difficult to express nonlinear models, and most of the performance models of actual equipment are nonlinear models. If methods such as local linearization are used to convert the nonlinear model into a model that can be processed by the mixed integer linear optimization algorithm, the amount of calculation will increase exponentially, convergence will not be possible within the specified time, and a balance between calculation accuracy and calculation speed will not be achieved. The problem.
  • the present invention provides an optimization method and device for a fluid network system to improve the optimization speed of the fluid network system.
  • the present invention proposes an optimization method for a fluid network system.
  • the optimization method includes: obtaining the pipeline flow diagram of the fluid network system; establishing a simulation model of each equipment and mother pipe in the fluid network system.
  • the simulation model of each equipment and main pipe includes a mechanism model and a data model; establish a system simulation model of the fluid network system according to the simulation model of each equipment and main pipe and the pipeline flow diagram; according to the objective function and
  • the system simulation model establishes a system parameter optimization model, uses the least square method to solve the optimal key parameters of the system parameter optimization model, and runs the fluid network system according to the optimal key parameters.
  • embodiments of the present invention provide an optimization method for a fluid network system, establish a simulation model of the fluid network system, and use the least squares method to optimize the simulation model. It can handle complex functions, has a wider scope of application, and improves efficiency. Optimize efficiency.
  • establishing a system simulation model of the fluid network system based on the simulation model of each device and main pipe and the pipeline flow diagram includes: establishing a graphical model of the pipeline flow diagram, and converting the graphical
  • the model is converted into structured data
  • the topological structure of the graphical model is identified according to the structured data
  • the system simulation model of the fluid network system is established using the simulation model of each device and the main pipe and the topological structure.
  • the graphical model can intuitively and abstractly represent the connection relationship between equipment and pipelines, and then the graphical model is converted into XML and JSON formats, which is a topological structure that can be recognized by the machine.
  • establishing a system simulation model of the fluid network system based on the simulation model of each device and main pipe and the pipeline flow diagram includes: receiving a specified value of a variable input by the user, simulating the system The variables in the model are replaced with the specified values. For this reason, by users inputting specified values of variables, the number of variables can be reduced and the complexity of the simulation model can be reduced, thus improving the efficiency of optimization.
  • establishing a system simulation model of the fluid network system based on the simulation model of each device and main pipe and the pipeline flow diagram includes: determining a proportional relationship between two variables, and converting the two variables according to the proportional relationship.
  • the two variables mentioned above are combined into one variable.
  • the proportional relationship between user input variables the number of equation groups can be reduced and the complexity of the simulation model can be reduced, thereby improving the efficiency of optimization.
  • the objective function is system operating cost, which includes fuel cost and operation and maintenance cost, and the optimal key parameters include main pipe temperature, main pipe pressure, equipment power and equipment flow rate.
  • system operating costs can be controlled to a minimum to improve system economy.
  • the invention also proposes an optimization device for a fluid network system.
  • the optimization device includes: an acquisition module to acquire the pipeline flow diagram of the fluid network system; and a modeling module to establish each equipment and mother pipe in the fluid network system.
  • the simulation model, the simulation model of each equipment and the main pipe includes a mechanism model and a data model; the simulation module establishes the system simulation of the fluid network system according to the simulation model of each equipment and the main pipe and the pipeline flow chart.
  • Model optimization module, establishes a system parameter optimization model according to the objective function and the system simulation model, uses the least squares method to solve the optimal key parameters of the system parameter optimization model, and runs the fluid network according to the optimal key parameters system.
  • the simulation module establishes a system simulation model of the fluid network system based on the simulation model of each device and main pipe and the pipeline flow diagram, including: establishing a graphical model of the pipeline flow diagram, and converting The graphical model is converted into structured data, the topology structure of the graphical model is identified according to the structured data, and the simulation model of each device and the main pipe and the topology structure are used to establish the fluid network system.
  • System simulation model is used to establish the fluid network system.
  • the simulation module establishing a system simulation model of the fluid network system based on the simulation model of each device and main pipe and the pipeline flow diagram includes: receiving a specified value of a variable input by the user, and converting the The variables in the system simulation model are replaced with the specified values.
  • the simulation module establishing a system simulation model of the fluid network system based on the simulation model of each device and main pipe and the pipeline flow diagram includes: determining the proportional relationship between two variables, according to the A proportional relationship combines the two variables into one variable.
  • the objective function is system operating cost, which includes fuel cost and operation and maintenance cost
  • the optimal key parameters include main pipe temperature, main pipe pressure, equipment power and equipment flow rate.
  • the present invention also proposes an electronic device, including a processor, a memory and instructions stored in the memory, wherein when the instructions are executed by the processor, the above method is implemented.
  • the present invention also proposes a computer-readable storage medium on which computer instructions are stored, which execute the method as described above when executed.
  • Figure 1 is a flow chart of an optimization method for a fluid network system according to an embodiment of the present invention
  • Figure 2 is a schematic diagram of an optimization device of a fluid network system according to an embodiment of the present invention.
  • Figure 3 is a schematic diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 1 is a flow chart of an optimization method 100 for a fluid network system according to an embodiment of the present invention. As shown in Figure 1, the optimization method 100 includes:
  • Step 110 Obtain the pipeline flow diagram of the fluid network system.
  • the fluid network system can be abstracted into two objects: equipment and main pipe.
  • the equipment has input and output of the medium, or one of them.
  • the physical properties of the input and output medium such as temperature, pressure, flow rate, etc., may change;
  • the parent pipe represents the interconnected pipelines that can ignore geographical differences and transmission losses.
  • the state quantities such as temperature and pressure of the medium are the same. If the temperature and pressure at both ends of a pipeline are different due to factors such as pipe length, pipe diameter, etc., then this pipeline is treated as a piece of equipment in the embodiment of the present invention.
  • the pipeline flow diagram represents the connection relationship between the equipment and main pipes in the fluid network system.
  • the pipeline flow diagram can be a PFD diagram (process flow diagram) or a PID diagram (process instrumentation drawing).
  • the PFD diagram or PID diagram can be drawn from the fluid network system. Get it on site.
  • Step 120 Establish a simulation model of each device and main pipe in the fluid network system.
  • the simulation model of each device and main pipe includes a mechanism model and a data model.
  • Historical big data can be used to establish simulation models of each equipment and main pipe in the fluid network system.
  • the simulation models of each equipment and main pipe include mechanism models and data models.
  • the mechanism model refers to a system model established based on the mechanism of the fluid network system.
  • the mechanism can be a physical or chemical change law.
  • the data model is an abstraction of real-world data characteristics, including data structure and data operations. and data constraints. The dominant factors and characteristic curves can be obtained through the mechanism model and data model, and these dominant factors and characteristic curves will be used for system simulation modeling in subsequent steps.
  • Step 130 Establish a system simulation model of the fluid network system based on the simulation models of each equipment and main pipe and the pipeline flow diagram.
  • a fluid network system For a fluid network system, it can be abstracted as a model in which fluid flows into the system through equipment, undergoes property conversion through a series of equipment, and then flows out of the system.
  • the equipment is connected to each other through mother pipes.
  • key state parameters include temperature T and pressure P
  • key state parameters include power w and flow rate G.
  • main control equations include,
  • G in and G out represent the input flow and output flow of the main pipe
  • P out and P in represent the output pressure and input pressure of the equipment
  • T out and T in represent the output temperature and input temperature of the equipment
  • W in represents the input of the equipment.
  • Power, f p , f T , f eff are the relationship functions between ⁇ P, ⁇ T and W in and other key parameters power w, flow rate G, temperature T and pressure P.
  • X represents other related variables.
  • the input and output P and T of the device depend on the input and output mother tube to which it is connected.
  • f p , f T , and f eff can be obtained from step 120, that is, from the simulation model or the big data model.
  • establishing a system simulation model of the fluid network system based on the simulation model of each equipment and main pipe and the pipeline flow diagram includes: establishing a graphical model of the pipeline flow diagram, converting the graphical model into structured data, and converting the graphical model into structured data according to the structure.
  • the topology structure of the graphical model is identified using the data, and the simulation model and topology structure of each equipment and main pipe are used to establish a system simulation model of the fluid network system. For example, draw a graphical model of the fluid network based on the PFD (Pipeline Flow Diagram) diagram or PID diagram of the fluid network system.
  • the graphical model can intuitively and abstractly represent the connection relationship between equipment and pipelines, and then convert the graphical model into XML. and JSON format, which is a topological structure that can be recognized by the machine.
  • establishing a system simulation model of the fluid network system based on the simulation model of each equipment and main pipe and the pipeline flow diagram may include: receiving a specified value of a variable input by the user, and converting the variable in the system simulation model to the specified value. value substitution.
  • the values of some variables are specified. By users inputting the specified values of the variables, the number of variables can be reduced and the complexity of the simulation model can be reduced, thereby improving the efficiency of optimization.
  • establishing a system simulation model of the fluid network system based on the simulation model of each equipment and main pipe and the pipeline flow diagram may include: determining the proportional relationship between two variables, and merging the two variables into one according to the proportional relationship. variable. Specifically, in some application scenarios, there is a proportional relationship between some variables. By user inputting the proportional relationship between these variables, the number of equation groups can be reduced, the complexity of the simulation model can be reduced, and the optimization results can be improved. efficiency.
  • Step 140 Establish a system parameter optimization model based on the objective function and the system simulation model, use the least squares method to solve for the optimal key parameters of the system parameter optimization model, and run the fluid network system based on the optimal key parameters.
  • the objective function is the system operating cost, which includes fuel cost and operation and maintenance cost, and the optimal key parameters include main pipe temperature, main pipe pressure, equipment power and equipment flow rate.
  • the objective function is the system operating cost.
  • the system operating cost needs to be controlled within the minimum range to improve the economy of the system.
  • the objective function is added as a constraint to the simulation model, and the least squares method is used to solve a set of mother pipe temperatures, Main pipe pressure, equipment power and equipment flow, etc., by adjusting the fluid network system to this set of main pipe temperature, main pipe pressure, equipment power, equipment flow, etc., the optimal operation of the fluid network system can be achieved.
  • the embodiment of the present invention provides an optimization method for a fluid network system, establishes a simulation model of the fluid network system, uses the least squares method to optimize the simulation model, can handle complex functions, has a wider applicable scope, and improves optimization efficiency.
  • the present invention also provides an optimization device for a fluid network system.
  • Figure 2 is a schematic diagram of an optimization device 200 for a fluid network system according to an embodiment of the present invention. As shown in Figure 2, the optimization device 200 includes:
  • the acquisition module 210 acquires the pipeline flow diagram of the fluid network system
  • the modeling module 220 establishes a simulation model of each device and mother pipe in the fluid network system.
  • the simulation model of each device and mother pipe includes a mechanism model and a data model;
  • the simulation module 230 establishes a system simulation model of the fluid network system based on the simulation models of each equipment and main pipe and the pipeline flow diagram;
  • the optimization module 240 establishes a system parameter optimization model based on the objective function and the system simulation model, uses the least squares method to solve the optimal key parameters of the system parameter optimization model, and runs the fluid network system according to the optimal key parameters.
  • the simulation module 230 establishes a system simulation model of the fluid network system based on the simulation models of each equipment and main pipe and the pipeline flow diagram, including: establishing a graphical model of the pipeline flow diagram, and converting the graphical model into structured data. , identify the topology structure of the graphical model based on structured data, and use the simulation model and topology structure of each device and main pipe to establish a system simulation model of the fluid network system.
  • the simulation module 230 establishes a system simulation model of the fluid network system based on the simulation model of each equipment and main pipe and the pipeline flow diagram, including: receiving a specified value of a variable input by the user, and converting the variable in the system simulation model to Replace with the specified value.
  • the simulation module 230 establishes a system simulation model of the fluid network system based on the simulation model of each equipment and main pipe and the pipeline flow diagram, including: determining the proportional relationship between two variables, and merging the two variables according to the proportional relationship. as a variable.
  • the objective function is the system operating cost.
  • the system operating cost includes fuel cost and operation and maintenance cost.
  • the optimal key parameters include main pipe temperature, main pipe pressure, equipment power and equipment flow rate.
  • FIG. 3 is a schematic diagram of an electronic device 300 according to an embodiment of the present invention.
  • the electronic device 300 includes a processor 310 and a memory 320 .
  • the memory 320 stores instructions, and when the instructions are executed by the processor 310 , the method 100 as described above is implemented.
  • the present invention also proposes a computer-readable storage medium on which computer instructions are stored, and when executed, the computer instructions execute the method 100 as described above.
  • Some aspects of the method and device of the present invention may be executed entirely by hardware, may be entirely executed by software (including firmware, resident software, microcode, etc.), or may be executed by a combination of hardware and software.
  • the above hardware or software may be referred to as “data block”, “module”, “engine”, “unit”, “component” or “system”.
  • the processor may be one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DAPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Processor , controller, microcontroller, microprocessor or combination thereof.
  • aspects of the invention may be embodied as a computer product embodied in one or more computer-readable media, the product including computer-readable program code.
  • computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, tapes, etc.), optical disks (e.g., compact disks (CD), digital versatile disks (DVD), ...), smart cards and flash memory devices (e.g. cards, sticks, key drives).
  • magnetic storage devices e.g., hard disks, floppy disks, tapes, etc.
  • optical disks e.g., compact disks (CD), digital versatile disks (DVD), Certainly, smart cards and flash memory devices (e.g. cards, sticks, key drives).
  • a flowchart is used here to illustrate operations performed by methods according to embodiments of the present application. It should be understood that the preceding operations are not necessarily performed in exact order. Instead, the various steps can be processed in reverse order or simultaneously. At the same time, other operations may be added to these processes, or a step or steps may be removed from these processes.

Abstract

Provided in the present invention is an optimization method for a fluid network system. The optimization method comprises: acquiring a pipeline flow chart of a fluid network system; establishing simulation models of devices and a main pipe in the fluid network system, wherein the simulation models of the devices and the main pipe comprise a mechanism model and a data model; establishing a system simulation model of the fluid network system according to the simulation models of the devices and the main pipe and the pipeline flow chart; and establishing a system parameter optimization model according to an objective function and the system simulation model, solving optimal key parameters of the system parameter optimization model by using a least square method, and operating the fluid network system according to the optimal key parameters.

Description

流体网络系统的优化方法及装置Optimization method and device of fluid network system 技术领域Technical field
本发明主要涉及能源管理领域,尤其涉及一种流体网络系统的优化方法及装置。The present invention mainly relates to the field of energy management, and in particular, to an optimization method and device for a fluid network system.
背景技术Background technique
流体网络是连续性生产过程的简单抽象,广泛存在于发电、化工、水处理等行业中。在流体网络中,少数关键参数的变化将会影响整个流体网络系统状态的全面变化,从而对流体网络系统的能耗和环保性能带来显著影响,因此对少数关键参数的优化对提高整个流体网络系统的经济性能和环保性能至关重要。Fluid network is a simple abstraction of a continuous production process and is widely used in power generation, chemical industry, water treatment and other industries. In a fluid network, changes in a few key parameters will affect comprehensive changes in the state of the entire fluid network system, which will have a significant impact on the energy consumption and environmental performance of the fluid network system. Therefore, the optimization of a few key parameters will have a significant impact on improving the entire fluid network. The economic performance and environmental performance of the system are crucial.
现有技术中,对于流体网络中的各个设备单独建模,使用传递函数、微分方程等方法表示设备的输入输出特性,在单个设备的基础上搭建整个流体网络的模型,然后采用混合整数线性优化模型进行求解。这种方法的问题在于混合整数线性优化模型对于非线性模型的表达非常困难,而实际设备的性能模型大多为非线性模型。如果采用局部线性化等方法将非线性模型转化为混合整数线性优化算法能够处理的模型,又会出现计算量指数级增加,在指定时间内无法收敛,在计算精度和计算速度之间无法取得平衡的问题。In the existing technology, each device in the fluid network is modeled separately, and methods such as transfer functions and differential equations are used to represent the input and output characteristics of the device. A model of the entire fluid network is built on the basis of a single device, and then mixed integer linear optimization is used. The model is solved. The problem with this method is that the mixed integer linear optimization model is very difficult to express nonlinear models, and most of the performance models of actual equipment are nonlinear models. If methods such as local linearization are used to convert the nonlinear model into a model that can be processed by the mixed integer linear optimization algorithm, the amount of calculation will increase exponentially, convergence will not be possible within the specified time, and a balance between calculation accuracy and calculation speed will not be achieved. The problem.
发明内容Contents of the invention
为了解决上述技术问题,本发明提供一种流体网络系统的优化方法及装置,以提高流体网络系统的优化速度。In order to solve the above technical problems, the present invention provides an optimization method and device for a fluid network system to improve the optimization speed of the fluid network system.
为实现上述目的,本发明提出了一种流体网络系统的优化方法,所述优化方法包括:获取所述流体网络系统的管道流程图;建立所述流体网络系统中各设备和母管的仿真模型,所述各设备和母管的仿真模型包括机理模型和数据模型;根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型;根据目标函数和所述系统仿真模型建立系统参数优化模型,采用最小二乘法对所述系统参数优化模型求解最优关键参数,并根据所述最优关键参数运行所述流体网络系统。为此,本发明的实施例提供了一种流体网络系统的优化方法,建立了流体网络系统的仿真模型,采用最小二乘法对仿真模型进行优化,能够处理复杂函数,适用范围更加广泛,提高了优化效率。In order to achieve the above purpose, the present invention proposes an optimization method for a fluid network system. The optimization method includes: obtaining the pipeline flow diagram of the fluid network system; establishing a simulation model of each equipment and mother pipe in the fluid network system. , the simulation model of each equipment and main pipe includes a mechanism model and a data model; establish a system simulation model of the fluid network system according to the simulation model of each equipment and main pipe and the pipeline flow diagram; according to the objective function and The system simulation model establishes a system parameter optimization model, uses the least square method to solve the optimal key parameters of the system parameter optimization model, and runs the fluid network system according to the optimal key parameters. To this end, embodiments of the present invention provide an optimization method for a fluid network system, establish a simulation model of the fluid network system, and use the least squares method to optimize the simulation model. It can handle complex functions, has a wider scope of application, and improves efficiency. Optimize efficiency.
可选地,根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型,包括:建立所述管道流程图的图形化模型,将所述图形化模型转换为结构化数据,根据所述结构化数据识别所述图形化模型的拓扑结构,采用所述各设备和母 管的仿真模型以及所述拓扑结构建立所述流体网络系统的系统仿真模型。为此,图形化模型可以直观抽象地表示设备、管道之间的连接关系,再将图形化模型转换为XML和JSON格式,即为机器能够识别的拓扑结构。Optionally, establishing a system simulation model of the fluid network system based on the simulation model of each device and main pipe and the pipeline flow diagram includes: establishing a graphical model of the pipeline flow diagram, and converting the graphical The model is converted into structured data, the topological structure of the graphical model is identified according to the structured data, and the system simulation model of the fluid network system is established using the simulation model of each device and the main pipe and the topological structure. To this end, the graphical model can intuitively and abstractly represent the connection relationship between equipment and pipelines, and then the graphical model is converted into XML and JSON formats, which is a topological structure that can be recognized by the machine.
可选地,根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型,包括:接收用户输入的对一变量的指定值,将所述系统仿真模型中的所述变量用所述指定值替代。为此,通过用户输入变量的指定值,可以降低变量的个数,降低仿真模型的复杂度,从而提升优化的效率。Optionally, establishing a system simulation model of the fluid network system based on the simulation model of each device and main pipe and the pipeline flow diagram includes: receiving a specified value of a variable input by the user, simulating the system The variables in the model are replaced with the specified values. For this reason, by users inputting specified values of variables, the number of variables can be reduced and the complexity of the simulation model can be reduced, thus improving the efficiency of optimization.
可选地,根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型包括:确定两个变量之间的比例关系,根据所述比例关系将所述两个变量合并为一个变量。为此,通过用户输入变量之间的比例关系,可以降低方程组的个数,降低仿真模型的复杂度,从而提升优化的效率。Optionally, establishing a system simulation model of the fluid network system based on the simulation model of each device and main pipe and the pipeline flow diagram includes: determining a proportional relationship between two variables, and converting the two variables according to the proportional relationship. The two variables mentioned above are combined into one variable. To this end, through the proportional relationship between user input variables, the number of equation groups can be reduced and the complexity of the simulation model can be reduced, thereby improving the efficiency of optimization.
可选地,所述目标函数为系统运行成本,所述系统运行成本包括燃料成本及运维成本,所述最优关键参数包括母管温度、母管压力、设备功率和设备流量。为此,可以将系统运行成本控制在最小范围内以提高系统的经济性。Optionally, the objective function is system operating cost, which includes fuel cost and operation and maintenance cost, and the optimal key parameters include main pipe temperature, main pipe pressure, equipment power and equipment flow rate. To this end, system operating costs can be controlled to a minimum to improve system economy.
本发明还提出了一种流体网络系统的优化装置,所述优化装置包括:获取模块,获取所述流体网络系统的管道流程图;建模模块,建立所述流体网络系统中各设备和母管的仿真模型,所述各设备和母管的仿真模型包括机理模型和数据模型;仿真模块,根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型;优化模块,根据目标函数和所述系统仿真模型建立系统参数优化模型,采用最小二乘法对所述系统参数优化模型求解最优关键参数,并根据所述最优关键参数运行所述流体网络系统。The invention also proposes an optimization device for a fluid network system. The optimization device includes: an acquisition module to acquire the pipeline flow diagram of the fluid network system; and a modeling module to establish each equipment and mother pipe in the fluid network system. The simulation model, the simulation model of each equipment and the main pipe includes a mechanism model and a data model; the simulation module establishes the system simulation of the fluid network system according to the simulation model of each equipment and the main pipe and the pipeline flow chart. Model; optimization module, establishes a system parameter optimization model according to the objective function and the system simulation model, uses the least squares method to solve the optimal key parameters of the system parameter optimization model, and runs the fluid network according to the optimal key parameters system.
可选地,所述仿真模块根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型,包括:建立所述管道流程图的图形化模型,将所述图形化模型转换为结构化数据,根据所述结构化数据识别所述图形化模型的拓扑结构,采用所述各设备和母管的仿真模型以及所述拓扑结构建立所述流体网络系统的系统仿真模型。Optionally, the simulation module establishes a system simulation model of the fluid network system based on the simulation model of each device and main pipe and the pipeline flow diagram, including: establishing a graphical model of the pipeline flow diagram, and converting The graphical model is converted into structured data, the topology structure of the graphical model is identified according to the structured data, and the simulation model of each device and the main pipe and the topology structure are used to establish the fluid network system. System simulation model.
可选地,所述仿真模块根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型包括:接收用户输入的对一变量的指定值,将所述系统仿真模型中的所述变量用所述指定值替代。Optionally, the simulation module establishing a system simulation model of the fluid network system based on the simulation model of each device and main pipe and the pipeline flow diagram includes: receiving a specified value of a variable input by the user, and converting the The variables in the system simulation model are replaced with the specified values.
可选地,所述仿真模块根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型包括:确定两个变量之间的比例关系,根据所述比例关系将所述两个变量合并为一个变量。Optionally, the simulation module establishing a system simulation model of the fluid network system based on the simulation model of each device and main pipe and the pipeline flow diagram includes: determining the proportional relationship between two variables, according to the A proportional relationship combines the two variables into one variable.
可选地,所述目标函数为系统运行成本,所述系统运行成本包括燃料成本及运维成本, 所述最优关键参数包括母管温度、母管压力、设备功率和设备流量。Optionally, the objective function is system operating cost, which includes fuel cost and operation and maintenance cost, and the optimal key parameters include main pipe temperature, main pipe pressure, equipment power and equipment flow rate.
本发明还提出了一种电子设备,包括处理器、存储器和存储在所述存储器中的指令,其中所述指令被所述处理器执行时实现如上所述的方法。The present invention also proposes an electronic device, including a processor, a memory and instructions stored in the memory, wherein when the instructions are executed by the processor, the above method is implemented.
本发明还提出了一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令在被运行时执行如上所述的方法。The present invention also proposes a computer-readable storage medium on which computer instructions are stored, which execute the method as described above when executed.
附图说明Description of the drawings
以下附图仅旨在于对本发明做示意性说明和解释,并不限定本发明的范围。其中,The following drawings are only intended to schematically illustrate and explain the present invention and do not limit the scope of the present invention. in,
图1是根据本发明的一实施例的一种流体网络系统的优化方法的流程图;Figure 1 is a flow chart of an optimization method for a fluid network system according to an embodiment of the present invention;
图2是根据本发明的一实施例的一种流体网络系统的优化装置的示意图;Figure 2 is a schematic diagram of an optimization device of a fluid network system according to an embodiment of the present invention;
图3是根据本发明的一实施例的一种电子设备的示意图。Figure 3 is a schematic diagram of an electronic device according to an embodiment of the present invention.
附图标记说明Explanation of reference signs
100流体网络系统的优化方法Optimization method of 100 fluid network system
110-140步骤Steps 110-140
200流体网络系统的优化装置Optimization device of 200 fluid network system
210获取模块210 Get module
220建模模块220 Modeling Module
230仿真模块230 simulation module
240优化模块240 optimization module
300电子设备300 Electronic Equipment
310处理器310 processor
320存储器320 memory
具体实施方式Detailed ways
为了对本发明的技术特征、目的和效果有更加清楚的理解,现对照附图说明本发明的具体实施方式。In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific embodiments of the present invention will now be described with reference to the accompanying drawings.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是本发明还可以采用其它不同于在此描述的其它方式来实施,因此本发明不受下面公开的具体实施例的限制。Many specific details are set forth in the following description to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, so the present invention is not limited to the specific embodiments disclosed below.
如本申请和权利要求书中所示,除非上下文明确提示例外情形,“一”、“一个”、“一种”和/或“该”等词并非特指单数,也可包括复数。一般说来,术语“包括”与“包含”仅提示包括已明确标识的步骤和元素,而这些步骤和元素不构成一个排它性的罗列,方法 或者设备也可能包含其他的步骤或元素。As shown in this application and claims, words such as "a", "an", "an" and/or "the" do not specifically refer to the singular and may include the plural unless the context clearly indicates an exception. Generally speaking, the terms "comprising" and "comprising" only imply the inclusion of clearly identified steps and elements, and these steps and elements do not constitute an exclusive list. The method or apparatus may also include other steps or elements.
本发明提供一种流体网络系统的优化方法,图1是根据本发明的一实施例的一种流体网络系统的优化方法100的流程图,如图1所示,优化方法100包括:The present invention provides an optimization method for a fluid network system. Figure 1 is a flow chart of an optimization method 100 for a fluid network system according to an embodiment of the present invention. As shown in Figure 1, the optimization method 100 includes:
步骤110,获取流体网络系统的管道流程图。Step 110: Obtain the pipeline flow diagram of the fluid network system.
流体网络系统可以被抽象化为由设备及母管(main pipe)两种对象组成。设备有介质的输入输出,或其中之一,输入输出的介质的物理性质,如温度、压力、流量等可能会发生变化;母管则表示可以忽略地理位置差异及传输损失的彼此联通的管道。在同一母管中,介质的温度、压力等状态量是相同的。如果管道由于管长、管径等因素导致两端的温度、压力不同,则这种管道在本发明的实施例中作为一种设备来处理。管道流程图表示流体网络系统中设备、母管之间的连接关系,管道流程图可以是PFD图(process flow diagram)或PID图(process instrumentation drawing),PFD图或PID图可以从流体网络系统的现场获取。The fluid network system can be abstracted into two objects: equipment and main pipe. The equipment has input and output of the medium, or one of them. The physical properties of the input and output medium, such as temperature, pressure, flow rate, etc., may change; the parent pipe represents the interconnected pipelines that can ignore geographical differences and transmission losses. In the same mother pipe, the state quantities such as temperature and pressure of the medium are the same. If the temperature and pressure at both ends of a pipeline are different due to factors such as pipe length, pipe diameter, etc., then this pipeline is treated as a piece of equipment in the embodiment of the present invention. The pipeline flow diagram represents the connection relationship between the equipment and main pipes in the fluid network system. The pipeline flow diagram can be a PFD diagram (process flow diagram) or a PID diagram (process instrumentation drawing). The PFD diagram or PID diagram can be drawn from the fluid network system. Get it on site.
步骤120,建立流体网络系统中各设备和母管的仿真模型,各设备和母管的仿真模型包括机理模型和数据模型。Step 120: Establish a simulation model of each device and main pipe in the fluid network system. The simulation model of each device and main pipe includes a mechanism model and a data model.
可以利用历史大数据来建立流体网络系统中各设备和母管仿真模型,各设备和母管的仿真模型包括机理模型和数据模型。在本发明的实施例中,机理模型指的是根据流体网络系统的机理建立的系统模型,机理可以是物理或化学的变化规律,数据模型是现实世界数据特征的抽象,包括数据结构、数据操作和数据约束。通过机理模型和数据模型可以获取主导因素和特性曲线,这些主导因素和特性曲线将用于后续步骤的系统仿真建模。Historical big data can be used to establish simulation models of each equipment and main pipe in the fluid network system. The simulation models of each equipment and main pipe include mechanism models and data models. In the embodiment of the present invention, the mechanism model refers to a system model established based on the mechanism of the fluid network system. The mechanism can be a physical or chemical change law. The data model is an abstraction of real-world data characteristics, including data structure and data operations. and data constraints. The dominant factors and characteristic curves can be obtained through the mechanism model and data model, and these dominant factors and characteristic curves will be used for system simulation modeling in subsequent steps.
步骤130,根据各设备和母管的仿真模型以及管道流程图建立流体网络系统的系统仿真模型。Step 130: Establish a system simulation model of the fluid network system based on the simulation models of each equipment and main pipe and the pipeline flow diagram.
对于流体网络系统,可以抽象为流体经过设备流入系统,经一系列设备进行性质转换后流出系统的模型,设备之间通过母管相互连接。对于母管,其关键状态参数包括温度T和压力P,对于设备,其关键状态参数包括功率w和流量G。其主要控制方程包括,For a fluid network system, it can be abstracted as a model in which fluid flows into the system through equipment, undergoes property conversion through a series of equipment, and then flows out of the system. The equipment is connected to each other through mother pipes. For the mother pipe, its key state parameters include temperature T and pressure P, and for the equipment, its key state parameters include power w and flow rate G. Its main control equations include,
对于母管:For the mother pipe:
∑G in+∑G out=0   (1) ∑G in +∑G out =0 (1)
对于设备:For devices:
ΔP=P out-P in=f p(w,G,T,P,X)   (2) ΔP=P out -P in =f p (w,G,T,P,X) (2)
ΔT=T out-T in=f T(w,G,T,P,X)   (3) ΔT=T out -T in =f T (w,G,T,P,X) (3)
W in=f eff(w,G,T,P,X)   (4) W in =f eff (w,G,T,P,X) (4)
其中,G in和G out表示母管的输入流量和输出流量,P out和P in表示设备的输出压力和输 入压力,T out和T in表示设备输出温度和输入温度,W in表示设备的输入功率,f p、f T、f eff是ΔP、ΔT以及W in与其他关键参数功率w,流量G,温度T和压力P之间的关系函数,X表示其他相关变量。设备的输入输出P、T取决于其连接的输入输出母管。f p、f T、f eff是可以由步骤120获得,即仿真模型或者大数据模型获得。联立上述约束方程(1)-(4),并进行求解,可获取整个流体网络系统的状态,即流体网络系统的系统仿真模型。 Among them, G in and G out represent the input flow and output flow of the main pipe, P out and P in represent the output pressure and input pressure of the equipment, T out and T in represent the output temperature and input temperature of the equipment, and W in represents the input of the equipment. Power, f p , f T , f eff are the relationship functions between ΔP, ΔT and W in and other key parameters power w, flow rate G, temperature T and pressure P. X represents other related variables. The input and output P and T of the device depend on the input and output mother tube to which it is connected. f p , f T , and f eff can be obtained from step 120, that is, from the simulation model or the big data model. By combining the above constraint equations (1)-(4) and solving them, the state of the entire fluid network system can be obtained, that is, the system simulation model of the fluid network system.
在一些实施例中,根据各设备和母管的仿真模型以及管道流程图建立流体网络系统的系统仿真模型包括:建立管道流程图的图形化模型,将图形化模型转换为结构化数据,根据结构化数据识别图形化模型的拓扑结构,采用各设备和母管的仿真模型以及拓扑结构建立流体网络系统的系统仿真模型。例如,根据流体网络系统的PFD(管道流程图)图或PID图绘制流体网络的图形化模型,图形化模型可以直观抽象地表示设备、管道之间的连接关系,再将图形化模型转换为XML和JSON格式,即为机器能够识别的拓扑结构。In some embodiments, establishing a system simulation model of the fluid network system based on the simulation model of each equipment and main pipe and the pipeline flow diagram includes: establishing a graphical model of the pipeline flow diagram, converting the graphical model into structured data, and converting the graphical model into structured data according to the structure. The topology structure of the graphical model is identified using the data, and the simulation model and topology structure of each equipment and main pipe are used to establish a system simulation model of the fluid network system. For example, draw a graphical model of the fluid network based on the PFD (Pipeline Flow Diagram) diagram or PID diagram of the fluid network system. The graphical model can intuitively and abstractly represent the connection relationship between equipment and pipelines, and then convert the graphical model into XML. and JSON format, which is a topological structure that can be recognized by the machine.
在一些实施例中,根据各设备和母管的仿真模型以及管道流程图建立流体网络系统的系统仿真模型可以包括:接收用户输入的对一变量的指定值,将系统仿真模型中的变量用指定值替代。具体地,在某些应用场景中,一些变量的值是被指定的,通过用户输入该变量的指定值,可以降低变量的个数,降低仿真模型的复杂度,从而提升优化的效率。In some embodiments, establishing a system simulation model of the fluid network system based on the simulation model of each equipment and main pipe and the pipeline flow diagram may include: receiving a specified value of a variable input by the user, and converting the variable in the system simulation model to the specified value. value substitution. Specifically, in some application scenarios, the values of some variables are specified. By users inputting the specified values of the variables, the number of variables can be reduced and the complexity of the simulation model can be reduced, thereby improving the efficiency of optimization.
在一些实施例中,根据各设备和母管的仿真模型以及管道流程图建立流体网络系统的系统仿真模型可以包括:确定两个变量之间的比例关系,根据比例关系将两个变量合并为一个变量。具体地,在某些应用场景中,有些变量之间是有比例关系的,通过用户输入这些变量之间的比例关系,可以降低方程组的个数,降低仿真模型的复杂度,从而提升优化的效率。In some embodiments, establishing a system simulation model of the fluid network system based on the simulation model of each equipment and main pipe and the pipeline flow diagram may include: determining the proportional relationship between two variables, and merging the two variables into one according to the proportional relationship. variable. Specifically, in some application scenarios, there is a proportional relationship between some variables. By user inputting the proportional relationship between these variables, the number of equation groups can be reduced, the complexity of the simulation model can be reduced, and the optimization results can be improved. efficiency.
步骤140,根据目标函数和系统仿真模型建立系统参数优化模型,采用最小二乘法对系统参数优化模型求解最优关键参数,并根据最优关键参数运行流体网络系统。Step 140: Establish a system parameter optimization model based on the objective function and the system simulation model, use the least squares method to solve for the optimal key parameters of the system parameter optimization model, and run the fluid network system based on the optimal key parameters.
对于约束方程组(1)-(4),可以写为F(X)=0,其中X表示满足约束条件的所有参数集,任意给定一组变量X,可求得不为零的一组F(X),此为系统仿真模型,可以利用最小二乘法对X进行求解。对于一般的优化问题,X的数量通常大于方程的个数,因此可以获得多个X,满足F(X)=0。For the constraint equations (1)-(4), it can be written as F(X)=0, where F(X), this is the system simulation model, and X can be solved using the least squares method. For general optimization problems, the number of X is usually greater than the number of equations, so multiple X can be obtained to satisfy F(X)=0.
根据目标函数和系统仿真模型建立系统参数优化模型,即将优化问题的目标函数也作为约束条件加入约束方程组,即∑obj i*x i=0,其中∑obj i*x i是目标函数,obj i是目标函数中变量的系数,i是系统中变量的个数,x i是第i个变量,此为系统参数优化模型通过最小二乘法,可以获得唯一的一组解,在满足F(X)=0的前提下,使得∑obj i*x i最小,这组解就是最优关键参数,根据这组最优关键参数运行流体网络系统,就可以实现目标函数 最小的优化目标。 Establish a system parameter optimization model based on the objective function and system simulation model, that is, the objective function of the optimization problem is also added as a constraint condition to the constraint equation system, that is, ∑obj i *x i = 0, where ∑obj i *x i is the objective function, obj i is the coefficient of the variable in the objective function, i is the number of variables in the system, x i is the i-th variable, this is the system parameter optimization model. Through the least squares method, a unique set of solutions can be obtained, when F(X ) = 0, so that ∑ obj i *x i is minimized. This set of solutions is the optimal key parameters. By running the fluid network system based on this set of optimal key parameters, the optimization goal of minimizing the objective function can be achieved.
在一些实施例中,目标函数为系统运行成本,所述系统运行成本包括燃料成本及运维成本,最优关键参数包括母管温度、母管压力、设备功率和设备流量。具体地,目标函数为系统运行成本,需要将系统运行成本控制在最小范围内以提高系统的经济性,将目标函数作为约束条件加入仿真模型中,采用最小二乘法求解出一组母管温度、母管压力、设备功率和设备流量等,将流体网络系统调整到这一组母管温度、母管压力、设备功率和设备流量等运行流体网络系统,就可以实现流体网络系统的优化运行。In some embodiments, the objective function is the system operating cost, which includes fuel cost and operation and maintenance cost, and the optimal key parameters include main pipe temperature, main pipe pressure, equipment power and equipment flow rate. Specifically, the objective function is the system operating cost. The system operating cost needs to be controlled within the minimum range to improve the economy of the system. The objective function is added as a constraint to the simulation model, and the least squares method is used to solve a set of mother pipe temperatures, Main pipe pressure, equipment power and equipment flow, etc., by adjusting the fluid network system to this set of main pipe temperature, main pipe pressure, equipment power, equipment flow, etc., the optimal operation of the fluid network system can be achieved.
本发明的实施例提供了一种流体网络系统的优化方法,建立了流体网络系统的仿真模型,采用最小二乘法对仿真模型进行优化,能够处理复杂函数,适用范围更加广泛,提高了优化效率。The embodiment of the present invention provides an optimization method for a fluid network system, establishes a simulation model of the fluid network system, uses the least squares method to optimize the simulation model, can handle complex functions, has a wider applicable scope, and improves optimization efficiency.
本发明还提供一种流体网络系统的优化装置,图2是根据本发明的一实施例的一种流体网络系统的优化装置200的示意图,如图2所示,优化装置200包括:The present invention also provides an optimization device for a fluid network system. Figure 2 is a schematic diagram of an optimization device 200 for a fluid network system according to an embodiment of the present invention. As shown in Figure 2, the optimization device 200 includes:
获取模块210,获取流体网络系统的管道流程图;The acquisition module 210 acquires the pipeline flow diagram of the fluid network system;
建模模块220,建立流体网络系统中各设备和母管的仿真模型,各设备和母管的仿真模型包括机理模型和数据模型;The modeling module 220 establishes a simulation model of each device and mother pipe in the fluid network system. The simulation model of each device and mother pipe includes a mechanism model and a data model;
仿真模块230,根据各设备和母管的仿真模型以及管道流程图建立流体网络系统的系统仿真模型;The simulation module 230 establishes a system simulation model of the fluid network system based on the simulation models of each equipment and main pipe and the pipeline flow diagram;
优化模块240,根据目标函数和系统仿真模型建立系统参数优化模型,采用最小二乘法对系统参数优化模型求解最优关键参数,并根据最优关键参数运行流体网络系统。The optimization module 240 establishes a system parameter optimization model based on the objective function and the system simulation model, uses the least squares method to solve the optimal key parameters of the system parameter optimization model, and runs the fluid network system according to the optimal key parameters.
在一些实施例中,仿真模块230根据各设备和母管的仿真模型以及管道流程图建立流体网络系统的系统仿真模型包括:建立管道流程图的图形化模型,将图形化模型转换为结构化数据,根据结构化数据识别图形化模型的拓扑结构,采用各设备和母管的仿真模型以及拓扑结构建立流体网络系统的系统仿真模型。In some embodiments, the simulation module 230 establishes a system simulation model of the fluid network system based on the simulation models of each equipment and main pipe and the pipeline flow diagram, including: establishing a graphical model of the pipeline flow diagram, and converting the graphical model into structured data. , identify the topology structure of the graphical model based on structured data, and use the simulation model and topology structure of each device and main pipe to establish a system simulation model of the fluid network system.
在一些实施例中,仿真模块230根据各设备和母管的仿真模型以及管道流程图建立流体网络系统的系统仿真模型包括:接收用户输入的对一变量的指定值,将系统仿真模型中的变量用指定值替代。In some embodiments, the simulation module 230 establishes a system simulation model of the fluid network system based on the simulation model of each equipment and main pipe and the pipeline flow diagram, including: receiving a specified value of a variable input by the user, and converting the variable in the system simulation model to Replace with the specified value.
在一些实施例中,仿真模块230根据各设备和母管的仿真模型以及管道流程图建立流体网络系统的系统仿真模型包括:确定两个变量之间的比例关系,根据比例关系将两个变量合并为一个变量。In some embodiments, the simulation module 230 establishes a system simulation model of the fluid network system based on the simulation model of each equipment and main pipe and the pipeline flow diagram, including: determining the proportional relationship between two variables, and merging the two variables according to the proportional relationship. as a variable.
在一些实施例中,目标函数为系统运行成本,系统运行成本包括燃料成本及运维成本,最优关键参数包括母管温度、母管压力、设备功率和设备流量。In some embodiments, the objective function is the system operating cost. The system operating cost includes fuel cost and operation and maintenance cost. The optimal key parameters include main pipe temperature, main pipe pressure, equipment power and equipment flow rate.
本发明还提出一种电子设备300。图3是根据本发明的一实施例的一种电子设备300的示意图。如图3所示,电子设备300包括处理器310和存储器320,存储器320存储中存储有指令,其中指令被处理器310执行时实现如上文所述的方法100。The present invention also provides an electronic device 300. FIG. 3 is a schematic diagram of an electronic device 300 according to an embodiment of the present invention. As shown in FIG. 3 , the electronic device 300 includes a processor 310 and a memory 320 . The memory 320 stores instructions, and when the instructions are executed by the processor 310 , the method 100 as described above is implemented.
本发明还提出一种计算机可读存储介质,其上存储有计算机指令,计算机指令在被运行时执行如上文所述的方法100。The present invention also proposes a computer-readable storage medium on which computer instructions are stored, and when executed, the computer instructions execute the method 100 as described above.
本发明的方法和装置的一些方面可以完全由硬件执行、可以完全由软件(包括固件、常驻软件、微码等)执行、也可以由硬件和软件组合执行。以上硬件或软件均可被称为“数据块”、“模块”、“引擎”、“单元”、“组件”或“系统”。处理器可以是一个或多个专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理器件(DAPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器或者其组合。此外,本发明的各方面可能表现为位于一个或多个计算机可读介质中的计算机产品,该产品包括计算机可读程序编码。例如,计算机可读介质可包括,但不限于,磁性存储设备(例如,硬盘、软盘、磁带……)、光盘(例如,压缩盘(CD)、数字多功能盘(DVD)……)、智能卡以及闪存设备(例如,卡、棒、键驱动器……)。Some aspects of the method and device of the present invention may be executed entirely by hardware, may be entirely executed by software (including firmware, resident software, microcode, etc.), or may be executed by a combination of hardware and software. The above hardware or software may be referred to as "data block", "module", "engine", "unit", "component" or "system". The processor may be one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DAPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Processor , controller, microcontroller, microprocessor or combination thereof. Additionally, aspects of the invention may be embodied as a computer product embodied in one or more computer-readable media, the product including computer-readable program code. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, tapes, etc.), optical disks (e.g., compact disks (CD), digital versatile disks (DVD), ...), smart cards and flash memory devices (e.g. cards, sticks, key drives...).
在此使用了流程图用来说明根据本申请的实施例的方法所执行的操作。应当理解的是,前面的操作不一定按照顺序来精确地执行。相反,可以按照倒序或同时处理各种步骤。同时,或将其他操作添加到这些过程中,或从这些过程移除某一步或数步操作。A flowchart is used here to illustrate operations performed by methods according to embodiments of the present application. It should be understood that the preceding operations are not necessarily performed in exact order. Instead, the various steps can be processed in reverse order or simultaneously. At the same time, other operations may be added to these processes, or a step or steps may be removed from these processes.
应当理解,虽然本说明书是按照各个实施例描述的,但并非每个实施例仅包含一个独立的技术方案,说明书的这种叙述方式仅仅是为清楚起见,本领域技术人员应当将说明书作为一个整体,各实施例中的技术方案也可以经适当组合,形成本领域技术人员可以理解的其他实施方式。It should be understood that although this specification is described in terms of various embodiments, not each embodiment only contains an independent technical solution. This description of the specification is only for the sake of clarity, and those skilled in the art should take the specification as a whole. , the technical solutions in each embodiment can also be appropriately combined to form other implementations that can be understood by those skilled in the art.
以上所述仅为本发明示意性的具体实施方式,并非用以限定本发明的范围。任何本领域的技术人员,在不脱离本发明的构思和原则的前提下所作的等同变化、修改与结合,均应属于本发明保护的范围。The above descriptions are only illustrative embodiments of the present invention and are not intended to limit the scope of the present invention. Any equivalent changes, modifications and combinations made by those skilled in the art without departing from the concept and principles of the present invention shall fall within the scope of protection of the present invention.

Claims (12)

  1. 一种流体网络系统的优化方法(100),其特征在于,所述优化方法(100)包括:An optimization method (100) for a fluid network system, characterized in that the optimization method (100) includes:
    获取所述流体网络系统的管道流程图(110);Obtain the pipeline flow diagram of the fluid network system (110);
    建立所述流体网络系统中各设备和母管的仿真模型,所述各设备和母管的仿真模型包括机理模型和数据模型(120);Establish a simulation model of each device and main pipe in the fluid network system. The simulation model of each device and main pipe includes a mechanism model and a data model (120);
    根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型(130);Establish a system simulation model of the fluid network system (130) according to the simulation model of each equipment and main pipe and the pipeline flow diagram;
    根据目标函数和所述系统仿真模型建立系统参数优化模型,采用最小二乘法对所述系统参数优化模型求解最优关键参数,并根据所述最优关键参数运行所述流体网络系统(140)。Establish a system parameter optimization model according to the objective function and the system simulation model, use the least squares method to solve the optimal key parameters of the system parameter optimization model, and run the fluid network system according to the optimal key parameters (140).
  2. 根据权利要求1所述的优化方法(100),其特征在于,根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型(130)包括:建立所述管道流程图的图形化模型,将所述图形化模型转换为结构化数据,根据所述结构化数据识别所述图形化模型的拓扑结构,采用所述各设备和母管的仿真模型以及所述拓扑结构建立所述流体网络系统的系统仿真模型。The optimization method (100) according to claim 1, characterized in that establishing the system simulation model (130) of the fluid network system according to the simulation model of each device and the main pipe and the pipeline flow diagram includes: establishing Convert the graphical model of the pipeline flow chart into structured data, identify the topology of the graphical model based on the structured data, and use the simulation models of each equipment and mother pipe and The topology establishes a system simulation model of the fluid network system.
  3. 根据权利要求1或2所述的优化方法(100),其特征在于,根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型(130)包括:接收用户输入的对一变量的指定值,将所述系统仿真模型中的所述变量用所述指定值替代。The optimization method (100) according to claim 1 or 2, characterized in that establishing a system simulation model (130) of the fluid network system according to the simulation model of each equipment and main pipe and the pipeline flow diagram includes : Receive a specified value of a variable input by the user, and replace the variable in the system simulation model with the specified value.
  4. 根据权利要求1所述的优化方法(100),其特征在于,根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型(130)包括:确定两个变量之间的比例关系,根据所述比例关系将所述两个变量合并为一个变量。The optimization method (100) according to claim 1, characterized in that establishing the system simulation model (130) of the fluid network system according to the simulation models of each equipment and main pipe and the pipeline flow diagram includes: determining A proportional relationship between two variables, according to which the two variables are combined into one variable.
  5. 根据权利要求1所述的优化方法(100),其特征在于,所述目标函数为系统运行成本,所述系统运行成本包括燃料成本及运维成本,所述最优关键参数包括母管温度、母管压力、设备功率和设备流量。The optimization method (100) according to claim 1, characterized in that the objective function is system operating cost, the system operating cost includes fuel cost and operation and maintenance cost, and the optimal key parameters include main pipe temperature, Main pipe pressure, equipment power and equipment flow rate.
  6. 一种流体网络系统的优化装置(200),其特征在于,所述优化装置(200)包括:An optimization device (200) for a fluid network system, characterized in that the optimization device (200) includes:
    获取模块(210),获取所述流体网络系统的管道流程图;The acquisition module (210) acquires the pipeline flow diagram of the fluid network system;
    建模模块(220),建立所述流体网络系统中各设备和母管的仿真模型,所述各设备和母管的仿真模型包括机理模型和数据模型;The modeling module (220) establishes a simulation model of each device and mother pipe in the fluid network system. The simulation model of each device and mother pipe includes a mechanism model and a data model;
    仿真模块(230),根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型;The simulation module (230) establishes a system simulation model of the fluid network system based on the simulation models of each equipment and main pipe and the pipeline flow diagram;
    优化模块(240),根据目标函数和所述系统仿真模型建立系统参数优化模型,采用最小二乘法对所述系统参数优化模型求解最优关键参数,并根据所述最优关键参数运行所述流体网络系统。Optimization module (240), establishes a system parameter optimization model according to the objective function and the system simulation model, uses the least squares method to solve the optimal key parameters of the system parameter optimization model, and runs the fluid according to the optimal key parameters Network Systems.
  7. 根据权利要求6所述的优化装置(200),其特征在于,所述仿真模块(230)根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型,包括:建立所述管道流程图的图形化模型,将所述图形化模型转换为结构化数据,根据所述结构化数据识别所述图形化模型的拓扑结构,采用所述各设备和母管的仿真模型以及所述拓扑结构建立所述流体网络系统的系统仿真模型。The optimization device (200) according to claim 6, characterized in that the simulation module (230) establishes a system simulation of the fluid network system based on the simulation models of each equipment and main pipe and the pipeline flow diagram. The model includes: establishing a graphical model of the pipeline flow chart, converting the graphical model into structured data, identifying the topology of the graphical model according to the structured data, using each of the equipment and motherboards. The simulation model of the tubes and the topology structure establish a system simulation model of the fluid network system.
  8. 根据权利要求6或7所述的优化装置(200),其特征在于,所述仿真模块(230)根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型包括:接收用户输入的对一变量的指定值,将所述系统仿真模型中的所述变量用所述指定值替代。The optimization device (200) according to claim 6 or 7, characterized in that the simulation module (230) establishes the fluid network system based on the simulation model of each equipment and main pipe and the pipeline flow diagram. The system simulation model includes: receiving a specified value of a variable input by the user, and replacing the variable in the system simulation model with the specified value.
  9. 根据权利要求6所述的优化装置(200),其特征在于,所述仿真模块(230)根据所述各设备和母管的仿真模型以及所述管道流程图建立所述流体网络系统的系统仿真模型包括:确定两个变量之间的比例关系,根据所述比例关系将所述两个变量合并为一个变量。The optimization device (200) according to claim 6, characterized in that the simulation module (230) establishes a system simulation of the fluid network system based on the simulation models of each equipment and main pipe and the pipeline flow diagram. The model includes determining a proportional relationship between two variables and merging the two variables into one variable based on the proportional relationship.
  10. 根据权利要求6所述的优化装置(200),其特征在于,所述目标函数为系统运行成本,所述系统运行成本包括燃料成本及运维成本,所述最优关键参数包括母管温度、母管压力、设备功率和设备流量。The optimization device (200) according to claim 6, characterized in that the objective function is system operating cost, the system operating cost includes fuel cost and operation and maintenance cost, and the optimal key parameters include main pipe temperature, Main pipe pressure, equipment power and equipment flow rate.
  11. 一种电子设备(300),包括处理器(310)、存储器(320)和存储在所述存储器(320)中的指令,其中所述指令被所述处理器(310)执行时实现如权利要求1-5任一项所述的方法。An electronic device (300), including a processor (310), a memory (320) and instructions stored in the memory (320), wherein the instructions when executed by the processor (310) implement as claimed The method described in any one of 1-5.
  12. 一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令在被运行时执行根据权利要求1-5中任一项所述的方法。A computer-readable storage medium having computer instructions stored thereon which, when executed, perform the method according to any one of claims 1-5.
PCT/CN2022/100041 2022-06-21 2022-06-21 Optimization method and apparatus for fluid network system WO2023245403A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/100041 WO2023245403A1 (en) 2022-06-21 2022-06-21 Optimization method and apparatus for fluid network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/100041 WO2023245403A1 (en) 2022-06-21 2022-06-21 Optimization method and apparatus for fluid network system

Publications (1)

Publication Number Publication Date
WO2023245403A1 true WO2023245403A1 (en) 2023-12-28

Family

ID=89379010

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/100041 WO2023245403A1 (en) 2022-06-21 2022-06-21 Optimization method and apparatus for fluid network system

Country Status (1)

Country Link
WO (1) WO2023245403A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234169A (en) * 2016-12-15 2018-06-29 北京仿真中心 A kind of distributed emulation network structure real time dynamic optimization method
CN114139377A (en) * 2021-11-30 2022-03-04 中国电力科学研究院有限公司 Power system modeling method and system, readable storage medium and server
CN114424217A (en) * 2019-09-30 2022-04-29 西门子股份公司 Optimization method and device of integrated energy system and computer readable storage medium
CN114503120A (en) * 2019-09-30 2022-05-13 西门子股份公司 Simulation method and device of integrated energy system and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234169A (en) * 2016-12-15 2018-06-29 北京仿真中心 A kind of distributed emulation network structure real time dynamic optimization method
CN114424217A (en) * 2019-09-30 2022-04-29 西门子股份公司 Optimization method and device of integrated energy system and computer readable storage medium
CN114503120A (en) * 2019-09-30 2022-05-13 西门子股份公司 Simulation method and device of integrated energy system and computer readable storage medium
CN114139377A (en) * 2021-11-30 2022-03-04 中国电力科学研究院有限公司 Power system modeling method and system, readable storage medium and server

Similar Documents

Publication Publication Date Title
CN109344436B (en) Online simulation method for large complex natural gas pipe network system
Pistikopoulos et al. Towards the integration of process design, control and scheduling: Are we getting closer?
Alamian et al. A state space model for transient flow simulation in natural gas pipelines
CN104697704A (en) Method for detecting discharge pressure faults of water chilling unit
CN107871058A (en) Tidal current computing method, device, equipment and the storage medium of electric heating association system
WO2023028860A1 (en) Method and apparatus for optimizing fluid network system
WO2023245403A1 (en) Optimization method and apparatus for fluid network system
JP6900946B2 (en) Engineering support system and engineering support method
Schweiger et al. Framework for dynamic optimization of district heating systems using Optimica Compiler Toolkit.
CN112163722A (en) Method and device for predicting gas supply state of natural gas pipe network
CN106368975A (en) Control method and device for performance of PCL compressor
CN115935566A (en) Simulation method and system for natural gas pipeline network, storage medium and electronic equipment
CN113803647B (en) Pipeline leakage detection method based on fusion of knowledge features and hybrid model
CN114239199A (en) Dynamic simulation method of steam pipe network considering condensed water
Wang et al. Soft sensing for gas-condensate field production using parallel-genetic-algorithm-based data reconciliation
Siratovich et al. GOOML-finding optimization opportunities for geothermal operations
Jiang et al. Energy‐saving methods in pneumatic actuator stroke using compressed air
CN110705066B (en) Dynamic simulation method for gas-electricity coupling park comprehensive energy system based on projection integration
Behbahani-Nejad et al. A MATLAB Simulink library for transient flow simulation of gas networks
CN111898234A (en) Gas engine power generation system simulation modeling method suitable for FRTDS
CN109934728A (en) A kind of heterogeneous Multiple Time Scales dynamic modelling method that can flow energy hinge under failure
WO2024040608A1 (en) Model training method for energy management system, apparatus, and storage medium
LI et al. Multi-modal process fault detection method based on improved partial least squares
CN117592226A (en) Crude oil gathering and transportation pipeline network transportation system model optimization method and device
CN116502383A (en) Dynamic simulation modeling method and device for comprehensive energy system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22947183

Country of ref document: EP

Kind code of ref document: A1