Home

GUI interfacev36 - Civil & Environmental Engineering

image

Contents

1. 3 C Average Current Number of Segments 2 C Linear Total DLX 500 4 Piecewise Linear Merge Spilit into segments Cancel Help 10 Running the Preprocessor within the GUI The preprocessor which checks all input files can be executed from within the GUI by clicking on the CHECK button At which point a dialogue box will pop up with information about running the preprocessor The preprocessor executable must be in the root directory with the input files z gt slala a E E xE aS S m pept W2Pre C scott research willamette riv Constituent Name Preprocessor executable TDS g m3 or Salinity Arbitrary Constituent g C scatt research willamette river PGES bathymetry Browse Arbitrary Constituent g Arbitrary Constituent g Warning The file C scott research willamette river PGE bathymetry mar Arbitrary Constituent g will be overwritten with current control file Arbitrary Constituent g Suspended solids g Cancel Phosphate a m 3 on onnwn H A Note on Saving Files The GUI interface makes a backup copy of each file opened during a session It will add an integer number to the files opened This integer is based on whether previous backup files have been created or not For example the 1 time the GUI opens the files w2_con npt graph npt and bth npt the program will write as backup copies of the unaltered original files w2_con npt2 graph npt2 and bth npt
2. 1 0 001 0 003 0 014 0 150 15 2 0 001 11 The Apply button is used to set the parameters of the table For example above the of epiphyton groups is 1 If one wanted to change this to 2 One would enter 2 in the cell for NEP and then press Apply The table will be re drawn as shown below WA CE QUAL W2 Version 3 5 W2Control V3 5 By Fie Window Help zula 5 E W2Control V3 5 Global parameters zimy Water Body Branch Flow Sources amp Sinks Epiphyton 2 Output Control Ephiphyton growth rate 1 day 2 Water Quality Epiphyton dark respiration rate 1 day 0 04 Constituents Computation Epiphyton excretion rate 1 day Active Constituents Epiphyton mortality rate 1 da Derived Constituents Epiphyton burial rate 1 day Constituent Fluxes Epiphyton half saturation P EHSP Constituent Initial Conc Constituent Branch Inflow Constituent Tributary Inflow Constituent Dstr Tributary Inf Constituent Precip Inflow Constituent Print Extinction Coefficients Epiphyton half saturation N EHSN Epiphyton half saturation SI Epiphyton Light Saturation Wim 2 Epiphyton Half Saturation Biomass Limitation g m 2 Epiphyton Ammonia Preference Equation 1 or 2 Epiphyton Ammonia Preference Factor g m 3 Temperature Rates Suspended Solids and Geni Algal Rates and Constants Epiphyton Periphyton Rates Zooplankton Rates and Con Macrophyte Rates and Cons Organic R
3. Constants Zero Order SOD Fe Stoich Reaeration CO2 Input Output File Names Global file names Waterbody Input file names Branch Input file names Tributary Input file names Output file names Epiphyton Periphyton Rate and Constants of Epiphyton Groups NEP phiphyton growth rate 1 da EG Epiphyton dark respiration rate 1 day_ ER Epiphyton excretion rate 1 day EE piphyton mortality rate 1 day EM Epiphyton burial rate 1 day B Epiphyton half saturation P EHSP Epiphyton half saturation N HS Epiphyton half saturation SI EHSSI piphyton Light Saturation W m 2 ESAT Epiphyton Half Saturation Biomass Limitation g m 2 EHS Epiphyton Ammonia Preference Equation 1 or 2 ENEQ Epiphyton Ammonia Preference Factor gim 3 ENPR Temperature Rates Lower temperature for epiphyton growth ET1 Lower temperature for max epiphyton growth ET Upper temperature for max epiphyton growth ET3 Upper temperature for epiphyton growth 4 Fraction of epiphyton growth rate at AT1 EK1 Fraction of max epiphyton growth rate at AT2 K2 Fraction of max epiphyton growth rate at AT3 EK3 Fraction of epiphyton growth rate at AT4 K4 Stoichiometry Fraction P EP Fraction N EN Fraction C C Fraction Si ESI Chlorophyll algae ratio ECHLA Frac algae lost by mortality to POM EPOM O2ER Oxygen equivalent of organic matter for epiphyton respiration wo 1 a Epiphyton 1 f 15 0 04 0 04 0
4. segments or split them into many more segments The control file w2_con npt will automatically adjust segment numbers when using this option But keep in mind that the following files will need to be edited to adjust them for changes in the number of model segments the wind sheltering coefficient file wsc npt and the shading file shade npt A similar process is followed for merging or splitting layers amp File Window Help tio Bil ome zje 4 9 Bl 2 3 4l 5 6 7 250 2 250 2 250 2 250 2 250 2 250 2 250 2 250 2 41 63 41 63 415 41 37 41 23 44 40 97 40 84 o 421 4 37 4 32 38 3 48 3 45 34 0 04 0 04 0 04 0 04 0 04 0 04 0 04 0 04 DZ DZ 2 DZH3 Width Elevtop Width Elevtop Width Elevtop Width Elevtop Width Elevtop Width Elevtop Width Elevtop Width m a a 1 00 1 00 1 00 00 0 00 51 16 00 51 03 00 50 9 00 50 77 00 50 64 00 50 51 00 50 1 00 1 00 1 00 00 0 284 76 50 16 307 73 50 03 373 35 499 236 76 49 77 249 74 4964 325 37 4951 420 67 49 1 00 1 00 1 00 00 0 284 76 4916 307 73 49 03 373 35 48 9 236 76 48 77 249 74 48 64 325 37 48 51 420 67 48 1 00 1 00 1 00 00 0 284 76 48 16 307 73 48 03 373 35 479 236 76 47 77 249 74 47 64 325 37 4751 420 67 47 1 00 1 00 1 00 00 0 284 76 16 47 03 373 35 46 9 236 76 46 77 249 74 46 64 325 37 46 51 420 67 46 1 00 1 00 1 00 00 0 46 03 373 35 459 236 76 45 77 249 74 45 64 325 37 45 51 420 67 45 1 00 1 00 1 00 00 0 45 03 373 35 449 236 76 4477 249 74 4464 325 37 4451 420 67
5. that the window options are visible If the file does not open there may be serious formatting errors in the file or you may have not chosen a CE QUAL W2 control file Check the file for errors using the CE QUAL W2 preprocessor a separate program released with W2 Wo CE QUAL W2 Version 3 6 W2Control V3 6 Bk Fie Seino He slaja m mmy E W2Control V3 6 Global parameters Water Body Flow Sources amp Sinks Output Control Water Quality Input Output File Names Global file names Waterbody Input file names Branch Input file names Tributary Input file names Output file names You will notice that the BTH button is now active meaning that you can also open the bathymetry file The left pane now has 7 headings each with subheadings that can be shown by double clicking on the main heading For example several of the subheadings have been expanded as shown below w CE QUAL W2 Version 3 6 W2Cont Fie Window Held ele I mi li m W2Control V3 6 Global parameters Number of waterbodies Title card Time Controls Water Body Location and Initial condi Hydraulic Coefficients Ice and Heat Exchange Branch Branch Geometry Branch Interpolation Flow Sources amp Sinks Structures Pipe Spillway Weir Gate Pump water level control Internal Weir Withdrawal Tributary Distributed tributary Output Control Hyd prin
6. 2 The next time the program opens these files the files w2_con npt3 graph npt3 and bth npt3 will be created if you have already deleted the 2 files from your hard disk the GUI will again use the integer 2 rather than 3 Typical Errors with the GUI Sometimes the GUI cannot read a control file because of the format of the text UNIX Linux systems often use a line feed at the end of a line while Windows text files include a carriage return and a line feed You must convert the file to a Windows text 11 file for the GUI to work properly In a text editor you can view all the characters and verify you have the proper Windows format if the GUI is having problems reading the file Many text editors automatically convert files from one type to the other such as the text editor Notepad It is recommended that you use the W2 preprocessor to catch errors in the set up files first before using the GUI The W2 preprocessor though will not catch the line feed error noted above and will read the files correctly whether in UNIX Linux or Windows format Command Line Processing The GUI also can be controlled by command line passing of the working directory and file In a batch program or from the command line in a DOS box you can execute the GUI as follows C scott research corps of engineers tomcole w2code GUI36 w2control w2control36 exe C scott w2workshop 2009 workshop waterqual problem1 w2_con npt The first strin
7. 44 1 00 1 00 1 00 00 0 4403 373 35 439 236 76 43 77 249 74 43 64 325 37 43 51 420 67 43 1 00 1 00 1 00 00 0 43 03 373 35 429 236 76 4277 249 74 4264 325 37 4251 420 67 42 1 00 1 00 1 00 00 0 4203 373 35 41 9 236 76 41 77 249 74 41 64 325 37 41 51 420 67 4 1 00 1 00 1 00 00 0 41 03 373 35 40 9 236 76 40 77 249 74 40 64 325 37 40 51 420 67 40 1 00 1 00 1 00 00 0 40 03 373 35 39 9 236 76 39 77 249 74 39 64 325 37 3951 420 67 33 1 00 1 00 1 00 00 0 39 03 373 35 38 9 236 76 38 77 249 74 38 64 325 37 38 51 401 30 38 1 00 1 00 1 00 00 0 38 03 365 51 37 9 227 49 37 77 235 22 37 64 296 11 37 51 378 97 3 1 00 1 00 1 00 00 0 37 03 358 02 36 9 220 05 36 77 226 26 36 64 270 19 36 51 258 89 36 1 00 1 00 1 00 00 0 167 55 207 53 36 03 343 54 359 209 81 35 77 213 84 35 64 240 60 35 51 173 75 35 1 00 1 00 1 00 00 0 12264 117 59 35 03 242 47 349 188 69 34 77 196 98 34 64 180 43 34 51 138 98 34 1 00 1 00 1 00 00 0 18 33 17 71 3403 10291 339 151 01 33 77 113 00 33 64 144 18 33 51 22 25 33 1 00 1 00 1 00 00 0 00 00 33 03 12 78 32 9 24 13 32 77 17 59 32 64 22 53 32 51 00 32 1 00 1 00 1 00 00 0 00 00 32 03 00 31 9 00 31 77 00 31 64 00 31 51 00 3 1 00 1 00 1 00 00 0 00 00 31 03 00 30 9 00 30 77 00 30 64 00 30 51 00 30 1 00 1 00 1 00 00 0 00 00 30 03 00 29 9 00 29 77 00 29 64 00 29 51 00 29 1 00 1 00 1 00 00 0 00 00 29 03 00 28 9 00 28 77 00 28 64 00 28 51 00 28 1 00 1 00 1 00 00 0 00 00 28 03 00 27 9 00 27 77 00 27
8. 64 00 27 51 00 27 1 00 1 00 1 00 00 0 00 00 27 03 00 26 9 00 26 77 00 26 64 00 26 51 00 26 1 00 1 00 1 00 00 0 00 00 26 03 00 25 9 00 25 77 00 25 64 00 25 51 00 25 1 00 1 00 1 00 00 0 00 00 25 03 00 24 9 00 24 77 00 24 64 00 24 51 00 24 1 00 1 00 1 00 00 0 00 00 24 03 00 23 9 00 23 77 00 23 64 00 23 51 00 23 1 00 1 00 1 00 00 0 00 00 23 03 00 229 00 22 77 00 22 64 00 22 51 00 22 1 00 1 00 1 00 00 0 00 00 22 03 00 21 9 00 21 77 00 21 64 00 21 51 00 2l 1 00 1 00 1 00 00 0 00 00 21 03 00 20 9 00 20 77 00 20 64 00 20 51 00 20 1 00 1 00 1 00 00 0 00 00 20 03 00 19 9 00 19 77 00 19 64 00 19 51 00 19 1 00 1 00 1 00 00 0 00 00 19 03 00 18 9 00 18 77 00 18 64 00 18 51 00 18 1 00 1 00 1 00 00 0 00 00 18 03 00 WHS 00 17 77 00 17 64 00 00 17 1 00 1 00 1 00 00 0 00 00 17 03 00 16 9 00 16 77 00 16 64 00 00 16 1 00 1 00 1 00 00 0 00 00 16 03 00 15 9 00 15 77 00 15 64 00 00 15 1 00 1 00 1 00 00 0 00 00 15 03 00 149 00 14 77 00 14 64 00 00 14 1 00 1 00 1 00 00 0 00 00 14 03 00 139 00 13 77 00 13 64 00 00 13 1 00 1 00 1 00 00 0 00 00 13 03 00 129 00 12 77 12 64 00 00 Tp K gt WB 1 1 SEG 2 3 BR t 4 TAY 5 14 Refresh Views Cancel Recalculate Layer Elev Note that in the bottom left corner of the above screen shot the layers and segments that were selected is shown Merge Split Segments Starting Segment 2 m Interpolation Style End Segment
9. GUI Interface CE QUAL W2 V3 6 User Manual W About CE QUAL W2 Version 3 6 CE QUAL W2 V3 6 PORTLAND STATE UNIVERSITY VERSION Modeling Team PSU Dr Scott Wells lt scott cecs pdx edu gt Dr Chris Berger lt bergerc cecs pdx edu gt WES Dr Barry Bunch Support by Waterways Experiments Station Corps of Engineers Vicksburg MS This preprocessor is based on development work for a CE QUAL W2 Version 2 preprocessor by J E Edinger Associates Inc 37 West Avenue Wayne PA 19087 3226 lt staff jeeai com gt Scott A Wells Portland State University Department of Civil and Environmental Engineering September 2009 Table of Contents Table of Contents iii s conucetieeceieiiea nial inna eek adhe sasaa 1 WMtrOGUCHION 3 aes ae Oe a eee ele Ga eee eS NG cs kite ae 2 MTs Call erage the GUL Interface gh shat E E ET EE Va a ne ane E E ve ae 2 Opening the GUI Interface rniran erai e a ER E RA E AE a si Eni 2 MENUS aerer a E a Aah a nia E a E 2 Buttm B la nan e ee atiet ide Mags le ia Seta se Reale E gale 3 Editie the Cono Wa cl A a a e aA 3 Editing the B thymetty Pile sj mersis siiente s e t e a ats 7 Merging or Splitting Segments or Layers esssesesseessseesseesseessereseeessseessresseesseeesseeessees 9 Running the Preprocessor within the GUL eeseseseseeseseseessrrssessresressrseresressessrssressessesres 11 A N t on Savina Ee Skene s cada tea na E E a ieadeet aa dle S 11 Typical Errors with the GUI veiisis
10. ates and Constan Lower temperature for epiphyton growth Lower t rature for max epiphyton growth Upper t rature for max epiphyton growth Upper temperature for epiphyton growth Fraction of epiphyton growth rate at AT1 Fraction of max epiphyton growth rate at AT2 BOD Rates and Constants gt Nutrient Rates and Constant Fraction of max epiphyton growth rate at AT3 SOD Rates and Constants Fraction of epiphyton growth rate at AT4 Zero Order SOD ichi Fe Stoich Reaeration CO2 Input Output File Names Global file names Waterbody Input file names Fraction Si Branch Input file names Chlorophyll algae ratio Tributary Input file names Frac algae lost by mortality to POM Output file names Oxygen equivalent of organic matter for epiphyton respiration Oxygen equivalent of organic matter for epiphyton growth lt gt Then after making changes the OK button MUST be pressed But this does not SAVE the file to the hard disk The User must also then press the SAVE button on the button bar above or the menu FILE SAVE file to save these changes to the disk The save button will be highlighted after a selection is changed Editing the Bathymetry File After opening the control file the bathymetry file can be opened by clicking the BTH button Note that the bathymetry file name is under the INPUT OUTPUT FILE NAMES Menu and the submenu WATERBODY INPUT FILE NAMES At this point there are 4 views that becom
11. csisssssssesatsaszeravdavensaaeeraacsioacaeensnessanasbesaueasavnede soevenmeaveanees 11 Command Line Process ine sicreti e i tua baas tant shed i esaia 12 Introduction This short manual describes the GUI interface that is released with CE QUAL W2 The manual describes briefly the uses of the GUI for editing the control file w2_con npt and the bathymetry file user defined filename typically called bth npt Please note that the model files can be edited using a text editor and the GUI is not required The GUI though may be very helpful for the new CE QUAL W2 user The bathymetry editor is very useful in viewing the model grid and making changes to the grid e g grid refinement The bathymetry editor though does not assist in setting up the bathymetry The model user must have already developed the bathymetry file using other programs The bathymetry editor only edits an existing bathymetry file Often the bathymetry is developed using GIS software or programs like SURFER or other 3 D contour plotting software packages Installing the GUI Interface After downloading the GUI interface setup files and unzipping them from Windows Explorer double click on setup exe to guide you in the set up process Opening the GUI Interface By double clicking on the W2 icon from the Desktop or from Windows Explorer the user is presented with the following screen File Window Help ca el S m 2 B zEm9 ll H This interface is meant to be sim
12. e active Side View Top View Data View End View Fle Window Help oS mE m xmas ole wl s ox End View eld Side View TOR a 123 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 N Top View NW Data View 3 a 487 62 487 62 487 62 487 62 487 62 487 62 487 62 487 62 2 530 530 528 8 527 6 526 4 525 2 524 524 0 1 43 2 43 1 25 1 69 1 26 1 63 0 0 04 0 04 0 04 0 04 0 04 0 04 0 04 0 04 DZ 1 Width Elev top Width Elev top Width Elev top Width Elev top Width Elev top Width Elev top Width Elev top Width Elev toy 1 50 00 0 o0 547 55 00 546 3 00 545 05 00 543 81 00 542 56 00 541 31 00 2 50 00 0 65 20 547 05 65 20 545 8 80 70 54455 96 20 54331 11160 54206 12710 54081 00 3 50 00 0 63 20 546 55 63 20 545 3 7870 54405 9420 54281 10960 54156 12510 54031 00 4 50 00 0 61 20 546 05 61 20 544 8 76 70 543 55 9220 54231 10760 54106 12310 539 81 00 5 50 00 0 59 20 545 55 59 20 544 3 74 70 543 05 90 20 54181 10560 54056 12110 539 31 00 6 50 00 0 57 20 545 05 57 20 543 8 72 70 542 55 88 20 54131 10360 54006 11910 538 81 00 7 50 00 0 55 20 544 55 55 20 543 3 70 70 54205 86 20 54081 10160 53956 11710 538 31 00 8 50 00 0 53 20 544 05 53 20 542 8 68 70 54155 84 20 540 31 9960 539 06 11510 537 81 00 9 50 00 0 51 20 543 55 51 20 542 3 66 70 541 05 82 20 539 81 9760 53856 11310 537 31 00 an an nn n AIN RANA BAN RR an a4 ORN RANE 14444N RRRA nn ba gluu gt pe aoe E Recalculate Layer El
13. ev The buttons on the top allow one to toggle between the different bathymetric views By expanding the Top View one can enlarge the view by holding down the left mouse button and scrolling from right to left see example below To decrease the image size hold down the left mouse button and scroll from right to left To change the active segment and layer you must place the mouse cursor in the Data View at a segment and layer of interest and click the Refresh View button This affects which segment is shown in the End View and which segment is highlighted in the Side View To edit the bathymetry click on the variable and change its value Then the user must click the OK button to accept these changes Using the SAVE button saves all the user files siela 5 lell mm m Merging or Splitting Segments or Layers In order to perform this operation open the Data View and select the range of layers and or segments to merge or split by highlighting them with the mouse You will notice in the left hand corner a box shows what segments and layers have been selected In the example below have selected layers 5 14 and segments 2 and 3 You will also now notice that the layer and segment merge split buttons are now active To merge or split segments click on the Merge Split segment button A small dialog box will come up with options for merging or splitting the segments see below You then have the option to merge the 2
14. g in quotes executes the GUI this shows the path to the GUI your path to the GUI will be different The command line argument is NOT in quotes This program was developed in VB6 and does not take quotes around the command line Note that this is different than the FORTRAN command line argument So the above command will open the GUI and load the control file automatically from the directory C scott w2workshop 2009 workshop waterqual problem1 12
15. ple and uncomplicated Menus The user has 3 menus File Window and Help The File menu controls which control file to open and to save The user can only open a CE QUAL W2 control file such as w2_con npt Opening any other file type will result in an error The File save button and file open buttons and menu items only affect the control file and the associated files bathymetry and graph files Note that when you save a file you overwrite the original file with which you started The GUI program though copies the original output file to a similar name but with a number designator This allows the user always to go back and track changes made over time to the control file or bathymetry files Button Bar The buttons become active as the user opens the files that affect the buttons For example once the bathymetry file is opened the 4 grid viewing options are then displayed see more information below The open file button opens the w2_con npt file or another file that is in the format of the control file The save button becomes active once a file is opened and changes are made The print button prints the current screen I would not use this since it is not a very useful print out It is much more convenient to just print the text file directly from Notepad or other text editor The next buttons are described below Editing the Control File Once you have chosen a control file to open w2_con npt open it and adjust the window so
16. t Snap shot Screen output Profile Spreadsheet plot Time series plot Withdrawal output Vector plot Contour plot Fluxes output Restart control Water Quality Constituents Computatio Active Constituents Derived Constituents Constituent Fluxes Constituent Initial Conc Constituent Branch Inflow Constituent Tributary Inflo Constituent Dstr Tributan Constituent Precip Inflow Constituent Print Fyxtinctian Cnefficients ofl 2 By double clicking on a subheading the user can edit the information in a cell Information about each model parameter is shown in Appendix C in the User Manual Once you have edited the cells either by changing a number or changing a menu parameter there are 2 buttons at the bottom of the page as shown below Ws CE QUAL W2 Version 3 5 W2Control V3 5 File window Hel gla al m cll mim m W2Control V3 5 Global parameters Water Body Branch Flow Sources amp Sinks Output Control Water Quality Constituents Computation Active Constituents Derived Constituents Constituent Fluxes Constituent Initial Conc Constituent Branch Inflow Constituent Tributary Inflow Constituent Dstr Tributary Inf Constituent Precip Inflow Constituent Print Extinction Coefficients Suspended Solids and Geni Algal Rates and Constants Epiphyton Periphyton Rates Zooplankton Rates and Con Macrophyte Rates and Cong Organic Rates and Constan BOD Rates and Constants Nutrient Rates and Constant SOD Rates and

Download Pdf Manuals

image

Related Search

Related Contents

取扱説明書 - 三菱電機    "取扱説明書"  Table-Top-gefrierschrank  PROM Programmers  Autodesk Autocad LT 2008 Subscription    7 - lombardini service  

Copyright © All rights reserved.
Failed to retrieve file