Download Open Processes Library User Manual
Transcript
2 Introduction to Open PLCT Background As important as grid generation for the hydrodynamicist T For hydrodynamic models the schematisation of a river basin, a lake, an estuary or a sea is of utmost importance. The model grid; the correct bottom elevation on that grid, external forcing etc. are the scope of work of the hydrodynamic modeller. The mathematical modelling software solves the model equations on the prescribed grid, with the prescribed external forcing. For water quality modelling the spatial resolution generally consists of the resolution of the underlying flow field as generated by the hydrodynamic model itself or of flows on integer multiples of those hydrodynamic grid cells. For water quality modelling there also is external forcing in the form of waste loads, meteorology, open boundary concentrations etc. Important scope of work for the water quality modeller however is the selection of substances and organisms to be included in the model and the nature of their mutual interactions. This selection of substances and their mutual interactions is perhaps as important for the water quality modeller as grid generation is for the hydrodynamic modeller. This documentation deals exactly with this activity of the water quality modeller. DR AF 2.1 Closed software Many water quality models consist of a piece of software that computes the spatial concentration patterns and their evolution over time for a certain set of substances and their interactions. Users are able to insert waste load information and open boundary conditions and other forcing like meteorology. Furthermore, a number of reaction coefficients, playing a role in the implemented formulae of interactions, can be modified to calibrate the model behaviour to available measurement data. If, for a new application, the setting of substances and/or their interactions need to be changed, the computer code of the water quality model needs to be changed. If you use closed “as-is” software, you cannot change the computer code and you must ask the maintainer to do so. The only thing you can furthermore do is fiddle around a bit with the value of coefficients. Open software The first versions of Deltares water quality software, in use from the early ’80s to the early ’90s of the past century had the option of “user programmable water quality”. You wrote a Fortran subroutine with water quality kinetics. That routine was linked with the main system and you were able in this way to change your water quality model equations at need. A number of sample kinetics was delivered to give you a ‘flying start’. We used this procedure also for our own advisory work from 1983 to 1993. This resulted over time in a number of inhouse programs or subroutines all doing partly the same for common substances and partly different things for substances and interactions that were specific for the problem at hand. This procedure was very prone to errors, especially because for a somewhat realistic water quality model the amount of code for the substances and their interactions could become substantial and also the amount of different projects and thus different versions of the ‘user-defined code’ was substantial at Deltares. Deltares 3 of 56