CN116070471A - A wind turbine simulation acceleration method and system based on reduced-order decomposition processing - Google Patents

A wind turbine simulation acceleration method and system based on reduced-order decomposition processing Download PDF

Info

Publication number
CN116070471A
CN116070471A CN202310356405.8A CN202310356405A CN116070471A CN 116070471 A CN116070471 A CN 116070471A CN 202310356405 A CN202310356405 A CN 202310356405A CN 116070471 A CN116070471 A CN 116070471A
Authority
CN
China
Prior art keywords
matrix
initial
flow field
reduced
driven generator
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202310356405.8A
Other languages
Chinese (zh)
Other versions
CN116070471B (en
Inventor
刘杰
闵皆昇
周璐
吴健明
王轲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Yuansuan Technology Co ltd
Original Assignee
Zhejiang Yuansuan Technology Co ltd
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 Zhejiang Yuansuan Technology Co ltd filed Critical Zhejiang Yuansuan Technology Co ltd
Priority to CN202310356405.8A priority Critical patent/CN116070471B/en
Publication of CN116070471A publication Critical patent/CN116070471A/en
Application granted granted Critical
Publication of CN116070471B publication Critical patent/CN116070471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/11Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
    • G06F17/13Differential equations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/28Design optimisation, verification or simulation using fluid dynamics, e.g. using Navier-Stokes equations or computational fluid dynamics [CFD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/10Numerical modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/06Wind turbines or wind farms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/08Thermal analysis or thermal optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Analysis (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Algebra (AREA)
  • Computing Systems (AREA)
  • Geometry (AREA)
  • Evolutionary Computation (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Fluid Mechanics (AREA)
  • Operations Research (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a wind driven generator simulation acceleration method and system based on reduced order decomposition processing, and belongs to the technical field of wind driven generator simulation data processing. The prior scheme does not disclose how to solve the problem of huge calculation consumption in the simulation process of the wind driven generator, and the wind driven generator simulation acceleration method based on the reduced order decomposition treatment carries out singular value decomposition on an initial data matrix, intercepts a plurality of singular values with larger energy occupation, and obtains a reduced order rank according to the quantity of the intercepted singular values; then according to the reduced rank, obtaining space-time characteristic quantity capable of decomposing the complex flow process into low rank; and then generating a reduced-order prediction matrix according to the space-time characteristic quantity, obtaining predicted flow field data of the time step to be calculated according to the reduced-order prediction matrix, realizing simulation acceleration of the wind driven generator, effectively reducing the calculation dimension and the calculation quantity, and effectively solving the problem of huge calculation consumption in the simulation process of the wind driven generator.

Description

一种基于降阶分解处理的风力发电机仿真加速方法和系统A wind turbine simulation acceleration method and system based on reduced-order decomposition processing

技术领域Technical Field

本发明涉及一种基于降阶分解处理的风力发电机仿真加速方法和系统,属于风力发电机仿真数据处理技术领域。The invention relates to a wind turbine simulation acceleration method and system based on reduced-order decomposition processing, belonging to the technical field of wind turbine simulation data processing.

背景技术Background Art

中国专利(公布号CN114997078A)公开了一种风力发电机流场仿真测试方法及装置,该方案包括:基于风力发电机三维流场模型,对风力发电机进行当前时刻的瞬态流体动力学仿真,获取风力发电机和三维流场模型当前时刻的仿真数据;基于仿真数据和风力发电机的控制策略,获取风力发电机下一时刻的仿真控制参数;基于仿真控制参数,更新三维流场模型中公转区的参考坐标系转速和三维流场模型中自转区的网格节点转速。上述方案提供的风力发电机流场仿真测试方法及装置,能在风力发电机运行状态下,对风轮变速和叶片变桨过程进行非稳态地计算流体动力学分析,仿真考虑了风力发电机的变速变桨动作,获取的瞬态流场计算结果与实际情况更接近,能获取更准确的仿真测试结果。A Chinese patent (publication number CN114997078A) discloses a wind turbine flow field simulation test method and device, which includes: based on the three-dimensional flow field model of the wind turbine, performing transient fluid dynamics simulation on the wind turbine at the current moment, obtaining simulation data of the wind turbine and the three-dimensional flow field model at the current moment; based on the simulation data and the control strategy of the wind turbine, obtaining the simulation control parameters of the wind turbine at the next moment; based on the simulation control parameters, updating the reference coordinate system speed of the revolution area in the three-dimensional flow field model and the grid node speed of the rotation area in the three-dimensional flow field model. The wind turbine flow field simulation test method and device provided by the above scheme can perform non-steady-state computational fluid dynamics analysis on the wind rotor speed change and blade pitch change process when the wind turbine is in operation. The simulation takes into account the speed change and pitch change action of the wind turbine, and the transient flow field calculation results obtained are closer to the actual situation, and more accurate simulation test results can be obtained.

但上述方案,没有公开如何解决风力发电机仿真过程中计算消耗巨大的问题,目前三维数值仿真过程中的数据量一般较大,导致其仿真计算时间过长。特别是对于风力发电机,受限于网格量以及流场数据特征,其数值仿真模拟所消耗的时间往往远远大于现实中的物理时间,这将导致现有的风力发电机仿真技术无法及时获取风力发电机部分关键部件的运行状态,没法及时得知关键部件的运行状态,进而将会影响风力发电机的运行维护,不利于风力发电机仿真模拟技术的推广利用。However, the above scheme does not disclose how to solve the problem of huge computational consumption in the simulation process of wind turbines. At present, the amount of data in the three-dimensional numerical simulation process is generally large, resulting in a long simulation calculation time. Especially for wind turbines, due to the limitations of the amount of grids and flow field data characteristics, the time consumed by their numerical simulation is often much longer than the physical time in reality, which will cause the existing wind turbine simulation technology to be unable to obtain the operating status of some key components of the wind turbine in a timely manner, and it will be impossible to know the operating status of key components in a timely manner, which will in turn affect the operation and maintenance of the wind turbine, and is not conducive to the promotion and utilization of wind turbine simulation technology.

进一步,由于风力发电机仿真模拟技术的计算量与耗时过大,将导致风力发电机的仿真模拟技术,难以直接应用于数字孪生中,因而不能有效构建风力发电机模型与数字模型良性互动环境,无法形成风力发电机模型与数字模型数字再生、数据同步、精准映射和共同进步的技术体系,无法实现风力发电机仿真建模的全生命周期覆盖。Furthermore, due to the large amount of calculation and time consumption of wind turbine simulation technology, it will be difficult to directly apply wind turbine simulation technology to digital twins. Therefore, it is impossible to effectively build a benign interactive environment between the wind turbine model and the digital model, and it is impossible to form a technical system for digital regeneration, data synchronization, precise mapping and common progress of the wind turbine model and the digital model, and it is impossible to achieve full life cycle coverage of wind turbine simulation modeling.

发明内容Summary of the invention

针对现有技术的缺陷,本发明的目的一在于提供一种对初始数据矩阵进行奇异值分解,得到若干奇异值,删除一些能量占比较小的奇异值,仅截取若干能量占比较大的奇异值,并根据截取奇异值的数量,得到降阶秩;然后根据降阶秩,对初始数据矩阵进行动态模态降阶分解,得到能够把复杂的流动过程分解为低秩的时空特征量;再根据时空特征量,生成降阶预测矩阵,并根据降阶预测矩阵,获得待计算时间步的预测流场数据,实现风力发电机的仿真加速,方案科学、合理,能够有效降低计算维数、减少计算量,节省计算时间和服务器计算负荷的一种基于降阶分解处理的风力发电机仿真加速方法。In view of the defects of the prior art, the first purpose of the present invention is to provide a method for performing singular value decomposition on an initial data matrix to obtain several singular values, delete some singular values with a small energy proportion, and only intercept several singular values with a large energy proportion, and obtain a reduced order rank according to the number of intercepted singular values; then, according to the reduced order rank, the initial data matrix is subjected to dynamic modal reduced order decomposition to obtain time-space feature quantities that can decompose complex flow processes into low-rank; then, according to the time-space feature quantities, a reduced order prediction matrix is generated, and according to the reduced order prediction matrix, the predicted flow field data of the time step to be calculated is obtained, so as to realize the simulation acceleration of the wind turbine. The scheme is scientific and reasonable, and can effectively reduce the calculation dimension, reduce the amount of calculation, save calculation time and server calculation load. A wind turbine simulation acceleration method based on reduced order decomposition processing.

本发明的目的二在于提供一种通过对初始流场数据进行降阶分解处理,得到低秩的时空特征量,并根据时空特征量,对未来时间步的流场数据进行预测,有效减少数据处理量以及仿真计算时间,从而能够有效解决风力发电机仿真过程中计算消耗巨大的问题;进而便于用户及时获取风力发电机部分关键部件的运行状态,及时得知关键部件的运行状态,能够有效提升风力发电机的运行维护效率,利于风力发电机仿真模拟技术的推广利用的风力发电机仿真加速方法。The second purpose of the present invention is to provide a method for accelerating the simulation of wind turbines by performing a reduced-order decomposition process on initial flow field data to obtain low-rank spatiotemporal feature quantities, and predicting the flow field data of future time steps based on the spatiotemporal feature quantities, thereby effectively reducing the amount of data processing and the simulation calculation time, thereby effectively solving the problem of huge computing consumption in the simulation process of wind turbines; thereby facilitating users to obtain the operating status of some key components of wind turbines in a timely manner, and promptly knowing the operating status of key components, which can effectively improve the operation and maintenance efficiency of wind turbines and is conducive to the promotion and utilization of wind turbine simulation technology.

本发明的目的三在于提供一种通过构建降阶计算模型、数据预测降阶模型,实现风力发电机的仿真加速,能够有效降低计算维数、减少计算量,节省计算时间的风力发电机仿真加速方法。The third object of the present invention is to provide a wind turbine simulation acceleration method which realizes simulation acceleration of wind turbines by constructing a reduced-order calculation model and a data prediction reduced-order model, which can effectively reduce the calculation dimension, reduce the calculation amount, and save calculation time.

本发明的目的四在于提供一种数据处理量少,耗时短,可以有效加速计算,并具备很高准确度,使数值仿真模拟技术能够更适用于数字孪生模型的风力发电机仿真加速方法和系统。The fourth objective of the present invention is to provide a wind turbine simulation acceleration method and system that has a small amount of data processing, short time consumption, can effectively accelerate calculations, and has high accuracy, so that numerical simulation technology can be more suitable for digital twin models.

为实现上述目的之一,本发明的第一种技术方案为:To achieve one of the above purposes, the first technical solution of the present invention is:

一种基于降阶分解处理的风力发电机仿真加速方法,包括以下步骤:A wind turbine simulation acceleration method based on reduced-order decomposition processing comprises the following steps:

第一步,对风力发电机进行全阶流体力学模拟计算,得到某一时间步全阶的初始流场数据;The first step is to perform full-order fluid dynamics simulation calculations on the wind turbine to obtain the full-order initial flow field data at a certain time step;

第二步,对初始流场数据进行处理,构建初始数据矩阵;The second step is to process the initial flow field data and construct the initial data matrix;

第三步,对初始数据矩阵进行奇异值分解,得到若干奇异值,并根据奇异值的能量占比,确定降阶秩;The third step is to perform singular value decomposition on the initial data matrix to obtain several singular values, and determine the reduced rank according to the energy proportion of the singular values;

第四步,根据降阶秩,对初始数据矩阵进行动态模态降阶分解,得到用于表征流场流动过程的时空特征量;The fourth step is to perform dynamic modal reduction decomposition on the initial data matrix according to the reduced rank to obtain the spatiotemporal characteristic quantities used to characterize the flow process of the flow field;

第五步,根据时空特征量,生成降阶预测矩阵,并根据降阶预测矩阵,获得待计算时间步的预测流场数据;The fifth step is to generate a reduced-order prediction matrix according to the spatiotemporal feature quantity, and obtain the predicted flow field data of the time step to be calculated according to the reduced-order prediction matrix;

第六步,根据预测流场数据,对风力发电机进行仿真计算,实现风力发电机的仿真加速。The sixth step is to simulate and calculate the wind turbine based on the predicted flow field data to achieve simulation acceleration of the wind turbine.

本发明经过不断探索以及试验,对初始数据矩阵进行奇异值分解,得到若干奇异值,根据奇异值越大,对整个矩阵的贡献就越大的原理,删除一些能量占比较小的奇异值,仅截取若干能量占比较大的奇异值,因而在降低数据处理量的同时,能够减少对仿真计算准确度的影响。并根据截取奇异值的数量,得到降阶秩;然后根据降阶秩,对初始数据矩阵进行动态模态降阶分解,得到能够把复杂的流动过程分解为低秩的时空特征量;再根据时空特征量,生成降阶预测矩阵,最后根据降阶预测矩阵,获得待计算时间步的预测流场数据,实现风力发电机的仿真加速。本发明方案科学、合理,能够有效降低计算维数、减少计算量,节省计算时间和服务器计算负荷,因而能有效解决风力发电机仿真过程中计算消耗巨大的问题。After continuous exploration and experimentation, the present invention performs singular value decomposition on the initial data matrix to obtain several singular values. According to the principle that the larger the singular value, the greater the contribution to the entire matrix, some singular values with a small energy share are deleted, and only some singular values with a large energy share are intercepted, thereby reducing the impact on the accuracy of simulation calculation while reducing the amount of data processing. And according to the number of intercepted singular values, the reduced order rank is obtained; then according to the reduced order rank, the initial data matrix is subjected to dynamic modal reduced order decomposition to obtain a time-space feature quantity that can decompose a complex flow process into a low-rank; then according to the time-space feature quantity, a reduced order prediction matrix is generated, and finally according to the reduced order prediction matrix, the predicted flow field data of the time step to be calculated is obtained, so as to realize the simulation acceleration of the wind turbine. The scheme of the present invention is scientific and reasonable, and can effectively reduce the calculation dimension, reduce the amount of calculation, save calculation time and server calculation load, and thus can effectively solve the problem of huge calculation consumption in the simulation process of the wind turbine.

进而,本发明通过对初始流场数据进行降阶分解处理,得到低秩的时空特征量,并根据时空特征量,对未来时间步的流场数据进行预测,有效减少数据处理量以及仿真计算时间,从而能够有效解决风力发电机仿真过程中计算消耗巨大的问题;进而便于用户及时获取风力发电机部分关键部件的运行状态,及时得知关键部件的运行状态,能够有效提升风力发电机的运行维护效率,利于风力发电机仿真模拟技术的推广利用。Furthermore, the present invention obtains low-rank spatiotemporal characteristics by performing a reduced-order decomposition process on the initial flow field data, and predicts the flow field data of future time steps based on the spatiotemporal characteristics, thereby effectively reducing the amount of data processing and the simulation calculation time, thereby effectively solving the problem of huge computing consumption in the simulation process of wind turbines; and thus facilitating users to obtain the operating status of some key components of wind turbines in a timely manner, and timely knowing the operating status of key components, which can effectively improve the operation and maintenance efficiency of wind turbines and is conducive to the promotion and utilization of wind turbine simulation technology.

进一步,相比于现有技术的全阶流体力学仿真计算,本发明对未来流场数据预测的方法,耗时更短,可以有效地加速计算,并具备很高的准确度,使数值仿真模拟技术能够更适用于数字孪生模型中,因而通过本发明的仿真加速方法能够有效构建风力发电机模型与数字模型良性互动环境,形成风力发电机模型与数字模型数字再生、数据同步、精准映射和共同进步的技术体系,进而实现风力发电机仿真建模的全生命周期覆盖,方案科学、合理,切实可行。Furthermore, compared with the full-order fluid mechanics simulation calculations in the prior art, the method for predicting future flow field data of the present invention takes less time, can effectively accelerate the calculation, and has a very high accuracy, making the numerical simulation technology more suitable for the digital twin model. Therefore, the simulation acceleration method of the present invention can effectively construct a benign interactive environment between the wind turbine model and the digital model, forming a technical system for digital regeneration, data synchronization, precise mapping and common progress of the wind turbine model and the digital model, thereby achieving full life cycle coverage of wind turbine simulation modeling. The solution is scientific, reasonable and feasible.

作为优选技术措施:As the preferred technical measures:

所述第一步中,对风力发电机进行全阶流体力学模拟计算的方法如下:In the first step, the method for performing full-order fluid dynamics simulation calculation on the wind turbine is as follows:

步骤11,构建关于风力发电机的几何模型;Step 11, constructing a geometric model of the wind turbine;

步骤12,在几何模型的基础上,设置气象条件以及风力发电机的工作条件,得到计算网格;Step 12, based on the geometric model, setting meteorological conditions and working conditions of the wind turbine generator to obtain a calculation grid;

步骤13,根据计算流体力学,对计算网格进行全阶流场计算,获得包括多个时间步的初始流场数据。Step 13, based on computational fluid dynamics, perform full-order flow field calculation on the computational grid to obtain initial flow field data including multiple time steps.

作为优选技术措施:As the preferred technical measures:

气象条件包括风速和风向;Meteorological conditions include wind speed and direction;

工作条件为风力发电机转速;The working condition is the wind turbine speed;

初始流场数据包括每个计算网格上的物理量;The initial flow field data include physical quantities on each computational grid;

所述物理量至少包括速度或/和压强或/和温度。The physical quantity at least includes speed and/or pressure and/or temperature.

作为优选技术措施:As the preferred technical measures:

所述第二步中,构建初始数据矩阵的方法如下:In the second step, the method of constructing the initial data matrix is as follows:

步骤21,获取每个计算网格上的物理量;Step 21, obtaining the physical quantity on each calculation grid;

步骤22,将取出的物理量按要求存入到一数字矩阵中,形成初始数据矩阵;Step 22, storing the retrieved physical quantity into a digital matrix as required to form an initial data matrix;

初始数据矩阵的第一列为第1个时间步的物理量,其最后一列为第N-1个时间步的物理量;The first column of the initial data matrix is the physical quantity of the first time step, and the last column is the physical quantity of the N-1th time step;

初始数据矩阵的第i行表示第i个计算网格上的物理量随时间变化的过程信息,其第j列代表第j个时间步的物理量。The i -th row of the initial data matrix represents the process information of the physical quantity on the i-th computational grid changing with time, and its j -th column represents the physical quantity at the j-th time step.

作为优选技术措施:As the preferred technical measures:

所述第三步中,对初始数据矩阵进行奇异值分解的方法如下:In the third step, the method of performing singular value decomposition on the initial data matrix is as follows:

步骤31,对初始数据矩阵进行奇异值分解操作,得到奇异值矩阵;Step 31, performing a singular value decomposition operation on the initial data matrix to obtain a singular value matrix;

步骤32,在奇异值矩阵的对角线上设置由大到小排列的奇异值;Step 32, setting the singular values arranged from large to small on the diagonal of the singular value matrix;

步骤33,获取每个奇异值对初始数据矩阵的能量贡献度;Step 33, obtaining the energy contribution of each singular value to the initial data matrix;

步骤32,从大到小逐个累积能量贡献度,得到能量贡献和,当能量贡献和大于能量阈值时,统计参与累积的能量贡献度个数,并将能量贡献度个数作为降阶秩。Step 32, accumulating energy contributions one by one from large to small to obtain the energy contribution sum. When the energy contribution sum is greater than the energy threshold, the number of energy contributions participating in the accumulation is counted, and the number of energy contributions is used as the reduced rank.

作为优选技术措施:As the preferred technical measures:

所述第四步,对初始数据矩阵进行动态模态降阶分解的方法如下:In the fourth step, the method of performing dynamic mode reduction decomposition on the initial data matrix is as follows:

步骤41,根据初始数据矩阵,构建相差一个时间步的初始预测矩阵;Step 41, constructing an initial prediction matrix with a time step difference according to the initial data matrix;

步骤42,根据降阶秩,对初始流场数据进行截断奇异值分解,得到分解结果;Step 42, performing truncated singular value decomposition on the initial flow field data according to the reduced order to obtain a decomposition result;

步骤43,根据分解结果以及初始预测矩阵,构建初始流场数据与初始预测矩阵之间的分解相似矩阵;Step 43, constructing a decomposition similarity matrix between the initial flow field data and the initial prediction matrix according to the decomposition result and the initial prediction matrix;

步骤44,对分解相似矩阵进行特征值分解,得到特征值和特征向量;Step 44, performing eigenvalue decomposition on the decomposed similarity matrix to obtain eigenvalues and eigenvectors;

步骤45,根据分解结果、初始预测矩阵、特征值和特征向量,构建用于表征风力发电机流动过程的时空特征量。Step 45, constructing a spatiotemporal characteristic quantity for characterizing the flow process of the wind turbine generator according to the decomposition result, the initial prediction matrix, the eigenvalues and the eigenvectors.

作为优选技术措施:As the preferred technical measures:

构建初始预测矩阵的方法如下:The method to construct the initial prediction matrix is as follows:

初始预测矩阵的第一列为第2个时间步的流场数据,其最后一列为最后一个时间步的流场数据;The first column of the initial prediction matrix is the flow field data of the second time step, and the last column is the flow field data of the last time step;

初始预测矩阵的第i行表示第i个计算网格上的物理量随时间变化的过程信息,其第j列代表第j+1个时间步的物理量。The i- th row of the initial prediction matrix represents the process information of the physical quantity on the i-th computational grid changing with time, and its j -th column represents the physical quantity at the j+1-th time step.

作为优选技术措施:As the preferred technical measures:

所述第五步中,获得待计算时间步的预测流场数据的方法如下:In the fifth step, the method for obtaining the predicted flow field data of the time step to be calculated is as follows:

步骤51,根据时空特征量、初始流场数据和初始预测矩阵,构建降阶预测矩阵,降阶预测矩阵包括待计算时间步的流场数据;Step 51, constructing a reduced-order prediction matrix according to the spatiotemporal feature quantity, the initial flow field data and the initial prediction matrix, wherein the reduced-order prediction matrix includes the flow field data of the time step to be calculated;

步骤52,对降阶预测矩阵进行计算,得到待计算时间步的预测流场数据;Step 52, calculating the reduced-order prediction matrix to obtain the predicted flow field data of the time step to be calculated;

步骤53,将待计算时间步的预测流场数据添加至初始预测矩阵和初始流场数据,构建新的初始预测矩阵和新的初始数据矩阵;Step 53, adding the predicted flow field data of the time step to be calculated to the initial prediction matrix and the initial flow field data, and constructing a new initial prediction matrix and a new initial data matrix;

步骤54,根据新的初始预测矩阵和新的初始数据矩阵,得到与新的初始预测矩阵相差一个时间步的预测流场数据,循环往复,完成若干待计算时间步流场数据的计算,实现流场的未来预测。Step 54, based on the new initial prediction matrix and the new initial data matrix, obtain the predicted flow field data that is one time step different from the new initial prediction matrix, repeat the cycle, complete the calculation of the flow field data for several time steps to be calculated, and realize the future prediction of the flow field.

为实现上述目的之一,本发明的第二种技术方案为:To achieve one of the above purposes, the second technical solution of the present invention is:

一种基于降阶分解处理的风力发电机仿真加速方法,包括以下内容:A wind turbine simulation acceleration method based on reduced-order decomposition processing includes the following contents:

利用预先构建的流体力学仿真模型,对风力发电机进行全阶流体力学模拟计算,得到某一时间步全阶的初始流场数据;Using the pre-built fluid mechanics simulation model, a full-order fluid mechanics simulation calculation is performed on the wind turbine to obtain the full-order initial flow field data at a certain time step;

通过预先构建的降阶计算模型,对初始流场数据进行处理,构建初始数据矩阵;对初始数据矩阵进行奇异值分解,得到若干奇异值,并根据奇异值的能量占比,确定降阶秩;The initial flow field data is processed through a pre-built reduced-order calculation model to construct an initial data matrix; singular value decomposition is performed on the initial data matrix to obtain a number of singular values, and the reduced-order rank is determined based on the energy proportion of the singular values;

利用预先构建的数据预测降阶模型,并根据降阶秩,对初始数据矩阵进行动态模态降阶分解,得到用于表征流场流动过程的时空特征量;再根据时空特征量,生成降阶预测矩阵,并根据降阶预测矩阵,获得待计算时间步的预测流场数据;Using the pre-built data prediction reduction model, and according to the reduction rank, the initial data matrix is subjected to dynamic modal reduction decomposition to obtain the spatiotemporal characteristic quantities used to characterize the flow process of the flow field; then, based on the spatiotemporal characteristic quantities, a reduction prediction matrix is generated, and based on the reduction prediction matrix, the predicted flow field data of the time step to be calculated is obtained;

通过降阶计算模型、数据预测降阶模型,得到预测流场数据,对风力发电机进行仿真计算,实现风力发电机的仿真加速。Through the reduced-order calculation model and the data prediction reduced-order model, the predicted flow field data is obtained, the wind turbine is simulated and calculated, and the simulation acceleration of the wind turbine is achieved.

本发明经过不断探索以及试验,通过构建降阶计算模型,对初始数据矩阵进行奇异值分解,得到若干奇异值,并根据奇异值越大,对整个矩阵的贡献就越大的原理,删除一些能量占比较小的奇异值,仅截取若干能量占比较大的奇异值,因而在降低数据处理量的同时,减少对仿真计算准确度的影响。并根据截取奇异值的数量,得到降阶秩;然后利用数据预测降阶模型,并根据降阶秩,对初始数据矩阵进行动态模态降阶分解,得到能够把复杂的流动过程分解为低秩的时空特征量;再根据时空特征量,生成降阶预测矩阵,并根据降阶预测矩阵,获得待计算时间步的预测流场数据,实现风力发电机的仿真加速。本发明方案科学、合理,能够有效降低计算维数、减少计算量,节省计算时间和服务器计算负荷。After continuous exploration and experimentation, the present invention constructs a reduced-order calculation model, performs singular value decomposition on the initial data matrix, obtains several singular values, and deletes some singular values with a small energy proportion according to the principle that the larger the singular value, the greater the contribution to the entire matrix, and only intercepts several singular values with a large energy proportion, thereby reducing the data processing amount and reducing the impact on the accuracy of the simulation calculation. And according to the number of intercepted singular values, the reduced-order rank is obtained; then the data prediction reduced-order model is used, and according to the reduced-order rank, the initial data matrix is subjected to dynamic modal reduced-order decomposition to obtain a time-space feature quantity that can decompose a complex flow process into a low-rank; then according to the time-space feature quantity, a reduced-order prediction matrix is generated, and according to the reduced-order prediction matrix, the predicted flow field data of the time step to be calculated is obtained, so as to realize the simulation acceleration of the wind turbine. The scheme of the present invention is scientific and reasonable, and can effectively reduce the calculation dimension, reduce the calculation amount, save calculation time and server calculation load.

进而,本发明通过对初始流场数据进行降阶分解处理,得到低秩的时空特征量,并根据时空特征量,对未来时间步的流场数据进行预测,有效减少数据处理量以及仿真计算时间,从而能够有效解决风力发电机仿真过程中计算消耗巨大的问题;进而便于用户及时获取风力发电机部分关键部件的运行状态,及时得知关键部件的运行状态,能够有效提升风力发电机的运行维护效率,利于风力发电机仿真模拟技术的推广利用。Furthermore, the present invention obtains low-rank spatiotemporal characteristics by performing a reduced-order decomposition process on the initial flow field data, and predicts the flow field data of future time steps based on the spatiotemporal characteristics, thereby effectively reducing the amount of data processing and the simulation calculation time, thereby effectively solving the problem of huge computing consumption in the simulation process of wind turbines; and thus facilitating users to obtain the operating status of some key components of wind turbines in a timely manner, and timely knowing the operating status of key components, which can effectively improve the operation and maintenance efficiency of wind turbines and is conducive to the promotion and utilization of wind turbine simulation technology.

进一步,相比于现有技术的全阶流体力学仿真计算,本发明对未来流场数据预测的方法,耗时更短,可以有效地加速计算,并具备很高的准确度,使数值仿真模拟技术能够更适用于数字孪生模型中。Furthermore, compared with the full-order fluid mechanics simulation calculations in the prior art, the method of predicting future flow field data in the present invention takes less time, can effectively accelerate the calculation, and has a high degree of accuracy, making numerical simulation technology more suitable for digital twin models.

为实现上述目的之一,本发明的第三种技术方案为:To achieve one of the above purposes, the third technical solution of the present invention is:

一种基于降阶分解处理的风力发电机仿真加速系统,包括:A wind turbine simulation acceleration system based on reduced-order decomposition processing, comprising:

一个或多个处理器;one or more processors;

存储装置,用于存储一个或多个程序;A storage device for storing one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现上述的一种基于降阶分解处理的风力发电机仿真加速方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned wind turbine simulation acceleration method based on reduced-order decomposition processing.

与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

本发明经过不断探索以及试验,对初始数据矩阵进行奇异值分解,得到若干奇异值,根据奇异值越大,对整个矩阵的贡献就越大的原理,删除一些能量占比较小的奇异值,仅截取若干能量占比较大的奇异值,因而在降低数据处理量的同时,减少对仿真计算准确度的影响。并根据截取奇异值的数量,得到降阶秩;然后根据降阶秩,对初始数据矩阵进行动态模态降阶分解,得到能够把复杂的流动过程分解为低秩的时空特征量;再根据时空特征量,生成降阶预测矩阵,并根据降阶预测矩阵,获得待计算时间步的预测流场数据,实现风力发电机的仿真加速,方案科学、合理,能够有效降低计算维数、减少计算量,节省计算时间和服务器计算负荷。After continuous exploration and experimentation, the present invention performs singular value decomposition on the initial data matrix to obtain several singular values. According to the principle that the larger the singular value, the greater the contribution to the entire matrix, some singular values with a small energy share are deleted, and only some singular values with a large energy share are intercepted, thereby reducing the impact on the accuracy of simulation calculation while reducing the amount of data processing. And according to the number of intercepted singular values, the reduced order rank is obtained; then according to the reduced order rank, the initial data matrix is subjected to dynamic modal reduced order decomposition to obtain a time-space feature quantity that can decompose a complex flow process into a low-rank; then according to the time-space feature quantity, a reduced order prediction matrix is generated, and according to the reduced order prediction matrix, the predicted flow field data of the time step to be calculated is obtained, so as to realize the simulation acceleration of the wind turbine. The scheme is scientific and reasonable, and can effectively reduce the calculation dimension, reduce the amount of calculation, save calculation time and server calculation load.

进而,本发明通过对初始流场数据进行降阶分解处理,得到低秩的时空特征量,并根据时空特征量,对未来时间步的流场数据进行预测,有效减少数据处理量以及仿真计算时间,从而能够有效解决风力发电机仿真过程中计算消耗巨大的问题;进而便于用户及时获取风力发电机部分关键部件的运行状态,及时得知关键部件的运行状态,能够有效提升风力发电机的运行维护效率,利于风力发电机仿真模拟技术的推广利用。Furthermore, the present invention obtains low-rank spatiotemporal characteristics by performing a reduced-order decomposition process on the initial flow field data, and predicts the flow field data of future time steps based on the spatiotemporal characteristics, thereby effectively reducing the amount of data processing and the simulation calculation time, thereby effectively solving the problem of huge computing consumption in the simulation process of wind turbines; and thus facilitating users to obtain the operating status of some key components of wind turbines in a timely manner, and timely knowing the operating status of key components, which can effectively improve the operation and maintenance efficiency of wind turbines and is conducive to the promotion and utilization of wind turbine simulation technology.

进一步,相比于现有技术的全阶流体力学仿真计算,本发明对未来流场数据预测的方法,耗时更短,可以有效地加速计算,并具备很高的准确度,使数值仿真模拟技术能够更适用于数字孪生模型中。Furthermore, compared with the full-order fluid mechanics simulation calculations in the prior art, the method of predicting future flow field data in the present invention takes less time, can effectively accelerate the calculation, and has a high degree of accuracy, making numerical simulation technology more suitable for digital twin models.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明风力发电机仿真加速方法的一种流程示意图;FIG1 is a schematic flow chart of a wind turbine simulation acceleration method according to the present invention;

图2为本发明风力发电机仿真加速方法的另一种流程示意图;FIG2 is another schematic flow chart of the wind turbine generator simulation acceleration method of the present invention;

图3为本发明奇异值与能量贡献的一种对应关系示意图;FIG3 is a schematic diagram of a corresponding relationship between singular values and energy contributions of the present invention;

图4为本发明奇异值阶数与能量贡献和的一种变化关系示意图;FIG4 is a schematic diagram showing a changing relationship between the singular value order and the energy contribution sum of the present invention;

图5为本发明最大误差和平均误差随预测时间步的变化示图。FIG5 is a diagram showing the variation of the maximum error and the average error with the prediction time step according to the present invention.

具体实施方式DETAILED DESCRIPTION

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

相反,本发明涵盖任何由权利要求定义的在本发明的精髓和范围上做的替代、修改、等效方法以及方案。进一步,为了使公众对本发明有更好的了解,在下文对本发明的细节描述中,详尽描述了一些特定的细节部分。对本领域技术人员来说没有这些细节部分的描述也可以完全理解本发明。On the contrary, the present invention covers any substitution, modification, equivalent method and scheme made on the essence and scope of the present invention as defined by the claims. Further, in order to make the public have a better understanding of the present invention, some specific details are described in detail in the detailed description of the present invention below. Those skilled in the art can fully understand the present invention without the description of these details.

除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文所使用的术语只是为了描述具体的实施例的目的,不是旨在限制本发明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

如图1所示,本发明基于降阶分解处理的风力发电机仿真加速方法的第一种具体实施例:As shown in FIG1 , a first specific embodiment of the wind turbine simulation acceleration method based on reduced-order decomposition processing of the present invention is as follows:

一种基于降阶分解处理的风力发电机仿真加速方法,包括以下步骤:A wind turbine simulation acceleration method based on reduced-order decomposition processing comprises the following steps:

第一步,对风力发电机进行全阶流体力学模拟计算,得到某一时间步全阶的初始流场数据;The first step is to perform full-order fluid dynamics simulation calculations on the wind turbine to obtain the full-order initial flow field data at a certain time step;

第二步,对初始流场数据进行处理,构建初始数据矩阵;The second step is to process the initial flow field data and construct the initial data matrix;

第三步,对初始数据矩阵进行奇异值分解,得到若干奇异值,并根据奇异值的能量占比,确定降阶秩;The third step is to perform singular value decomposition on the initial data matrix to obtain several singular values, and determine the reduced rank according to the energy proportion of the singular values;

第四步,根据降阶秩,对初始数据矩阵进行动态模态降阶分解,得到用于表征流场流动过程的时空特征量;The fourth step is to perform dynamic modal reduction decomposition on the initial data matrix according to the reduced rank to obtain the spatiotemporal characteristic quantities used to characterize the flow process of the flow field;

第五步,根据时空特征量,生成降阶预测矩阵,并根据降阶预测矩阵,获得待计算时间步的预测流场数据;The fifth step is to generate a reduced-order prediction matrix according to the spatiotemporal feature quantity, and obtain the predicted flow field data of the time step to be calculated according to the reduced-order prediction matrix;

第六步,根据预测流场数据,对风力发电机进行仿真计算,实现风力发电机的仿真加速。The sixth step is to simulate and calculate the wind turbine based on the predicted flow field data to achieve simulation acceleration of the wind turbine.

本发明基于降阶分解处理的风力发电机仿真加速方法的第二种具体实施例:A second specific embodiment of the wind turbine simulation acceleration method based on reduced-order decomposition processing of the present invention:

一种基于降阶分解处理的风力发电机仿真加速方法,包括以下步骤:A wind turbine simulation acceleration method based on reduced-order decomposition processing comprises the following steps:

第一步,对风力发电机进行全阶流体力学模拟计算,得到某一时间步全阶的初始流场数据;The first step is to perform full-order fluid dynamics simulation calculations on the wind turbine to obtain the full-order initial flow field data at a certain time step;

第二步,对初始流场数据进行处理,构建相差一个或多个时间步的初始数据矩阵、初始预测矩阵;The second step is to process the initial flow field data and construct an initial data matrix and an initial prediction matrix with a difference of one or more time steps;

第三步,对初始数据矩阵进行奇异值分解,得到若干奇异值,并根据奇异值的能量占比,确定降阶秩;The third step is to perform singular value decomposition on the initial data matrix to obtain several singular values, and determine the reduced rank according to the energy proportion of the singular values;

第四步,根据降阶秩,对初始数据矩阵与初始预测矩阵进行动态模态分解,确定两者之间的近似矩阵;The fourth step is to perform dynamic mode decomposition on the initial data matrix and the initial prediction matrix according to the reduced rank to determine the approximate matrix between the two;

第五步,对近似矩阵进行特征分解,得到用于表征风力发电机流场流动过程的时空特征量;The fifth step is to perform eigendecomposition on the approximate matrix to obtain the spatiotemporal characteristic quantities used to characterize the flow process of the wind turbine flow field;

第六步,根据时空特征量,生成降阶预测矩阵,并根据降阶预测矩阵,获得下一时间步或若干时间步的预测流场数据;The sixth step is to generate a reduced-order prediction matrix according to the spatiotemporal feature quantities, and obtain the predicted flow field data for the next time step or several time steps according to the reduced-order prediction matrix;

第七步,根据预测流场数据,对风力发电机进行仿真计算,实现风力发电机的仿真加速。The seventh step is to simulate and calculate the wind turbine according to the predicted flow field data to achieve simulation acceleration of the wind turbine.

本发明基于降阶分解处理的风力发电机仿真加速方法的第三种具体实施例:A third specific embodiment of the wind turbine simulation acceleration method based on reduced-order decomposition processing of the present invention:

一种基于降阶分解处理的风力发电机仿真加速方法,包括以下步骤:A wind turbine simulation acceleration method based on reduced-order decomposition processing comprises the following steps:

第一步,利用预先构建的流体力学仿真模型,对风力发电机进行全阶流体力学模拟计算,得到某一时间步全阶的流场数据;The first step is to use the pre-built fluid mechanics simulation model to perform full-order fluid mechanics simulation calculations on the wind turbine to obtain full-order flow field data at a certain time step;

第二步,通过预先构建的降阶计算模型,对流场数据进行处理,得到初始数据矩阵,再对初始数据矩阵进行奇异值分解,得到若干奇异值,并根据奇异值的能量占比,确定初始数据矩阵的降阶秩;The second step is to process the flow field data through the pre-built reduced-order calculation model to obtain the initial data matrix, and then perform singular value decomposition on the initial data matrix to obtain several singular values, and determine the reduced-order rank of the initial data matrix based on the energy proportion of the singular values;

第三步,根据预先构建的数据预测降阶模型,对流场数据进行处理,获得数据预测矩阵,再根据降阶秩对数据预测矩阵进行截断分解,得到用于表征风力发电机流动过程的时空特征量;根据时空特征量,重构数据预测矩阵,生成降阶预测矩阵,降阶预测矩阵包括待计算时间步的流场数据;并根据降阶预测矩阵,获得下一时间步或若干时间步的预测流场数据;The third step is to process the flow field data according to the pre-built data prediction reduction model to obtain the data prediction matrix, and then truncate and decompose the data prediction matrix according to the reduced order rank to obtain the spatiotemporal characteristic quantities used to characterize the flow process of the wind turbine; reconstruct the data prediction matrix according to the spatiotemporal characteristic quantities to generate a reduced order prediction matrix, which includes the flow field data of the time step to be calculated; and obtain the predicted flow field data of the next time step or several time steps according to the reduced order prediction matrix;

第四步,根据预测流场数据,对风力发电机进行仿真加速。The fourth step is to simulate and accelerate the wind turbine based on the predicted flow field data.

本发明基于降阶分解处理的风力发电机仿真加速方法的第四种具体实施例:A fourth specific embodiment of the wind turbine simulation acceleration method based on reduced-order decomposition processing of the present invention:

一种基于降阶分解处理的风力发电机仿真加速方法,包括计算流体力学数值求解模型、奇异值分解模型和数据动态模态分解模型。A wind turbine simulation acceleration method based on reduced-order decomposition processing includes a computational fluid dynamics numerical solution model, a singular value decomposition model and a data dynamic mode decomposition model.

计算流体力学数值求解模型用于计算初始前N个时间步的风力发电机流场,其通过离散的代数形式来替换控制方程中的积分或偏微分方程,然后求解出具体的数值解来用于数据对比和对实验现象的解释,其背后物理基础和基于不同物理定律的控制方程,下面列举了从三个物理定律中推导出的控制方程,如下所示:The computational fluid dynamics numerical solution model is used to calculate the flow field of the wind turbine in the first N time steps. It replaces the integral or partial differential equation in the control equation with a discrete algebraic form, and then solves the specific numerical solution for data comparison and explanation of experimental phenomena. The physical basis behind it and the control equations based on different physical laws are listed below. The control equations derived from three physical laws are as follows:

物质守恒:

Figure SMS_1
Conservation of matter:
Figure SMS_1

动量守恒:

Figure SMS_2
Conservation of Momentum:
Figure SMS_2

能量守恒:

Figure SMS_3
Conservation of Energy:
Figure SMS_3

式中,

Figure SMS_6
为密度,
Figure SMS_7
是时间,
Figure SMS_9
为速度,p为压强,
Figure SMS_4
为剪切力,
Figure SMS_8
为温度,
Figure SMS_10
为热导率,
Figure SMS_11
为等压比热容,
Figure SMS_5
为加热/冷却源项。In the formula,
Figure SMS_6
is the density,
Figure SMS_7
It's time.
Figure SMS_9
is the velocity, p is the pressure,
Figure SMS_4
is the shear force,
Figure SMS_8
is the temperature,
Figure SMS_10
is the thermal conductivity,
Figure SMS_11
is the isobaric specific heat capacity,
Figure SMS_5
is the heating/cooling source term.

奇异值分解模型用于求解流场的流动模态以及各个模态所含有的能量,根据模态的能量截取能够表征整个流场的截取秩rThe singular value decomposition model is used to solve the flow modes of the flow field and the energy contained in each mode. The interception rank r of the entire flow field can be characterized according to the energy interception of the mode.

对于从计算流体力学仿真计算中获取的前N步原始数据矩阵

Figure SMS_12
,可以将它分解为一个正定矩阵
Figure SMS_13
,一个对角矩阵
Figure SMS_14
,以及另一个正定矩阵的转置
Figure SMS_15
的乘积。For the first N steps of raw data matrix obtained from the computational fluid dynamics simulation
Figure SMS_12
, which can be decomposed into a positive definite matrix
Figure SMS_13
, a diagonal matrix
Figure SMS_14
, and the transpose of another positive definite matrix
Figure SMS_15
The product of .

前N步原始数据矩阵

Figure SMS_16
的表达式如下所示:The original data matrix of the first N steps
Figure SMS_16
The expression is as follows:

Figure SMS_17
Figure SMS_17
.

乘积的表达式如下所示:The expression for the product is as follows:

Figure SMS_18
Figure SMS_18

乘积表达式表示矩阵

Figure SMS_19
所代表的线性变换可以由更简单的旋转,拉伸变换进行合成。Product Expression Represents Matrix
Figure SMS_19
The represented linear transformations can be synthesized from simpler rotations and stretches.

奇异值分解模型中对角矩阵

Figure SMS_20
为奇异值矩阵,对角线上分布着奇异值,由大到小排列。奇异值越大,对整个矩阵的贡献就越大,根据这个原理,可以删除一些较小的奇异值,截取前r项奇异值,仅保留较大的奇异值,通过前r项奇异值计算近似矩阵
Figure SMS_21
,就可以近似得到原始数据矩阵,原始数据矩阵的表达式如下所示:Diagonal matrix in singular value decomposition model
Figure SMS_20
It is a singular value matrix, with singular values distributed on the diagonal, arranged from large to small. The larger the singular value, the greater its contribution to the entire matrix. According to this principle, some smaller singular values can be deleted, the first r singular values can be intercepted, and only the larger singular values can be retained. The approximate matrix can be calculated through the first r singular values.
Figure SMS_21
, we can approximate the original data matrix, and the expression of the original data matrix is as follows:

Figure SMS_22
Figure SMS_22

其中,矩阵

Figure SMS_23
Figure SMS_24
Figure SMS_25
,分别为
Figure SMS_26
Figure SMS_27
Figure SMS_28
的截断矩阵。Among them, the matrix
Figure SMS_23
,
Figure SMS_24
,
Figure SMS_25
, respectively
Figure SMS_26
,
Figure SMS_27
,
Figure SMS_28
The truncated matrix of .

数据动态模态分解模型为一种数据驱动方法,可以用来分析流体(如水流)的动态过程,能够把复杂的流动过程分解为低秩的时空特征。动态模态分解在描述一些动态过程时具有很多优势,包括不依赖于任何给定的动态系统表达式,以及可以进行短期状态预测,模型本身具备预测能力。The data dynamic mode decomposition model is a data-driven method that can be used to analyze the dynamic process of fluids (such as water flow) and can decompose complex flow processes into low-rank spatiotemporal features. Dynamic mode decomposition has many advantages in describing some dynamic processes, including not relying on any given dynamic system expression, and being able to make short-term state predictions. The model itself has predictive capabilities.

动态模态分解的基本思路是线性变换。对于一个数据矩阵

Figure SMS_29
x为一维数据上每个点的数值,下标表示空间采样点,数量为M个;t为整个数据随时间的变化,下标表示时间采样点,数量为N个;数据矩阵中的物理量(速度、温度、浓度等)为u,例如
Figure SMS_30
就表示第N个时间步时,第M个网格点上的物理量,数据矩阵
Figure SMS_31
的表达式如下所示:The basic idea of dynamic mode decomposition is linear transformation. For a data matrix
Figure SMS_29
, x is the value of each point on the one-dimensional data, the subscript represents the spatial sampling point, the number is M; t is the change of the entire data over time, the subscript represents the time sampling point, the number is N; the physical quantity (speed, temperature, concentration, etc.) in the data matrix is u , for example
Figure SMS_30
It means the physical quantity at the Mth grid point at the Nth time step, the data matrix
Figure SMS_31
The expression is as follows:

Figure SMS_32
Figure SMS_32

在原始时刻t=1时,数据以列向量的形式可以记为

Figure SMS_33
,其表达式如下所示:At the original time t = 1, the data can be recorded in the form of a column vector as
Figure SMS_33
, whose expression is as follows:

Figure SMS_34
Figure SMS_34

数据动态模态分解模型中,如果系统是一个线性系统,则可以找到一个矩阵

Figure SMS_35
,使得:In the data dynamic mode decomposition model, if the system is a linear system, a matrix can be found
Figure SMS_35
, so that:

Figure SMS_36
Figure SMS_36

Figure SMS_37
Figure SMS_37

Figure SMS_38
Figure SMS_38

因此只要知道原始的状态

Figure SMS_39
,以及系统的变换矩阵
Figure SMS_40
,就可以知道系统之后任意时刻t状态
Figure SMS_41
。对于非线性系统,也可以找到近似的矩阵
Figure SMS_42
,以进行数据降维处理,但会产生一定的误差
Figure SMS_43
,其表达式如下:So as long as you know the original state
Figure SMS_39
, and the transformation matrix of the system
Figure SMS_40
, we can know the state of the system at any time t
Figure SMS_41
For nonlinear systems, we can also find an approximate matrix
Figure SMS_42
, to reduce the dimension of data, but it will produce certain errors
Figure SMS_43
, which is expressed as follows:

Figure SMS_44
Figure SMS_44

根据读取的前N步动态模态分解,构建数据预测矩阵。Construct a data prediction matrix based on the dynamic mode decomposition of the first N steps read.

矩阵

Figure SMS_45
为第1步至第N-1步组成的矩阵,其表达式如下:matrix
Figure SMS_45
is the matrix composed of steps 1 to N-1, and its expression is as follows:

Figure SMS_46
Figure SMS_46

矩阵

Figure SMS_47
为第2步至第N步组成的矩阵,其表达式如下:matrix
Figure SMS_47
is the matrix composed of steps 2 to N, and its expression is as follows:

Figure SMS_48
Figure SMS_48

Figure SMS_49
。but
Figure SMS_49
.

其中,

Figure SMS_50
为库普曼矩阵,可以使用低秩结构进行逼近。in,
Figure SMS_50
is a Koopman matrix and can be approximated using a low-rank structure.

在数据动态模态分解模型中,求解库普曼矩阵

Figure SMS_51
的方法如下:In the data dynamic mode decomposition model, solving the Koopman matrix
Figure SMS_51
The method is as follows:

根据奇异值分解的截断秩r,计算

Figure SMS_52
的截断奇异值分解,其表达式如下:According to the cutoff rank r of the singular value decomposition, calculate
Figure SMS_52
The truncated singular value decomposition of is expressed as follows:

Figure SMS_53
Figure SMS_53

使用以下矩阵:Use the following matrix:

Figure SMS_54
Figure SMS_54

对库普曼矩阵

Figure SMS_55
进行近似求解,其中矩阵
Figure SMS_59
Figure SMS_62
Figure SMS_56
,分别为
Figure SMS_58
Figure SMS_61
Figure SMS_63
Figure SMS_57
截断矩阵,矩阵
Figure SMS_60
。Koopman Matrix
Figure SMS_55
Perform an approximate solution, where the matrix
Figure SMS_59
,
Figure SMS_62
,
Figure SMS_56
, respectively
Figure SMS_58
of
Figure SMS_61
,
Figure SMS_63
,
Figure SMS_57
Truncated matrix, matrix
Figure SMS_60
.

对近似库普曼矩阵

Figure SMS_64
进行特征值分解,其计算公式如下:Approximate Koopman Matrix
Figure SMS_64
Perform eigenvalue decomposition, and the calculation formula is as follows:

Figure SMS_65
Figure SMS_65

借助动态模态分解进行时空特征分析,其中

Figure SMS_66
为对角线元素为特征值的对角矩阵,矩阵
Figure SMS_67
由特征向量构成,可以用特征值和特征向量来分析复杂流动过程的时空特征。在动态模态分解中,构建分解矩阵,其表达式如下所示:The spatiotemporal feature analysis is performed with the help of dynamic mode decomposition, where
Figure SMS_66
is a diagonal matrix whose diagonal elements are eigenvalues, and the matrix
Figure SMS_67
It is composed of eigenvectors, and eigenvalues and eigenvectors can be used to analyze the spatiotemporal characteristics of complex flow processes. In dynamic mode decomposition, a decomposition matrix is constructed, and its expression is as follows:

Figure SMS_68
Figure SMS_68
;

根据分解矩阵,对包括下一时间步的短期预测矩阵

Figure SMS_69
进行计算,其公式如下所示:According to the decomposition matrix, the short-term prediction matrix including the next time step is
Figure SMS_69
The calculation formula is as follows:

Figure SMS_70
Figure SMS_70

其中,

Figure SMS_71
为矩阵
Figure SMS_72
的伪逆矩阵,伪逆矩阵是逆矩阵的广义形式,由于奇异矩阵或非方阵的矩阵,例如
Figure SMS_73
,不存在逆矩阵,因此通过一般化的逆矩阵,即伪逆矩阵来解决这个问题。in,
Figure SMS_71
For the matrix
Figure SMS_72
The pseudo-inverse matrix of the inverse matrix is a generalized form of the inverse matrix. Due to the singular matrix or non-square matrix, for example
Figure SMS_73
, there is no inverse matrix, so this problem is solved by a generalized inverse matrix, namely the pseudo-inverse matrix.

对于任意矩阵

Figure SMS_74
Figure SMS_75
的伪逆矩阵
Figure SMS_76
必然存在,且
Figure SMS_77
满足以下条件:For any matrix
Figure SMS_74
,
Figure SMS_75
The pseudo-inverse matrix
Figure SMS_76
must exist, and
Figure SMS_77
The following conditions are met:

Figure SMS_78
Figure SMS_78

Figure SMS_79
Figure SMS_79

Figure SMS_80
Figure SMS_80

Figure SMS_81
Figure SMS_81

因此矩阵

Figure SMS_82
是一个效果等同单位矩阵I,但又不是单位矩阵I的矩阵。So the matrix
Figure SMS_82
is a matrix that is equivalent to the identity matrix I , but is not the identity matrix I.

在对第N+1步进行预测之后,将预测的物理场数据加入至预测矩阵

Figure SMS_83
Figure SMS_84
,形成新的预测矩阵
Figure SMS_85
Figure SMS_86
Figure SMS_87
。After predicting the N+1th step, add the predicted physical field data to the prediction matrix
Figure SMS_83
and
Figure SMS_84
, forming a new prediction matrix
Figure SMS_85
and
Figure SMS_86
,
Figure SMS_87
.

新的预测矩阵

Figure SMS_88
为第1步至第N步组成的矩阵,其表达式如下所示:New prediction matrix
Figure SMS_88
is the matrix composed of step 1 to step N, and its expression is as follows:

Figure SMS_89
Figure SMS_89

新的预测矩阵

Figure SMS_90
为第2步至第N+1步组成的矩阵,其表达式如下所示:New prediction matrix
Figure SMS_90
is the matrix composed of steps 2 to N+1, and its expression is as follows:

Figure SMS_91
Figure SMS_91

使用相同的方法,根据

Figure SMS_92
Figure SMS_93
继续预测第N+2步的流场数据,如此迭代循环,实现对未来流场的预测。Using the same method, according to
Figure SMS_92
and
Figure SMS_93
Continue to predict the flow field data of step N+2, and repeat this iterative cycle to achieve the prediction of future flow fields.

本发明相比于原始的计算流体力学仿真计算,通过降阶模型进行未来预测的方法耗时更短,可以极快地加速计算,具有效率高、准确度高、误差小等优点,能够解决仿真模拟计算消耗大、计算时间长等问题。Compared with the original computational fluid dynamics simulation calculation, the method of future prediction through reduced-order model in the present invention takes less time, can accelerate the calculation extremely quickly, has the advantages of high efficiency, high accuracy, small error, etc., and can solve the problems of high consumption and long calculation time of simulation calculation.

如图2中所示,本发明基于降阶分解处理的风力发电机仿真加速方法的第五种实施例:As shown in FIG. 2 , the fifth embodiment of the wind turbine simulation acceleration method based on reduced-order decomposition processing of the present invention is as follows:

一种基于降阶分解处理的风力发电机仿真加速方法,包括以下步骤:A wind turbine simulation acceleration method based on reduced-order decomposition processing comprises the following steps:

步骤1:进行计算流体力学仿真计算,获取N个时间步的流场数据;Step 1: Perform computational fluid dynamics simulation calculations to obtain flow field data for N time steps;

步骤2:通过N步流场数据,构建原始数据矩阵

Figure SMS_94
;Step 2: Construct the original data matrix through N-step flow field data
Figure SMS_94
;

步骤3:对原始数据矩阵

Figure SMS_95
进行奇异值分解,根据每个奇异值所对应的能量,选取截断秩r,使得降阶之后的模型能够涵盖流场中绝大多数信息;Step 3: The original data matrix
Figure SMS_95
Perform singular value decomposition and select the cutoff rank r according to the energy corresponding to each singular value, so that the reduced-order model can cover most of the information in the flow field;

步骤4:通过N步流场数据,构建预测数据矩阵

Figure SMS_96
Figure SMS_97
,预测数据的矩阵的行表示网格量,每一列为一个时间步的数据,其中
Figure SMS_98
包括前N-1个时间步的流场数据,
Figure SMS_99
包括第2个至第N个时间步的流场数据:Step 4: Construct a prediction data matrix using N-step flow field data
Figure SMS_96
,
Figure SMS_97
, the rows of the matrix of predicted data represent the grid quantity, and each column represents the data of one time step, where
Figure SMS_98
Including the flow field data of the first N-1 time steps,
Figure SMS_99
Includes flow field data from the 2nd to the Nth time step:

Figure SMS_100
Figure SMS_100

Figure SMS_101
Figure SMS_101

步骤5:根据步骤3中计算的截断秩r,以及步骤4中的预测数据矩阵

Figure SMS_102
Figure SMS_103
进行动态模态分解处理,得到库普曼矩阵
Figure SMS_104
,并近似求解库普曼矩阵
Figure SMS_105
,库普曼矩阵
Figure SMS_106
的计算公式如下所示:Step 5: Based on the cutoff rank r calculated in step 3 and the predicted data matrix in step 4
Figure SMS_102
,
Figure SMS_103
Perform dynamic mode decomposition to obtain the Koopman matrix
Figure SMS_104
, and approximately solve the Koopman matrix
Figure SMS_105
, Koopman matrix
Figure SMS_106
The calculation formula is as follows:

Figure SMS_107
Figure SMS_107
,

其中矩阵

Figure SMS_108
Figure SMS_109
Figure SMS_110
为矩阵
Figure SMS_111
的截断奇异值分解结果。The matrix
Figure SMS_108
,
Figure SMS_109
,
Figure SMS_110
For the matrix
Figure SMS_111
The truncated singular value decomposition result of .

再对库普曼矩阵

Figure SMS_112
进行特征值分解:
Figure SMS_113
,使用矩阵
Figure SMS_114
的特征值和特征向量来分析复杂流动过程的时空特征,其表达式如下所示:Then the Koopman matrix
Figure SMS_112
Perform eigenvalue decomposition:
Figure SMS_113
, using the matrix
Figure SMS_114
The eigenvalues and eigenvectors are used to analyze the spatiotemporal characteristics of complex flow processes, and the expressions are as follows:

Figure SMS_115
Figure SMS_115

短期预测矩阵

Figure SMS_116
可以计算为:
Figure SMS_117
,矩阵
Figure SMS_118
的最后一列为未计算的N+1时间步的流场数据;Short-term forecast matrix
Figure SMS_116
It can be calculated as:
Figure SMS_117
,matrix
Figure SMS_118
The last column is the flow field data of the uncalculated N+1 time step;

步骤6:将预测得到的第N+1时间步数据添加至矩阵

Figure SMS_119
Figure SMS_120
,构建新的数据预测矩阵
Figure SMS_121
和原始数据矩阵
Figure SMS_122
,同时将矩阵
Figure SMS_123
拓展至第N步流场,形成新的矩阵
Figure SMS_124
,其表达式如下所示:Step 6: Add the predicted N+1th time step data to the matrix
Figure SMS_119
and
Figure SMS_120
, construct a new data prediction matrix
Figure SMS_121
and the original data matrix
Figure SMS_122
, and the matrix
Figure SMS_123
Expand to the Nth step flow field to form a new matrix
Figure SMS_124
, whose expression is as follows:

Figure SMS_125
Figure SMS_125

Figure SMS_126
Figure SMS_126

Figure SMS_127
Figure SMS_127

循环进行步骤3~步骤6,实现对未来流场的短期预测。Repeat steps 3 to 6 to achieve short-term prediction of future flow fields.

本发明实施例提供的一种基于降阶分解处理的风力发电机仿真加速方法,能够基于已有的计算流体力学计算数据进行流场的短期预测,节省计算时间。An acceleration method for wind turbine simulation based on reduced-order decomposition processing provided by an embodiment of the present invention can perform short-term prediction of flow field based on existing computational fluid dynamics calculation data, thereby saving calculation time.

应用本发明对风力发电机机舱的温度场计算进行加速的一种具体实施例:A specific embodiment of applying the present invention to accelerate the temperature field calculation of a wind turbine nacelle:

风电运维中,在高温天气下由于长时间的日晒、通风差,导致散热困难,非常容易在机舱中产生局部高温,使得一些电器元件损坏甚至引发火灾等严重事故,因此在数字孪生中及时根据气象条件预测未来一段时间的机舱内温度场发展情况,能够及时调整风力发电机的运维策略,进行相关的调整,避免损害电子元件或发生严重事故,同时为了减少计算量以及仿真时间,需要对风力发电机机舱的温度场计算进行加速。In wind power operation and maintenance, due to long-term sunshine and poor ventilation in hot weather, heat dissipation is difficult, and it is very easy to generate local high temperatures in the cabin, causing damage to some electrical components and even causing serious accidents such as fires. Therefore, in the digital twin, the development of the temperature field in the cabin in the future period of time can be predicted in time according to meteorological conditions. The operation and maintenance strategy of the wind turbine can be adjusted in time, and relevant adjustments can be made to avoid damage to electronic components or serious accidents. At the same time, in order to reduce the amount of calculation and simulation time, the temperature field calculation of the wind turbine cabin needs to be accelerated.

应用本发明对风力发电机机舱的温度场计算进行加速的具体实现流程如下:The specific implementation process of applying the present invention to accelerate the temperature field calculation of the wind turbine nacelle is as follows:

步骤1、对某型号风力发电机的机舱进行处理,得到简化几何模型,由于机舱中部分细节对于流场的影响可以忽略,因此在计算流体力学仿真计算中将内部几何简化为发电机、电气柜、齿轮箱这些主要发热部件和外壳;Step 1: Process the nacelle of a certain type of wind turbine to obtain a simplified geometric model. Since the influence of some details in the nacelle on the flow field can be ignored, the internal geometry is simplified to the main heat-generating components such as the generator, electrical cabinet, gearbox and housing in the computational fluid dynamics simulation calculation;

根据简化几何模型,得到某型号风力发电机机舱的计算流体力学计算网格模型,网格量为471184,网格类型为结构化网格;According to the simplified geometric model, the computational fluid dynamics grid model of a certain type of wind turbine nacelle is obtained, with a grid volume of 471184 and a structured grid type.

步骤2、计算在气温为40℃、风速为3m/s的气象条件下某型号风力发电机机舱的温升情况,共计算了200秒的瞬态流场,时间步为1秒,选取前100秒温度场作为训练数据,后100秒温度场作为验证数据。Step 2: Calculate the temperature rise of a certain type of wind turbine cabin under meteorological conditions of 40°C temperature and 3m/s wind speed. A total of 200 seconds of transient flow field are calculated with a time step of 1 second. The temperature field of the first 100 seconds is selected as training data, and the temperature field of the last 100 seconds is selected as verification data.

构建原始数据矩阵

Figure SMS_128
,共计471184行,100列数据,
Figure SMS_129
。Constructing the original data matrix
Figure SMS_128
, a total of 471184 rows and 100 columns of data,
Figure SMS_129
.

步骤3、对原始数据矩阵

Figure SMS_130
进行奇异值分解,分别计算每阶奇异值所对应的能量贡献,可参见图3;计算前N阶奇异值对应的能量贡献和,并截取具有99%以上能量贡献累积的阶数,可参见图4。本实施例中,前11阶奇异值贡献了99.79%的能量,因此取截断秩
Figure SMS_131
。Step 3: Original data matrix
Figure SMS_130
Perform singular value decomposition, calculate the energy contribution corresponding to each order singular value, see Figure 3; calculate the sum of the energy contributions corresponding to the first N order singular values, and cut off the order with more than 99% energy contribution accumulation, see Figure 4. In this embodiment, the first 11 order singular values contribute 99.79% of the energy, so the cutoff order is taken
Figure SMS_131
.

步骤4、构建数据预测矩阵

Figure SMS_132
Figure SMS_133
Figure SMS_134
,其表达式如下所示:Step 4: Construct data prediction matrix
Figure SMS_132
and
Figure SMS_133
,
Figure SMS_134
, whose expression is as follows:

Figure SMS_135
Figure SMS_135

Figure SMS_136
Figure SMS_136

步骤5、通过数据动态模态分解模型预测未来时间步的温度场,首先求解矩阵

Figure SMS_138
的截断奇异值分解结果
Figure SMS_141
Figure SMS_144
Figure SMS_139
Figure SMS_140
;求解库普曼矩阵
Figure SMS_143
Figure SMS_145
,对矩阵
Figure SMS_137
进行特征值分解:
Figure SMS_142
。Step 5: Predict the temperature field in the future time step through the data dynamic mode decomposition model. First, solve the matrix
Figure SMS_138
The truncated singular value decomposition result of
Figure SMS_141
,
Figure SMS_144
,
Figure SMS_139
:
Figure SMS_140
; Solve for the Koopman matrix
Figure SMS_143
,
Figure SMS_145
, for the matrix
Figure SMS_137
Perform eigenvalue decomposition:
Figure SMS_142
.

通过矩阵

Figure SMS_146
的特征值和特征向量计算最后一列为第101个时间步温度数据的短期预测矩阵
Figure SMS_147
,其表达式如下所示:Through the matrix
Figure SMS_146
The last column of the eigenvalue and eigenvector calculation is the short-term prediction matrix of the temperature data at the 101st time step.
Figure SMS_147
, whose expression is as follows:

Figure SMS_148
Figure SMS_148

Figure SMS_149
Figure SMS_149

步骤6、将矩阵

Figure SMS_151
最后一列加入至矩阵
Figure SMS_153
Figure SMS_156
Figure SMS_150
,构建新的矩阵
Figure SMS_154
'、
Figure SMS_157
Figure SMS_158
Figure SMS_152
Figure SMS_155
,其表达式如下所示:Step 6: The matrix
Figure SMS_151
The last column is added to the matrix
Figure SMS_153
,
Figure SMS_156
,
Figure SMS_150
, construct a new matrix
Figure SMS_154
'、
Figure SMS_157
and
Figure SMS_158
,
Figure SMS_152
,
Figure SMS_155
, whose expression is as follows:

Figure SMS_159
Figure SMS_159

Figure SMS_160
Figure SMS_160

Figure SMS_161
Figure SMS_161

使用矩阵

Figure SMS_162
'、
Figure SMS_163
Figure SMS_164
重复步骤3~5,预测第102步的温度数据,重复迭代此流程,实现对未来流场数据的预测,实现计算加速。Using the Matrix
Figure SMS_162
'、
Figure SMS_163
and
Figure SMS_164
Repeat steps 3 to 5 to predict the temperature data of step 102. Repeat this process to predict future flow field data and achieve computational acceleration.

经过实验,使用CPU为8核i7-9700处理器,内存8G的工作站,对上述场景进行计算流体力学模拟,每步计算需要5分钟;而使用本发明的一种基于降阶分解处理的风力发电机仿真加速方法可以将每个时间步的计算时间加速至5秒左右。After experiments, a workstation with an 8-core i7-9700 processor and 8G memory was used to perform computational fluid dynamics simulation on the above scenario, and each step of calculation took 5 minutes. However, the wind turbine simulation acceleration method based on reduced-order decomposition processing of the present invention can accelerate the calculation time of each time step to about 5 seconds.

如图5所示,虽然本实施例的最大误差[K]和平均误差[K]随预测时间步会有所变化,但本实施例的误差可以控制在5%之内。As shown in FIG5 , although the maximum error [K] and the average error [K] of this embodiment may vary with the prediction time step, the error of this embodiment can be controlled within 5%.

因此应用本发明对风力发电机机舱的温度场计算进行加速,能够将原本的计算流体力学计算加速60倍,并且依然具备很好的准确度。Therefore, the present invention is applied to accelerate the temperature field calculation of the wind turbine nacelle, which can accelerate the original computational fluid dynamics calculation by 60 times and still have good accuracy.

应用本发明方法的一种设备实施例:An embodiment of a device applying the method of the present invention:

一种计算机设备,其包括:A computer device comprising:

一个或多个处理器;one or more processors;

存储装置,用于存储一个或多个程序;A storage device for storing one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现上述的一种基于降阶分解处理的风力发电机仿真加速方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned wind turbine simulation acceleration method based on reduced-order decomposition processing.

应用本发明方法的一种计算机介质实施例:A computer medium embodiment of the method of the present invention is applied:

一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述的一种基于降阶分解处理的风力发电机仿真加速方法。A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned wind turbine simulation acceleration method based on reduced-order decomposition processing.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包括有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, and computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

本申请是参照根据本申请实施例的方法、设备(系统)、计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the flowcharts and/or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and/or box in the flowchart and/or block diagram and the combination of the processes and/or boxes in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate a device for implementing the functions specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者等同替换,而未脱离本发明精神和范围的任何修改或者等同替换,其均应涵盖在本发明的权利要求保护范围之内。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims (10)

1. A wind driven generator simulation acceleration method based on reduced order decomposition processing is characterized in that,
the method comprises the following steps:
firstly, performing full-order hydrodynamic simulation calculation on a wind driven generator to obtain full-order initial flow field data of a certain time step;
secondly, processing the initial flow field data to construct an initial data matrix;
thirdly, performing singular value decomposition on the initial data matrix to obtain a plurality of singular values, and determining a reduced rank according to the energy duty ratio of the singular values;
fourthly, performing dynamic modal reduced order decomposition on the initial data matrix according to the reduced order rank to obtain space-time characteristic quantity used for representing the flow process of the flow field;
fifthly, generating a reduced-order prediction matrix according to the space-time characteristic quantity, and obtaining predicted flow field data of the time step to be calculated according to the reduced-order prediction matrix;
and sixthly, carrying out simulation calculation on the wind driven generator according to the predicted flow field data, and realizing simulation acceleration of the wind driven generator.
2. The wind driven generator simulation acceleration method based on reduced order decomposition processing according to claim 1, wherein,
in the first step, the method for performing full-order hydrodynamic simulation calculation on the wind driven generator comprises the following steps:
step 11, constructing a geometric model of the wind driven generator;
step 12, setting meteorological conditions and working conditions of a wind driven generator on the basis of a geometric model to obtain a calculation grid;
and 13, performing full-order flow field calculation on the calculation grid according to computational fluid dynamics to obtain initial flow field data comprising a plurality of time steps.
3. A wind driven generator simulation acceleration method based on reduced order decomposition processing as set forth in claim 2, wherein,
meteorological conditions include wind speed and wind direction;
the working condition is the rotating speed of the wind driven generator;
the initial flow field data includes physical quantities on each computational grid;
the physical quantity comprises at least speed or/and pressure or/and temperature.
4. A wind driven generator simulation acceleration method based on reduced order decomposition processing according to claim 3, wherein,
in the second step, the method for constructing the initial data matrix is as follows:
step 21, obtaining physical quantity on each calculation grid;
step 22, the physical quantity which is taken out is stored into a digital matrix according to the requirement to form an initial data matrix;
the first column of the initial data matrix is the physical quantity of the 1 st time step, and the last column is the physical quantity of the N-1 st time step;
first of initial data matrixiThe row represents the time-dependent process information of the physical quantity on the ith computational grid, the first of whichjThe column represents the physical quantity of the jth time step.
5. The wind driven generator simulation acceleration method based on reduced order decomposition processing according to claim 1, wherein,
in the third step, the method for performing singular value decomposition on the initial data matrix is as follows:
step 31, performing singular value decomposition operation on the initial data matrix to obtain a singular value matrix;
step 32, setting singular values arranged from large to small on diagonal lines of the singular value matrix;
step 33, obtaining the energy contribution degree of each singular value to the initial data matrix;
and step 32, accumulating the energy contribution degrees one by one from large to small to obtain energy contribution sums, and when the energy contribution sums are larger than an energy threshold value, counting the number of the energy contribution degrees participating in accumulation, and taking the number of the energy contribution degrees as a reduction rank.
6. The wind driven generator simulation acceleration method based on reduced order decomposition processing according to claim 1, wherein,
the fourth step, the method for carrying out dynamic mode reduced order decomposition on the initial data matrix is as follows:
step 41, constructing an initial prediction matrix differing by one time step according to the initial data matrix;
step 42, according to the reduced rank, carrying out truncated singular value decomposition on the initial flow field data to obtain a decomposition result;
step 43, constructing a decomposition similarity matrix between the initial flow field data and the initial prediction matrix according to the decomposition result and the initial prediction matrix;
step 44, performing eigenvalue decomposition on the decomposition similarity matrix to obtain eigenvalues and eigenvectors;
and 45, constructing space-time characteristic quantity for representing the flow process of the wind driven generator according to the decomposition result, the initial prediction matrix, the characteristic value and the characteristic vector.
7. The wind driven generator simulation acceleration method based on reduced order decomposition processing according to claim 6, wherein,
the method for constructing the initial prediction matrix is as follows:
the first column of the initial prediction matrix is the flow field data of the 2 nd time step, and the last column is the flow field data of the last time step;
first of initial prediction matrixiThe row represents the time-dependent process information of the physical quantity on the ith computational grid, the first of whichjThe column represents the physical quantity of the j+1th time step.
8. The wind driven generator simulation acceleration method based on reduced order decomposition processing according to claim 7, wherein,
in the fifth step, the method for obtaining the predicted flow field data of the time step to be calculated is as follows:
step 51, constructing a reduced-order prediction matrix according to the space-time characteristic quantity, the initial flow field data and the initial prediction matrix, wherein the reduced-order prediction matrix comprises flow field data of a time step to be calculated;
step 52, calculating the reduced order prediction matrix to obtain predicted flow field data of the time step to be calculated;
step 53, adding the predicted flow field data of the time step to be calculated to the initial prediction matrix and the initial flow field data, and constructing a new initial prediction matrix and a new initial data matrix;
and step 54, obtaining predicted flow field data which is different from the new initial prediction matrix by one time step according to the new initial prediction matrix and the new initial data matrix, and circularly reciprocating to finish the calculation of a plurality of time step flow field data to be calculated.
9. A wind driven generator simulation acceleration method based on reduced order decomposition processing is characterized in that,
the method comprises the following steps:
carrying out full-order hydrodynamic simulation calculation on the wind driven generator by utilizing a pre-constructed hydrodynamic simulation model to obtain full-order initial flow field data of a certain time step;
processing initial flow field data through a pre-constructed reduced order calculation model, and constructing an initial data matrix; singular value decomposition is carried out on the initial data matrix to obtain a plurality of singular values, and a reduced rank is determined according to the energy duty ratio of the singular values;
predicting a reduced order model by utilizing pre-constructed data, and carrying out dynamic modal reduced order decomposition on an initial data matrix according to a reduced order rank to obtain space-time characteristic quantity for representing a flow process of a flow field; generating a reduced order prediction matrix according to the space-time characteristic quantity, and obtaining predicted flow field data of the time step to be calculated according to the reduced order prediction matrix;
and obtaining predicted flow field data through the reduced order calculation model and the data prediction reduced order model, and performing simulation calculation on the wind driven generator to realize simulation acceleration of the wind driven generator.
10. A wind driven generator simulation acceleration system based on reduced order decomposition processing is characterized in that,
comprising the following steps:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement a reduced order decomposition process based wind turbine simulation acceleration method as claimed in any one of claims 1-9.
CN202310356405.8A 2023-04-06 2023-04-06 A wind turbine simulation acceleration method and system based on reduced-order decomposition processing Active CN116070471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310356405.8A CN116070471B (en) 2023-04-06 2023-04-06 A wind turbine simulation acceleration method and system based on reduced-order decomposition processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310356405.8A CN116070471B (en) 2023-04-06 2023-04-06 A wind turbine simulation acceleration method and system based on reduced-order decomposition processing

Publications (2)

Publication Number Publication Date
CN116070471A true CN116070471A (en) 2023-05-05
CN116070471B CN116070471B (en) 2023-06-20

Family

ID=86182264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310356405.8A Active CN116070471B (en) 2023-04-06 2023-04-06 A wind turbine simulation acceleration method and system based on reduced-order decomposition processing

Country Status (1)

Country Link
CN (1) CN116070471B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117034815A (en) * 2023-10-08 2023-11-10 中国空气动力研究与发展中心计算空气动力研究所 Slice-based supersonic non-viscous flow intelligent initial field setting method
CN117436317A (en) * 2023-12-20 2024-01-23 浙江远算科技有限公司 Wave and current load simulation calculation methods, systems and equipment based on offshore wind power pile foundations
CN117436322A (en) * 2023-12-21 2024-01-23 浙江远算科技有限公司 Aeroelastic simulation method and medium for wind turbine blades based on blade element theory
CN117454805A (en) * 2023-12-22 2024-01-26 浙江远算科技有限公司 Fan wake influence calculation method and system based on fluid reduced-order simulation
CN118296360A (en) * 2024-06-06 2024-07-05 哈尔滨工业大学(深圳)(哈尔滨工业大学深圳科技创新研究院) SVD-based structure dynamic response prediction method, device and equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109102101A (en) * 2017-06-21 2018-12-28 北京金风科创风电设备有限公司 Wind speed prediction method and system for wind farm
CN113239643A (en) * 2021-04-30 2021-08-10 南京河大风电科技有限公司 Dynamic modeling method for automatic power generation control flow field of offshore wind plant
CN113779697A (en) * 2021-09-13 2021-12-10 中国华能集团清洁能源技术研究院有限公司 Turbogenerator unit torsional vibration joint simulation method and device and storage medium
US20220195986A1 (en) * 2020-12-21 2022-06-23 Tsinghua University Data-driven wind farm frequency control method based on dynamic mode decomposition
CN114744625A (en) * 2022-06-13 2022-07-12 华北电力大学 Wind turbine generator model order reduction method and system
CN114997078A (en) * 2022-04-26 2022-09-02 三一重能股份有限公司 Wind driven generator flow field simulation test method and device
CN115034152A (en) * 2022-05-17 2022-09-09 浙江大学 A data-driven nonlinear reduced-order prediction method and device for fluid-structure coupled systems
CN115293050A (en) * 2022-08-22 2022-11-04 上海大学 Method, device and system for establishing fluid flow reduced-order model and storage medium
US20220390481A1 (en) * 2019-06-06 2022-12-08 Dalian University Of Technology Improved mode decomposition method applicable to flow field analysis and reconstruction of internal solitary wave test
CN115525988A (en) * 2022-08-22 2022-12-27 大唐可再生能源试验研究院有限公司 Wind turbine generator system autonomous load simulation calculation and correction system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109102101A (en) * 2017-06-21 2018-12-28 北京金风科创风电设备有限公司 Wind speed prediction method and system for wind farm
US20220390481A1 (en) * 2019-06-06 2022-12-08 Dalian University Of Technology Improved mode decomposition method applicable to flow field analysis and reconstruction of internal solitary wave test
US20220195986A1 (en) * 2020-12-21 2022-06-23 Tsinghua University Data-driven wind farm frequency control method based on dynamic mode decomposition
CN113239643A (en) * 2021-04-30 2021-08-10 南京河大风电科技有限公司 Dynamic modeling method for automatic power generation control flow field of offshore wind plant
CN113779697A (en) * 2021-09-13 2021-12-10 中国华能集团清洁能源技术研究院有限公司 Turbogenerator unit torsional vibration joint simulation method and device and storage medium
CN114997078A (en) * 2022-04-26 2022-09-02 三一重能股份有限公司 Wind driven generator flow field simulation test method and device
CN115034152A (en) * 2022-05-17 2022-09-09 浙江大学 A data-driven nonlinear reduced-order prediction method and device for fluid-structure coupled systems
CN114744625A (en) * 2022-06-13 2022-07-12 华北电力大学 Wind turbine generator model order reduction method and system
CN115293050A (en) * 2022-08-22 2022-11-04 上海大学 Method, device and system for establishing fluid flow reduced-order model and storage medium
CN115525988A (en) * 2022-08-22 2022-12-27 大唐可再生能源试验研究院有限公司 Wind turbine generator system autonomous load simulation calculation and correction system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
XIA HU等: "A transient reduced order model for battery thermal management based on singular value decomposition", 《2014 IEEE ENERGY CONVERSION CONGRESS AND EXPOSITION (ECCE)》 *
姚伟刚;徐敏;叶茂;: "基于特征正交分解的非定常气动力建模技术", 力学学报, no. 04 *
郝文涛;田凌;童秉枢;: "支持系统级仿真与优化的流场模型降阶技术", 清华大学学报(自然科学版), no. 11 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117034815A (en) * 2023-10-08 2023-11-10 中国空气动力研究与发展中心计算空气动力研究所 Slice-based supersonic non-viscous flow intelligent initial field setting method
CN117034815B (en) * 2023-10-08 2024-01-23 中国空气动力研究与发展中心计算空气动力研究所 Slice-based supersonic non-viscous flow intelligent initial field setting method
CN117436317A (en) * 2023-12-20 2024-01-23 浙江远算科技有限公司 Wave and current load simulation calculation methods, systems and equipment based on offshore wind power pile foundations
CN117436317B (en) * 2023-12-20 2024-03-29 浙江远算科技有限公司 Wave current load simulation calculation method, system and equipment based on offshore wind power pile foundation
CN117436322A (en) * 2023-12-21 2024-01-23 浙江远算科技有限公司 Aeroelastic simulation method and medium for wind turbine blades based on blade element theory
CN117436322B (en) * 2023-12-21 2024-04-19 浙江远算科技有限公司 Aeroelastic simulation method and medium of wind turbine blades based on blade element theory
CN117454805A (en) * 2023-12-22 2024-01-26 浙江远算科技有限公司 Fan wake influence calculation method and system based on fluid reduced-order simulation
CN117454805B (en) * 2023-12-22 2024-03-19 浙江远算科技有限公司 Fan wake influence calculation method and system based on fluid reduced-order simulation
CN118296360A (en) * 2024-06-06 2024-07-05 哈尔滨工业大学(深圳)(哈尔滨工业大学深圳科技创新研究院) SVD-based structure dynamic response prediction method, device and equipment

Also Published As

Publication number Publication date
CN116070471B (en) 2023-06-20

Similar Documents

Publication Publication Date Title
CN116070471B (en) A wind turbine simulation acceleration method and system based on reduced-order decomposition processing
Li et al. Subsampled support vector regression ensemble for short term electric load forecasting
Sharma A particle swarm optimization algorithm for optimization of thermal performance of a smooth flat plate solar air heater
Wang et al. Self-adaptive discrete grey model based on a novel fractional order reverse accumulation sequence and its application in forecasting clean energy power generation in China
CN114022311B (en) Data compensation method for integrated energy system based on temporal conditional generative adversarial network
Wang et al. A novel exponential time delayed fractional grey model and its application in forecasting oil production and consumption of China
Li et al. Prediction of short-term photovoltaic power via self-attention-based deep learning approach
CN113962491A (en) Combined forecasting method and device for short-term cooling, heating and power loads based on seasonal decomposition
Zhang et al. Dynamic probabilistic design technique for multi-component system with multi-failure modes
Mujeeb et al. Deep learning based carbon emissions forecasting and renewable energy's impact quantification
Gao et al. Transient voltage control based on physics-informed reinforcement learning
Wang et al. A novel structure adaptive grey seasonal model with data reorganization and its application in solar photovoltaic power generation prediction
CN114492998A (en) Energy big data processing method, device, computer equipment and storage medium
CN117454805B (en) Fan wake influence calculation method and system based on fluid reduced-order simulation
Liew et al. Efficient Mann turbulence generation for offshore wind farms with applications in fatigue load surrogate modelling
Huang et al. Short-term wind speed prediction based on EEMD-LSTM
CN115630286A (en) Electric power prediction method, system and equipment based on hybrid deep learning model
Mohammed et al. A comprehensive study and understanding—A neurocomputing prediction techniques in renewable energies
Liu et al. Wind power prediction model based on WOA-BiLSTM-Attention
CN115713029A (en) Wind power plant stochastic model prediction optimization control method considering delay
Kehe et al. Research of wind power prediction model based on RBF neural network
Zhou A machine learning-based design approach on PCMs-PV systems with multilevel scenario uncertainty
Ramesh et al. Solving dynamic optimal power flow problem considering uncertainties in renewable sources and load demands
Hu et al. Wind power short-term power forecasting based on Improved Grey Wolf algorithm and Optimized Generalized Regression Neural Network
Shaohua et al. Research and Application of key Technologies of big data Management platform in Intelligent Power Plant

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 15th Floor, Building 2, Mindi Zhigu Building, Xihu District, Hangzhou City, Zhejiang Province 310012

Patentee after: Zhejiang yuansuan Technology Co.,Ltd.

Country or region after: China

Address before: 311799 Room 301, 688 Sunshine Road, Thousand Island Lake Town, Chunan County, Hangzhou, Zhejiang

Patentee before: Zhejiang yuansuan Technology Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address