CN105159660A - Network based reservoir flood forecasting automatic calculation remote control realization method - Google Patents

Network based reservoir flood forecasting automatic calculation remote control realization method Download PDF

Info

Publication number
CN105159660A
CN105159660A CN201510433019.XA CN201510433019A CN105159660A CN 105159660 A CN105159660 A CN 105159660A CN 201510433019 A CN201510433019 A CN 201510433019A CN 105159660 A CN105159660 A CN 105159660A
Authority
CN
China
Prior art keywords
model
calculation
parameter
forecast
calculates
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.)
Pending
Application number
CN201510433019.XA
Other languages
Chinese (zh)
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.)
Nanjing Hydraulic Research Institute of National Energy Administration Ministry of Transport Ministry of Water Resources
Original Assignee
Nanjing Hydraulic Research Institute of National Energy Administration Ministry of Transport Ministry of Water Resources
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 Nanjing Hydraulic Research Institute of National Energy Administration Ministry of Transport Ministry of Water Resources filed Critical Nanjing Hydraulic Research Institute of National Energy Administration Ministry of Transport Ministry of Water Resources
Priority to CN201510433019.XA priority Critical patent/CN105159660A/en
Publication of CN105159660A publication Critical patent/CN105159660A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a flood forecasting automatic calculation remote control realization method which is characterized by comprising the following steps of: step 1: designing model interfaces including an external interface for a model calculation process and an interface between models; step 2: performing integrated development on the models; step 3: designing control information of the models and storing the control information; and step 4: performing design and development on a remote control process. The network based reservoir flood forecasting automatic calculation remote control realization method solves the problem in unified operation of model calculation control and model status reading-writing in a browser/server mode, solves the problem in remote tracking of the model calculation process, and realizes that the model calculation process can be dynamically displayed; and all control operation commands can be stored, the problem in storage of model calculation operation logs is solved, calculation operation traceability is realized, and calculation results are conveniently tracked.

Description

A kind of network Reservoir Flood Forecast calculates Realization method of remote automatically
Technical field
The present invention relates to flood forecasting and calculate Realization method of remote, be specifically related to a kind of network Reservoir Flood Forecast and automatically calculate Realization method of remote.The invention belongs to flood forecasting field.
Background technology
Flood forecasting is all widely used in different scale scopes such as reservoir, river course, basins, the mode realized according to forecast calculation can be divided into manual intervention forecast and self-timing forecast, triggering what calculate by manual intervention is manual intervention forecast, for user provides free period and Selecting parameter function to be the basic demands of manual intervention flood forecasting; Pre-set trigger timing by system, what timing triggered calculating is self-timing forecast.Self-timing forecast can meet Continuous plus requirement, has watershed system condition information continuity, avoids initialization calculating in early stage, computational valid time advantages of higher.Therefore, self-timing forecast also has embodiment in many flood forecast systems.But the self-timing forecast majority realized at present is standalone version pattern or pseudo-WebService pattern, and along with network technical development, standalone version pattern cannot meet instant application and multi-user's parallel work-flow demand; Under pseudo-WebService pattern, model calculates and is in released state with system expression, there is system transplantation inconvenience, State variable information postpones, control easily to conflict equivalent risk.As can be seen here, there is model and systematic position, system deployment difficulty, cannot realize the technical matterss such as multiuser to remotely uses, Long-distance Control inconvenience in prior art in flood forecasting.
Summary of the invention
For solving the deficiencies in the prior art, the object of the present invention is to provide a kind of flood forecasting calculation control method, to solve model that prior art exists in flood forecasting and systematic position, system are disposed difficulty, cannot be realized the technical matterss such as multiuser to remotely use, inconvenient Long-distance Control.
In order to realize above-mentioned target, a kind of network Reservoir Flood Forecast calculates Realization method of remote automatically, it is characterized in that, comprises the steps:
Step one: design a model interface, described model interface is the external interface of the interface of each model and model calculation process;
Step 2: Integrated Development is carried out to model;
Step 3: the control information designed a model, and control information is stored;
Step 4: Long-distance Control flow process is designed.
The network Reservoir Flood Forecast of aforesaid one calculates Realization method of remote automatically, it is characterized in that, described model interface comprises: model parameter interface, model initialization method interface, effective precipitation computing method interface, point water source Runoff calculation method interface, runoff concentration calculation method interface.
The network Reservoir Flood Forecast of aforesaid one calculates Realization method of remote automatically, it is characterized in that, the described Integrated Development to model refers to assemble model calculation engine, forms Reservoir Flood Forecast model instance.
The network Reservoir Flood Forecast of aforesaid one calculates Realization method of remote automatically, it is characterized in that, described step 2 comprises:
Step 2a: add model calculation engine assembly, and using described model calculation engine assembly as class Definition Model instance variable;
Step 2b: Definition Model calculating parameter assignment method;
Step 2c: the initial method of calling model example;
Step 2d: according to material calculation and computation period requirement, calls effective precipitation computing method, point water source Runoff calculation method, runoff concentration calculation method successively;
Step 2e: development model result of calculation disposal route, completes result of calculation storage, tracking display task.
The network Reservoir Flood Forecast of aforesaid one calculates Realization method of remote automatically, it is characterized in that, the input parameter of described model calculating parameter assignment method is two-dimensional array, two-dimensional array represents the model parameter of each computing unit, model calculating parameter assignment method is used for model parameter attribute assignment, formation model example.
The network Reservoir Flood Forecast of aforesaid one calculates Realization method of remote automatically, it is characterized in that, in step 3, control information adopts database table to store.
The network Reservoir Flood Forecast of aforesaid one calculates Realization method of remote automatically, and it is characterized in that, step 4 comprises:
Step 4a: forecast parameter is managed;
Step 4b: self-timing forecast is set;
Step 4c: carry out automatic forecasting.
The network Reservoir Flood Forecast of aforesaid one calculates Realization method of remote automatically, and it is characterized in that, step 4a comprises:
Step 4a1: reading model current state, if model treatment running status, performs step 4a2; If model is in closed condition, then perform step 4a3;
Step 4a2: stop model calculating, and write model state information;
Step 4a3: plan of establishment parameter, offshoot program, to each parameter management, reaches the requirement that can meet each optimum configurations of each computing unit and amendment;
Step 4a4: select automatic forecasting scheme.
The network Reservoir Flood Forecast of aforesaid one calculates Realization method of remote automatically, and it is characterized in that, step 4b comprises:
Step 4b1: automatic forecasting achievement title is set;
Step 4b2: automatic forecasting starting condition is set.
The network Reservoir Flood Forecast of aforesaid one calculates Realization method of remote automatically, and it is characterized in that, step 4c comprises:
Step 4c1: start automatic forecasting;
Step 4c2: read measured data, calculates needs according to model, reads data, and insert corresponding variable from database;
Step 4c3: reading model parameter, reads parameter corresponding to each computing unit according to the calculating parameter scheme selected by automatic forecasting, and inserts corresponding variable;
Step 4c4: calling model calculates, and this step is called the model instance that model integrated completes, using measured data, model parameter variable as mode input, Boot Model calculates;
Step 4c5: store result of calculation, each computation period stores corresponding result of calculation;
Step 4c6: write model state information, if one-period, write model current operating conditions information, otherwise skip this step;
Step 4c7: start next forecast cycle, between two forecast computation of Period, if do not stop automatic forecasting, then according to the time of automatic forecasting setting, automatically starts next forecast cycle, proceeds to step 4c2; If stopping automatic forecasting, then this automatic forecasting terminates, and writes model state information.
Usefulness of the present invention is: the network Reservoir Flood Forecast of one of the present invention calculates Realization method of remote automatically, the model solved under Browser/Server Mode calculates the problem controlling to read and write unified operation with model state, solve the problem in remote tracing model computation process, achieve dynamic display model computation process, all can store all control operation orders, solve model calculating operation daily record storage problem, achieve calculating operation trackability, be convenient to calculating achievement and follow the tracks of.
Accompanying drawing explanation
Fig. 1 is the overview flow chart that a kind of network Reservoir Flood Forecast of the present invention calculates Realization method of remote automatically;
Fig. 2 is that a kind of network Reservoir Flood Forecast of the present invention calculates Realization method of remote automatic forecasting calculation process design drawing automatically.
Embodiment
Below in conjunction with the drawings and specific embodiments, concrete introduction is done to the present invention.
With reference to shown in Fig. 1, the Reservoir Flood Forecast that the present invention is based on network calculates Realization method of remote structure automatically as Fig. 1, comprises model interface design, model integrated exploitation, control information design Storage and realization, Long-distance Control flow scheme design and exploitation from bottom to top successively.Wherein, model interface design needs complete and can meet the integrated assembly of Internet application system (InternetApplicationSystem), are the bases that Long-distance Control realizes, and model development personnel complete model calculation engine exploitation according to designed interface; Model integrated exploitation completes under Reservoir Flood Forecast application system development environment, and implementation model and system expression module slitless connection are the guarantees of Long-distance Control fluency; Control information design Storage and realization have needed control information Data Structure Design, are remote control data interfaces; Long-distance Control flow scheme design and exploitation complete automatic forecasting and calculate overall flow and design and development, are the method axis that Long-distance Control realizes.Below these four ingredients are described in detail.
(1) model interface design
For the feature that Reservoir Flood Forecast model is paid close attention to put section stage-discharge process in storage, draft model calculation process external interface, this model interface comprises model parameter interface, model initialization method interface, effective precipitation computing method interface, point water source Runoff calculation method interface, runoff concentration calculation method interface, wherein model parameter has evapotranspiration, runoff yield, point water source, confluxes, and each parameter is all as the read-write attribute of model component.
Model initialization method, effective precipitation computing method, point water source Runoff calculation method, runoff concentration calculation method are the public method of assembly, and can call for system integration development, each method interface completes definition jointly by system integrator and model development personnel.Model initialization method is printenv function, has needed the process of underlying surface reservoir capacity, the initial work such as coefficient processing, parameter testing of confluxing.Effective precipitation computing method interface input parameter comprises rainfall amount, evaporation, exports as effective precipitation; Point water source Runoff calculation method interface input parameter is effective precipitation, exports the runoff yield into each layer in point water source; Runoff concentration calculation method interface input parameter comprises section number, Dryweather flow, each section side direction inbound traffics, exports as Outlet Section (entering reservoir range) flow.
(2) model integrated exploitation
Model integrated exploitation is assembled the model calculation engine that model development personnel provide, and forms Reservoir Flood Forecast model instance.Complete model integrated exploitation all to complete in system integration development environment, key step is as follows:
) add model calculation engine assembly, completed by " interpolation is quoted ", and using this assembly as class Definition Model instance variable;
) Definition Model calculating parameter assignment method, the input parameter of the method is two-dimensional array, represents the model parameter of each computing unit respectively, and the method task has been to model parameter attribute assignment;
) initial method of calling model example;
) according to material calculation and computation period requirement, call effective precipitation computing method, point water source Runoff calculation method, runoff concentration calculation method successively;
) development model result of calculation disposal route, complete the tasks such as result of calculation storage, tracking display.
(3) control information design Storage and realization
Model state information and trigger switch variable are the basic composition contents of control information, and RIA system can the operation of extremely convenient database, and database relational table clear in structure, store to record row form, can meet trace model calculating operation demand.Therefore, control information adopts database table to carry out storage administration, Modling model running state information table, and its primary fields has model running switch (start, stop) time, on off state (namely to the operational order of model), operating personnel, command source.
The read-write operation of control information, all starting, stopping realizing successfully, completes model running status information table read-write operation code development by system developer.
(4) Long-distance Control flow scheme design and exploitation
Realize Long-distance Control automatic forecasting basic procedure to be made up of forecast parameter management, self-timing forecast setting, automatic forecasting loading calculation link, each link process is as follows with exploitation content difference:
) forecast parameter management
Forecast parameter administration module comprises the contents such as strategy parameter setting, Prediction version selection, this part of module is forecast identical with manual intervention, strategy parameter refer to each computing unit evapotranspiration, runoff yield, point water source, the parameter set such as conflux, each computing unit can have many sets of plan parameter, and in reservoir watershed scope, each computing unit strategy parameter forms Prediction version parameter jointly; System provides many cover Prediction version to calculate for automatic forecasting and selects.
As shown in Figure 2, at forecast parameter management phase, carry out needing Confirming model current state before strategy parameter is arranged, the basic procedure of code development foundation is:
reading model current state, if model treatment running status, performs the portion; If model is in closed condition, then perform step;
stop model calculating, and write model state information, comprise the information such as running time, operator;
plan of establishment parameter, offshoot program, to each parameter management, reaches the requirement to each optimum configurations of each computing unit and amendment;
select automatic forecasting scheme, the parametric scheme adopted when the given automatic forecasting of this step calculates.
) self-timing forecast setting
Self-timing forecasts that, for Continuous plus, each computation period (as 1 hour) achievement is continuous, until stop automatic forecasting, and the corresponding numerical procedure parameter of common formation is a set of calculating achievement.Therefore, automatic forecasting needs to arrange achievement title before calculating and starting, and given calculating starting condition.
The initial rainfall state of automatic forecasting can be realized in " automatic forecasting setting " interface, achievement title is arranged, start automatic forecasting set of time, realize these and arrange and require that current automatic forecasting is in closed condition, as described in above forecast parameter management; When setting up preservation, adopt the feature modeling of current setting once simultaneously, and saving result, the follow-up automatic forecasting of system is from subsequent period.
As shown in Figure 2, arrange the stage in self-timing forecast and need complete and arrange automatic forecasting achievement title, arrange automatic forecasting starting condition, the basic procedure of code development foundation is:
arrange automatic forecasting achievement title, achievement name is called display information, and achievement numbering has uniqueness, by program internal control; User can revise on going result basis, also can re-enter;
arrange automatic forecasting starting condition, automatic forecasting starting condition can read from database, also can manually input, in subsequent calculations, give corresponding starting condition respectively according to computing time and calculating achievement.
) automatic forecasting
Perform automatic forecasting to need to calculate through startup automatic forecasting, reading measured data, reading model parameter, calling model, store the stage such as result of calculation, write model state information, after self-starting automatic forecasting, each stage all performs at server end, and after each computation period completes, according to automatically starting next forecast computation of Period the computing time arranged.
As shown in Figure 2, the basic procedure developing automatic forecasting code foundation is:
start automatic forecasting, this interface realizes in client;
read measured data, calculate needs according to model, from database, read the data such as Dryweather flow, reservoir current level, rainfall, evaporation, and insert corresponding variable;
reading model parameter, reads parameter corresponding to each computing unit according to the calculating parameter scheme selected by automatic forecasting, and inserts corresponding variable;
calling model calculates, and this step is called the model instance that model integrated completes, and using measured data, model parameter variable as mode input, Boot Model calculates;
store result of calculation, each computation period stores corresponding result of calculation;
write model state information, if one-period, write model current operating conditions information, otherwise skip this step;
start next forecast cycle, between two forecast computation of Period, if do not stop automatic forecasting, then according to the time of automatic forecasting setting, automatically start next forecast cycle, proceed to the step; If stopping automatic forecasting, then this automatic forecasting terminates, and writes model state information.
In sum, Reservoir Flood Forecast of the present invention calculates Realization method of remote automatically, can to realize Long-distance Control flexibly and calculate possessing under network condition.
More than show and describe ultimate principle of the present invention, principal character and advantage.The technician of the industry should understand, and above-mentioned example does not limit the present invention in any form, the technical scheme that the mode that all employings are equal to replacement or equivalent transformation obtains, and all drops in protection scope of the present invention.

Claims (10)

1. network Reservoir Flood Forecast calculates a Realization method of remote automatically, it is characterized in that, comprises the steps:
Step one: design a model interface, comprises the interface of the external interface of model calculation process, each model;
Step 2: Integrated Development is carried out to model;
Step 3: the control information designed a model, and control information is stored;
Step 4: design and development is carried out to Long-distance Control flow process.
2. the network Reservoir Flood Forecast of one according to claim 1 calculates Realization method of remote automatically, it is characterized in that, described model interface comprises: model parameter interface, model initialization method interface, effective precipitation computing method interface, point water source Runoff calculation method interface, runoff concentration calculation method interface.
3. the network Reservoir Flood Forecast of one according to claim 1 calculates Realization method of remote automatically, it is characterized in that, the described Integrated Development to model refers to assemble model calculation engine, forms Reservoir Flood Forecast model instance.
4. the network Reservoir Flood Forecast of one according to claim 1 calculates Realization method of remote automatically, it is characterized in that, described step 2 comprises:
Step 2a: add model calculation engine assembly, and using described model calculation engine assembly as class Definition Model instance variable;
Step 2b: Definition Model calculating parameter assignment method;
Step 2c: the initial method of calling model example;
Step 2d: according to material calculation and computation period requirement, calls effective precipitation computing method, point water source Runoff calculation method, runoff concentration calculation method successively;
Step 2e: development model result of calculation disposal route, completes result of calculation storage, tracking display task.
5. the network Reservoir Flood Forecast of one according to claim 4 calculates Realization method of remote automatically, it is characterized in that, the input parameter of described model calculating parameter assignment method is two-dimensional array, two-dimensional array represents the model parameter of each computing unit, and model calculating parameter assignment method is used for model parameter attribute assignment.
6. the network Reservoir Flood Forecast of one according to claim 1 calculates Realization method of remote automatically, it is characterized in that, in step 3, control information adopts database table to store.
7. the network Reservoir Flood Forecast of one according to claim 1 calculates Realization method of remote automatically, and it is characterized in that, step 4 comprises:
Step 4a: forecast parameter is managed;
Step 4b: self-timing forecast is set;
Step 4c: carry out automatic forecasting.
8. the network Reservoir Flood Forecast of one according to claim 7 calculates Realization method of remote automatically, and it is characterized in that, step 4a comprises:
Step 4a1: reading model current state, if model treatment running status, performs step 4a2; If model is in closed condition, then perform step 4a3;
Step 4a2: stop model calculating, and write model state information;
Step 4a3: plan of establishment parameter, offshoot program, to each parameter management, reaches the requirement that can meet each optimum configurations of each computing unit and amendment;
Step 4a4: select automatic forecasting scheme.
9. the network Reservoir Flood Forecast of one according to claim 7 calculates Realization method of remote automatically, and it is characterized in that, step 4b comprises:
Step 4b1: automatic forecasting achievement title is set;
Step 4b2: automatic forecasting starting condition is set.
10. the network Reservoir Flood Forecast of one according to claim 7 calculates Realization method of remote automatically, and it is characterized in that, step 4c comprises:
Step 4c1: start automatic forecasting;
Step 4c2: read measured data, calculates needs according to model, reads data, and insert corresponding variable from database;
Step 4c3: reading model parameter, reads parameter corresponding to each computing unit according to the calculating parameter scheme selected by automatic forecasting, and inserts corresponding variable;
Step 4c4: calling model calculates, and this step is called the model instance that model integrated completes, using measured data, model parameter variable as mode input, Boot Model calculates;
Step 4c5: store result of calculation, each computation period stores corresponding result of calculation;
Step 4c6: write model state information, if one-period, write model current operating conditions information, otherwise skip this step;
Step 4c7: start next forecast cycle, between two forecast computation of Period, if do not stop automatic forecasting, then according to the time of automatic forecasting setting, automatically starts next forecast cycle, proceeds to step 4c2; If stopping automatic forecasting, then this automatic forecasting terminates, and writes model state information.
CN201510433019.XA 2015-07-22 2015-07-22 Network based reservoir flood forecasting automatic calculation remote control realization method Pending CN105159660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510433019.XA CN105159660A (en) 2015-07-22 2015-07-22 Network based reservoir flood forecasting automatic calculation remote control realization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510433019.XA CN105159660A (en) 2015-07-22 2015-07-22 Network based reservoir flood forecasting automatic calculation remote control realization method

Publications (1)

Publication Number Publication Date
CN105159660A true CN105159660A (en) 2015-12-16

Family

ID=54800527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510433019.XA Pending CN105159660A (en) 2015-07-22 2015-07-22 Network based reservoir flood forecasting automatic calculation remote control realization method

Country Status (1)

Country Link
CN (1) CN105159660A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419788A (en) * 2010-12-16 2012-04-18 南京大学 Method for designing distributed-type hydrographical model based on penetration-storage integrated dynamic runoff yield mechanism

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419788A (en) * 2010-12-16 2012-04-18 南京大学 Method for designing distributed-type hydrographical model based on penetration-storage integrated dynamic runoff yield mechanism

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
丁韶辉: "基于VS.NET的流域水文预报平台研究", 《中国优秀硕博士学位论文全文数据库(硕士)信息科技辑》 *
夏达忠: "流域洪水预报系统关键技术研究", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 *

Similar Documents

Publication Publication Date Title
Draper et al. CalSim: Generalized model for reservoir system analysis
US10516265B2 (en) Method for management and optimization of hydropower generation and consumption
Lankford Fictions, fractions, factorials and fractures; on the framing of irrigation efficiency
Medellín-Azuara et al. Water supply analysis for restoring the Colorado River Delta, Mexico
US20210073925A1 (en) Irrigation planning system
CN103646348B (en) Method for saving factory station wiring diagram panoramic inversion context
US4885706A (en) Computer aided flood control modeling and management system
CN105068152A (en) Weather forecast manufacturing method and system based on real-time achievement exhibition
Robison The Colorado River Revisited
US20180189745A1 (en) System, method and computer program product for estimating, scheduling, and monitoring farm activity
Zeff et al. California's food-energy-water system: An open source simulation model of adaptive surface and groundwater management in the Central Valley
Sattar et al. Evolution of Water Institutions in the Indus River Basin: Reflections from the Law on the Colorado River
CN104216731A (en) Live upgrade
Pahonțu et al. Application and challenges of Blockchain technology for real-time operation in a water distribution system
Rheinheimer et al. Climate-adaptive water year typing for instream flow requirements in California’s Sierra Nevada
CN109588054A (en) Accurate and detailed modeling using distributed simulation engine to the system with large complicated data set
CN109886737A (en) Needing forecasting method, device, electronic equipment and readable storage medium storing program for executing
CN109408041A (en) A kind of the map coordinates system conversion method and electronic equipment of language based on programming
CN105159660A (en) Network based reservoir flood forecasting automatic calculation remote control realization method
Zagona et al. RiverWare
CN104680782A (en) Traffic control cloud system
Grigg et al. Interactive simulation for water system dynamics
Yang et al. Systematic quantitative risk analysis of water shortage mitigation projects considering climate change
Sechi et al. Intercomparison of generic simulation models for water resource systems
Yang Using data driven simulation to build inventory model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151216

RJ01 Rejection of invention patent application after publication