12.07.2015 Views

Precipitation-Runoff and Streamflow-Routing Models for the ...

Precipitation-Runoff and Streamflow-Routing Models for the ...

Precipitation-Runoff and Streamflow-Routing Models for the ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPENDIX 9. PROGRAMMING STEPS TO RUN A MODEL NETWORK IN DIFFUSION ANALOGY FLOW1. Build a FLOW.IN file as described in Jobson (1989) <strong>and</strong> show in examples in Appendix F.2. Run wdafloModifications have been made to daflow to accomodate WDM files.wdaflo is <strong>the</strong> daflow model modified to read/write time series data to/from a WDM file.Changes to <strong>the</strong> FLOW.IN file are as follows:Data Set 1 - General in<strong>for</strong>mationRec 2 - add field 2 - variable IBCCNT - <strong>for</strong>mat (2X,I8) - number of input boundary conditionsfrom WDM fileadd field 3 - variable OBCCNT - <strong>for</strong>mat (2X,I8) - number of output boundary conditionsto WDM fileRec 2A - new record (include only if IBCCNT+OBCCNT>0) - variable WDNAME - <strong>for</strong>mat(A64) - name of WDM fileRec 4 - add fields 2-7 - variable CURDAT - <strong>for</strong>mat (2X,I5,5I3) - date run starts onData Set 3 - Boundary condition(eliminate entirely if IBCCNT > 0)Data Set 4 - WDM data set numbers(repeat Rec 1 IBCCNT times)Rec 1 - field 1 - variable IBCBRA(I) - <strong>for</strong>mat (10X,I3) - Branch number <strong>for</strong> input boundarycondition- field 2 - variable IBCGRD(I) - <strong>for</strong>mat (5X,I3) - Grid number <strong>for</strong> input boundary condition- field 3 - variable IBCDSN(I) - <strong>for</strong>mat (3X,I5) - Data set number containing inputboundary values(repeat Rec 2 OBCCNT times)Rec 2 - field 1 - variable OBCBRA(I) - <strong>for</strong>mat (10X,I3) - Branch number <strong>for</strong> output values- field 2 - variable OBCGRD(I) - <strong>for</strong>mat (5X,I3) - Grid number <strong>for</strong> output values-field3-variable OBCDSN(I) - <strong>for</strong>mat (3X,I5) - Data set number to write output values to****** CONVERSION NOTE: A utility program called DAFWDM has been written, itreads a FLOW.IN file <strong>and</strong> its own input specification fileDAFWDM.IN <strong>and</strong> writes <strong>the</strong> input boundary conditions from <strong>the</strong>FLOW.IN file to a WDM file.149

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!