APP下载

水库库容曲线算法的研究及应用

2012-04-29刘全亮罗章海

电脑知识与技术 2012年22期

刘全亮 罗章海

摘要:在水库的设计施工过程中,库容和水位是一组非常重要的参数,它们的准确与否将会影响到水库的正常运转。文章主要针对性的介绍了在中小型水库建设中库容曲线的三种曲线拟合方式。

关键词:库容曲线;最小二乘法;均值插入法;三次样条采样法;二次曲线拟合法

中图分类号:TP39文献标识码:A文章编号:1009-3044(2012)22-5485-03

Research and Application of Reservoir Capacity Curve Algorithm

LIU Quan-liang, LUO Zhang-hai

(Wind Energy Institute of Xinjiang Uygur Autonomous Region, Urumqi 830000,China)

Abstract: Capacity and the water level is a very important parameter in the design and construction process of the reservoir, they are accurate or not will affect the normal operation of the reservoirs. The article is mainly targeted capacity curve in the small and medium-sized reservoir construction in the three curve fitting.

Key words:capacity curve;the least squares method;the mean insertion method;cubic spline sampling method;quadratic curve fitting

1概述

在水库的设计施工过程中,库容和水位是一组非常重要的参数[1],它们的准确与否将会影响到水库的正常运转。在水库及大坝设计、施工过程中,需要根据计算或测量得到一组离散的数据,推导并建立水位和库容、水位和流量的数学函数模型,并以此为依据计算水库的库容。传统的水库库容曲线确定方法主要有以下几种:一根据在不同高程下水库的不同面积求出对应的库容,并得出相应的库容曲线;二是在应用时是通过查表或直线内插;三是通过Execl进行曲线拟合。但是上述方法要么不方便,要么不准确。实现一种方便高效的水位库容计算方法正是该文的研究重点。

2算法原理及实现

通过观察多个水库的水位和库容、水位和流量数据并结合实际工程施工的经验,我们发现水库的水位和库容、流量之间有着特定的函数关系。所以,我们通过以下三种曲线拟合方式来进行水库库容曲线的拟合。

2.1均值插入法

在一个给定的区间内进行等距离插值,即在给定的区间[a,b]上等距离的插入n个节点值xi=x0+i*h(i=0,1,2,…,n-2,n-1;h为插值的步长值),x和y之间的函数关系为yi=f(xi)。……

登录APP查看全文