WinSLAMM Program Modifications Log v 10.1.6 1. Changed wet detention pond stage increments to 0.01 feet per increment to provide more consistent algorithm performance. 2. Added warnings to notify users if errors occur that could invalidate output. 3. Added Grass Swales as a High Traffic Urban source area control practice option. 4. Modified street cleaning code to save street cleaning detailed output files in the project file directory. 5. Added street width calculation to input data printout. 6. Miscellaneous upgrades and bug fixes. Note – Interim version numbers were test builds. v 10.1.1 1. The last pollutant listed in the output summary and the output summary tab pollutant list prints correctly. 2. Open water pollutant calculation error corrected. 3. The peak flow value for each rainfall event is now calculated and listed in the Output Outfall/Runoff Volume tab. 4. Added error checks for the biofilter outlet device variables and added and modified Source Area parameter error checks. 5. Added default particle size and peak to average flow ratio file update to the "Use Default Values" button in the Current File Data form. 4/11/14 6. Corrected minor pollutant calculation and unit conversion errors. 7. Modified cost file format to allow program to perform an error check to determine if a .csv file is a cost file. 8. Wet Detention Pond data entry form modifications. v 10.0.3 1. Changed BF soil data form soils Peat and Compost to "50-50 Peak/Sand" and "50-50 Compost/Sand", respectively. Those two types can only have a ratio value of 1.0. This is a temporary change to reflect initial data in newest studies. The complete data set, with more flexibility, will be available in v 10.1. The soil parameters were changed to: Porosity Field Cap Wilting Pt Infiltration Rate 50-50 peat/sand 58 33.5 3.8 13.0 50-50 compost/sand 49.5 31.5 3.8 13.0 2. Minor error checks added to the hydrodynamic device to address overflow weir issues. 3. Added note in control practice particle size distribution text boxes to note that the particle size distribution was not needed if particle size distributions were routed. 4. Removed the porous pavement control practice as a second source area control option. Corrected porous pavement surface infiltration reduction due to surface clogging calculations. A major restructuring of this practice will occur in v 10.1. 5. Added the missing catchbasin initial sediment depth variable. This variable will only be saved if the .mdb file was created in v 10.0.3 unless the user changes the variable from integer to single directly in the database. Files will update properly in v 10.1. 6. Added street length multiplier to group file modifications input form. v 10.0.2 1. Activated wet pond flow bypass option. 2. Added help button to describe available options if a user is opening an earlier version file. Converted particle size distribution weighting from a flow-weighted basis to a mass-weighted basis. 3. Modified the hydrodynamic control practice device to prevent the user from accessing the proprietary device file if there is no proprietary device. 4. Added “Create Land Uses from Data File” Tool to create a set of land uses from a .csv file in one file. 5. In Biofilter soil characteristics form, corrected error trap that occurred when the user entered a fraction greater than one. 6. Corrected Filter Strip error that improperly calculated the incremental flow reduction leaving the device. The program calculated the filter strip reduction correctly. 7. Modified output option 5 to include pollutants. 8. Changed v 9.4.0 .dat file importer to treat engineered media soil as user defined rather than trying to update the soil type to match the new engineered media table format. 9. Added high traffic urban and high traffic urban pervious area SLU fields. 10. Miscellaneous minor error checks and bug fixes. v 10.0.1 1. Changed the porous pavement default clogging rate to 0.1 lb/sf. 2. Corrected biofilter subsurface ponding duration calculation error by resetting the duration value to zero hours at the beginning of each model run. 3. Added upflow velocity, critical particle size, percent particles controlled and weighted percent particles controlled step by step values to detention pond detailed output file. 4. Added cut/paste buttons to hydrodynamic device. 5. Changed porous pavement date entry for surface clogging data from one grid to three grids to make it easier to clear grids that were not used. 6. Corrected problem that allowed Current File Entry Status form to say the 'Source Area Data Entered for Each Land Use' label was 'Not Entered' even though there actually were areas in each land use. 7. Added porous pavement variable change option to Group MDB File Modifications form. 8. Changed porous pavement surface clogging reduction calculation so that it is based upon the ratio of the cumulative influent load to the porous pavement divided by the surface clogging value rather than the cumulative load reduction divided by the surface clogging value. 9. Fixed inadvertent source area deletion in sprFreewaySAGrid 10. Fixed significant figure problem in bioifilter media form that allowed a sum of 0.999999 even though the values totaled exactly 1.0000. 11. Added above ground pipe discharge value missing in Biofilter stage discharge data detailed output file. 12. Added plant labels to input data printout for biofilter. 13. Added to porous pavement control practice summary tab output the porous pavement influent median particle size distribution value. 14. Disabled delete button in each control practice until the continue button has been selected and the control practice initiated. Then the delete button should be activated. 15. Corrected catchbasin calculation problem that prevented the particle size distribution from being passed to the downstream control practice. 16. Activated the save file upon exit option. 17. Added control practice label to input printout for each control practice. 18. Added no control values to batch processor output for each model run to determine percent reductions for each model run in addition to the comparative percent reductions for the no control model run. 19. Changed the minimum elevation required for biofilter surface ponding to 0.01 ft from 0.001 ft. 20. Disabled particle size distribution access in all control practices if the user selects the option of transferring particle size and hydrographs to downstream control practices. 21. Changed particle size distribution calculation to set smallest particle size in effluent distribution that is greater than the critical particle size equal to zero. 22. Miscellaneous Bug Fixes 23. Updated Help File with all revisions and new information 24. Added error checks v 10.0.0 1. Program structure converted from text file format to database format 2. Added drag and drop user interface 3. Added ability to model all control practices in series 4. Added complete routing of particle size distribution through defined network 5. Added complete routing of complex triangular hydrograph through defined network 6. Added numerous additional source area instances 7. Added Land Use and Control Practice grids to summarize data in modeled network 8. Modified Output Summary and Output tabs to report data from revised network 9. Created WinSLAMM Files folder in root C: directory to allow program to access parameter files as needed 10. Added Media Data form and Evapotranspiration to Biofilter control device 11. Added Filter Strips 12. Added Ultra Urban Highway Source Areas 13. Removed Cisterns from Biofilter control device and made it its own control device 14. Updated Wet Detention Pond, Grass Swale and Porous Pavement forms. 15. Added ability for user to choose time step 16. Added ability to rename all network instances 17. Added ability to import v9.4.0 model files 18. Added standard land use files into a standard land use database. Standard land use files can now be accessed by right-clicking on a land use icon. 19. Added ability for user to set default parameter files to the parameter files listed in the current model 20. Updated Help File with all revisions and new information 21. Added error checks v 9.4.1 1. Misc. a. 2. Add evapotranspiration to the biofilter (also see v 9.4.0-8). v 9.4.0 1. Misc. a. Corrected missing biofilterinput window source area label problem. (6/21/08) b. Changed concentration to mass conversion factor from 454000 to 453592 to remove minor rounding errors. (6/22/08) c. Corrected biofilter detailed output option error that prevented particulate reduction and irreducible concentration files from printing. (9/10/08) d. Modified biofilter control to prevent user from entering a percent reduction value unless the selected soil was "user defined". (9/15/08) e. Set maximum flow to inline sump for catchbasins to 9999 if the value is initially set to zero. (9/16/08) f. Removed evaporation from biofilter below-ground hydraulic discharge rate total. (1/4/09) g. Added extra line in the batch processor code reading version 9.3 .dat files. (9/26/08) h. Batch processor files created/files not created list box did not clear files from previous run. Corrected. (9/26/08) i. Changed concentration to mass conversion factor from 454000 to 453592 and volume conversion factor from 28.32 to 28.3168 to remove minor rounding errors. (9/29/08) j. Add a button to print the files created and not created during a batch processor run to a file. (10/2/08) k. Changed frmShowNewFiles to frmBatchShowNewFiles. (10/4/08) l. Placed message that a rain file has been created from a .CSV file. (10/26/08) m. Formated total area summation function to hundreds of an acre. (11/3/08) n. Corrected error setting fraction of runoff going to biofilter for drainage system and outfall biofilter. (11/9/08) o. Corrected duplicate hydrograph problem when selecting output options 6- 8. (11/14/08) p. Changed temporary biofilter engineered soil depth media variable from integer to single type. (11/16/08) q. Reset gEndExecution variable to false before checking presence of .std files to prevent recurrence of #TRUE# value that prevented program from executing. (11/19/08) r. Set mRestartTime = False to provide correct time step values for biofilter detailed output table when time step was reset during calculations. Change only effects time values, not calculations. (11/19/08) s. Renamed frmINI to frmProgramOptions. Re-Order detailed output file options on form. (12/3/08) t. Corrected data entry problems for porous pavement COV data. (12/3/08) u. Changed grass swale hydraulics and concentration by event detailed output file name to: <.datFileName> & GSHydConcByEvent.csv. (12/17/08) v. Set minimum swale width for cost purposes to 1.0 ft. (12/19/08) w. Version 9.3 to 9.4 Biofilter Update warning. (12/19/08) x. Corrected grass swale batch editor variable clearing problem. (1/7/09) y. Added wet detention pond overflow warning suppression option. (1/8/08) z. Allowed output options 5-8 to be printed in a batch file run. (1/15/09) aa. Changed street width label on Street Source Area Parameter form to clarify width calculation. (1/15/09) ab. Added error check to determine winter season month order. (1/15/09) ac. Addressed biofilter water balance problem that occured with engineered soil but no drain tile outlet. Added biofilter routing detail and storage-indication curve detailed output file. (1/15/09) ad. Explicitly excluded biofilter particulate reduction calculations if a drain tile was not present. (1/22/09) ae. Added Save As Earlier Version 9.3 for .dat files. (2/21/09) af. Changed sandy silt loam classification to sandy clay loam in grass swale soil types. (3/10/09) ag. Corrected biofilter side slope area calculation to account for vertical side slopes. (3/25/09) ah. Corrected biofilter water balance problem for very low flow events for the flat portion of the inflow hydrograph. (3/25/09) ai. Corrected biofilter divide by zero errors that occured with rock fill only biofilter. (4/22/09) aj. Added biofilter infiltration area values to biofilter stage-discharge detailed output file. (4/26/09) ak. Added biofilter sharp crested weir water balance detail water balance detailed output file. (5/8/09) al. Added biofilter cumulative water balance to water balance detailed output file. (5/15/09) am. Allowed a large data field for the file description box in the Current File Data form. Changed source area value from two significant figures to three significant figures. (5/28/09) an. Corrected porous pavement water balance file open error. (6/1/09) ao. Corrected overflow error in output grid due to Rv calcuation when rainfall depth =0. (6/1/09) ap. Changed freeway length significant figures from 2 to 4. (6/2/09) aq. Added statistics summary to porous pavement water balance detailed output file. (6/6/09) ar. Changed peak to average ratio for output option 5 from 2 to the default peak to average ratio entered in the Program Options form. (6/9/09) as. Changed void ratio label to porosity in biofilter and porous pavement device to reflect the correct variable definition: Porosity = Volume of voids / Total Volume. (6/19/09) 2. Added particle and flow routing from wet detention pond to biofilter. (6/21/08) 3. Modified detailed output option form. (8/1/08) 4. Added default option to apply one particle size distribution file to all applicable locations. (8/28/08) 5. Added Lamella Plate option to hydrodynamic and catchbasin control practices. (8/28/08) 6. Added default monthly temperature values. (9/9/08) 7. Added biofilter control option to Freeway paved lane and shoulder source area. (9/11/08)13 8. Added biofilter ET variables and code. (11/20/08) 9. Added biofilter to Modify .dat file form. (11/21/08) 10. Added hydrodynamic device to street source areas. (12/13/08) 11. Routed particle sizes through biofilter engineered soil instead of applying a percent reduction value for the engineered soil. (9/11/08) 12. Modified grass swale settling to account for changes in viscosity and density due to temperature. (2/18/09) 13. Established .dat file path variable to specify location of detailed output files. (5/21/09) 14. Corrected various problems with the porous pavement water balance. (5/21/09) 15. Modified critical particle size and settling calculations to reflect more accurate viscosity calculation and Newton's Law calculation. (6/7/09) v 9.3.4 1. Force street cleaning to occur at the end of the winter season if there is a winter season. (5/19/09) v 9.3.3 (3/17/09) 1. Misc. a. Modified GrassSwaleIncPerformance.csv headings and added IncreVolumeInfiltrated variable. (2/4/09) b. Changed proGrassSwaleMods to allow the user to change to grass swale density without changing the grass swale length to allow the user to account for off-site runoff that flows through the system but is not part of the system. (2/4/09) c. Zeroed out gGS(LU).LUArea after each run and cleared all grass swale variables, not just land use variables. (2/4/09) d. Corrected formating for grass swale input data printout. (2/5/09) e. Apply drainage area ratio calculation in group .dat file modification process to swales in combined land use area. (2/6/09) f. Corrected impervious surface area calculation for freeway areas in grass swale calculations. (2/5/09) g. Allowed user to exclude grass swale particulate removal by setting the grass height to zero. (2/15/09) h. Corrected group .dat file process file error that prevented processing from occuring when the 'Process Files' option was selected. (3/4/09) 2. Added swale length calculation option to allow users to calculate the swale infiltration volume using the total swale length rather than the swale density times the area served by swales. Adjust grass swale form input to allow user to set length and average length values independently of swale density. (2/10/09) v 9.3.2 1/7/2009 1. Corrected interpolation calculation error for the grass swale infiltration rate between 0.005 and 0.02 inches per hour. If the slope is between 0.005 and 0.0125 then the swales will perform better than in v 9.3.1. If the slope is between 0.0125 and 0.02, then the swales will not perform as well as in v 9.3.1. For sets of swales in a community, our analysis has shown that the overall difference in performance is around 0.1% higher. (11/23/08) 2. Corrected grass swale average swale length calculation in batch processor. (9/20/08) 3. Added extra line in the batch processor code reading version 9.3 .dat files. (9/26/08) v 9.3.1 7/2/08 1. Misc. a. Shaded pond data grid column 3 to indicate that user should not enter data in there. (4/27/08) b. Reset biofilter maximum above ground stage statistic to zero at the start of each event for the detailed, time step by time step output. (4/27/08) c. Added error check to prevent a modify pond area value of zero or a blank text box from adjusting the pond values. (4/28/08) d. Corrected minor grass swale data entry errors. (4/28/08) e. Corrected error in listing the wet detention pond land use number when the pond overflows. (5/2/08) f. Modified funInWinterSeasonForStCleaningEvent to bypass function if there is no street cleaning. (5/3/08) g. Corrected hydrodynamic device problem when device was defined without any inlet flow control. (5/4/08) h. Corrected biofilter form source area label error for freeway land use areas. (5/11/08) i. Corrected negative square root error when calculating standard deviation. (6/2/08) j. Added error check to prevent biofilter orifice invert elevation = 0 so that water balance calculations work properly. (6/10/08) k. Added code to reset hydrodynamic device sediment storage status at the beginning of each run. (6/12/08) l. Changed concentration to mass conversion factor from 454000 to 453592 and volume conversion factor from 28.32 to 28.3168 to remove minor rounding errors. (6/20/08) m. Corrected biological systems benefits problem with paved land and shoulder areas. (6/21/08) n. Added extra line in the batch processor code reading version 9.3 .dat files. (6/25/08) o. Changed pond sediment load volume calculation using bulk density of 1.5 * 62.4 lb/cf rather than specific gravity of 2.5 lb/cf. (6/29/08) p. Added error checks to prevent inappropriate grass swale data values from being entered. (7/1/08) q. Changed street length value to allow three significant figures instead of two. (7/2/08) 2. Added grass swale max velocity, depth and shear to grass swale event detailed output file. (5/21/08) 3. Corrected filterable pollutant calculation that ignored runoff volume reductions at the drainage system and outfall. (5/27/08) 4. Added hydrodynamic devices to Freeway land use Paved Lane and Shoulder Areas. (6/10/08) v 9.3.0 4/22/08 1. Misc. a. Change proClearOutfallVariable name to proClearDrainageSystemlVariable name. b. Changed variable fDum33 to fPrnSA (Print input source area value information) in frmMainMenu/proPrintInputFile. (6/11/07) c. Redefined variable E from variant to integer in frmMainMenu. (6/11/07) d. Correct error check in land use biofilter that prevented a zero value for fraction of land use area being treated by biofilter. (7/23/07) e. Changed error trap message in frmBiofiltration/cmdSelectFile from "Grass Swales" to "Biofiltration". (8/13/07) f. Changed open file dialog box to standard windows common dialog form for Catchbasin form. (8/13/07) g. Added .filename property to place file name text into dialog box when dialog box is open for biofilter .cpz file. (8/13/07) h. Modified gDPOutfallHydrographOF to delete previous "OutfallPondDischargeHydrograph.csv" before it is reopened. (8/14/07) i. Changed error trap message in proOpenINIFile from "Load in frmMainMenu" to "proOpenINIFile". (8/14/07) j. Placed "Call" in front od procedure proCatchbasin in CalcMainModule proOutfall procedure. (9/14/07) k. Corrected stone weeper pond outlet device delete problem. (9/16/07) l. Made the obsolete 'Infiltration' control options invisible from the drainage system and outfall menu options in the Land Use main menu. (9/18/07) m. Updated WinDETPOND output option for wet detention ponds to WinDETPOND v 8.4.2. (9/18/07) n. Added 'Cancel' option when user is asked if he or she wants to close the program. (9/20/07) o. Corrected "File Already Open" error for biofilter stage outflow detailed output file. (9/24/07) p. Changed biofilter water balance rainfall duration heading title from (hours) to (days). (10/14/07) q. Corrected divide by zero error when calculating no control runoff coefficient on summary tab when runoff volume=0. (10/15/07) r. Corrected subscript out of range error in street dirt accumulation module. (10/23/07) s. Renamed BioFCalc module to CalcBiofilter module. (11/27/07) t. Changed 'Default Model Options' form name to 'Detailed Output Options'. (12/3/07) u. Correct last active rain number calc problem if last event started in year 1 but ended in year 2. (12/5/07) v. Added text entry feature to spread grids. (12/10/07) w. Corrected select case error in funLUNum (changed 50 to 150). (12/11/07) x. Added bad file name error trap to funIsolateFileName. (12/14/07) y. Added peak inflow variable to biofilter water balance detailed output table. (12/17/07) z. Changed biofilter "Orifice" outlet name to "Underdrain Outlet" (12/28/07) aa. Fixed detail output problem for short rain series if winter season option was checked. (1/12/08) ab. Added revision number to model version number in .dat file input data printout. (1/12/08) ac. Changed output summary tab label from "Approx. Biological Condition of Receiving Water" to "Approx. Urban Stream Classification (CWP Impervious Cover Model)". (1/23/08) ad. Added error check to address overflow error occuring due to a large number of events and pollutants being analyzed. (1/24/08) ae. Added error check to address opening frmDrainSys when it is already open. (1/24/08) af. Corrected "24:00" time type mismatch error in rain file editor. (1/26/08) ag. Corrected problem calculating pond volume below invert due to inappropriate variable initialization of mPondVolumeBelowInv in proMainWetPond. (2/5/08) ah. Changed street dirt saw tooth plot detailed output file name to: "Street Dirt Sawtooth Plot Data.csv" (2/7/08) ai. Added error check to remove any land use biofilters if all the source areas in a land use are removed. (2/13/08) aj. Changed "print" menu item in output data form to "Copy to File . . ." (2/13/08) ak. Added error check to prevent user from entering biofilter cistern outlet with other biofitler outlets except the broad crested weir. (2/16/08) al. Correct porous pavement calcs to maximum infiltration rate (cfs) rather than seepage rate (in/hr). This will slightly reduce the effectiveness of porous pavement. (2/16/08) am. Added control practice review to determine if control practices described in model are consistent with each other or are redundants. (3/8/08) an. Changed triangular hydrograph output to complex triangular output for output options 6 - 8. (3/8/08) ao. Added error check to prevent street delivery file from being distributed to all street delivery file categories if street delivery file is missing. (3/20/08) ap. Added information notice to let the user know that the .HYD file has been created. (3/20/08) aq. Added copy and paste buttons to biofilter and pond control. (3/20/08) ar. Renamed pond variables to add DP in front and fPeakToAverage into fPeakToAverage. (3/22/08) as. Added error check to make sure the .PLA file does not have duplicate entries. (3/26/08) at. Removed pond variable gStageIncVarOrConst(10) and replaced it with gMaxPondQin(10). (3/31/08) au. Renamed pond variable gQin() as mQin() to make it modular. (3/31/08) av. Replaced old detention pond hydrograph procedure with global procedure to correct minor calculation problems. (4/1/08)(really) aw. Changed detailed pond output file type from .txt to .csv. (4/1/08)(really, no foolin', again) ax. Corrected rainfall date range error in determining the number of years in a rainfall series for a statistical analysis of a rain file. (4/4/08) ay. Commented out street delivery option to Apply Street Delivery Files to adjust the after event load street dirt mass balance in .ini file - variable gStDelAsStDirtLoadReductionFactor. (4/4/08) az. Added progress bar for rainfall events. (4/5/08) ba. Changed swale density by land use values to reflect the most current standard land use files. (4/7/08) bc. Modified grass swale cost estimate routine to average depth, bottom width, and side slopes by a land use swale length weighted fraction. (4/16/08) bd. Added error check and clear variable procedure to prevent subscript out of range error when adding hydrodynamic device to a renamed file. (4/21/08) be. Corrected combined file problem with street cleaning control practice. (4/21/08) 2. Grass swale modifications to account for filtering. (5/20/07) 3. Move pond stage area table to the main wet detention pond form. (6/1/07) 4. Add hydrodynamic device in source areas with framework for Proprietary Devices that follow DNR Proprietary Device standard. (6/2/07) 5. Add option to control percent particulate reduction on the biofilter control and to apply the filtering properties of engineered soil to the biofilter. (7/3/07) 6. Add scour reduction ratio calculation to wet detention ponds that have dead storage depths less than three feet. (9/13/07) 7. Put data grid on biofilter form, change stage area information to develop vertical wall up to top of engineered soil, and add engineered soil flow rate restriction. (11/30/07) 8. Add code to update file version from v 9.2 to v 9.3. (1/15/08) 9. Porous pavement calculation modifications. (5/19/09) v 9.2.6 1. Force street cleaning to occur at the end of the winter season if there is a winter season. (5/19/09) v 9.2.5 8/28/07 1. Fixed freeway data text label error when printing input data file. (7/14/07) 2. Added catchbasin removal option to group .dat file modifications form. (7/27/07) 3. Modified prohibition of catchbasin cleaning and street cleaning to an advisory message. (7/28/07) 4. Correct land use biofilter problem with Fraction of Runoff from Selected Source Areas value was something other than 1. (7/30/07) 5. Misc. a. Added code to clear check marks in Main Menu/Land Use Menu when going to the batch processor. (8/1/07) b. Added divide by zero check if number of years =0 because only one day is run. c. Reactivated Outfall Hydrograph Output File switches. (8/5/07) d. Add error trap in funSwaleQ. (8/7/07) e. Redefine porous pavement global variable gTtlStorageVol to module level variable mTtlStorageVol. (8/12/07) f. Added error traps to biofilters to prevent void ratio of 1 or 0 if engineered soil or rock are used. (8/20/07) g. Added error traps for biofilter broad crested weir invert elevation. (8/28/07) 6. Added Vertical Stand Pipe and Broad Crested Weir Volumes to the event by event outflow file for biofilters. (8/19/07) v 9.2.4 6/16/07 1. Allow user to delete either catchbasin controls or street cleaning practice when upgrading file from v 9.1 to 9.2 that has both controls. v 9.2.3 5/31/07 1. Fix problem retaining variables when user creates single land use files in batch editor, combines them, and adds a control practice. Program retains control practice when creating new files, but shouldn't. 2. Added additional pond variables to proClearPondVariable list. v 9.2.2 5/19/07 1. Misc. a. Fixed catchbasin depth/bypass elevation device error message. b. Shifted annualized total, total area and years in model run text in Output Summary tab to separate them from the rest of the form. c. Added error check to group DAT file modifications window to make sure that all rainfall information is added before the files are processed. d. Moved gPPTtlNum=0 to the outside of the For loop to clear all porous pavement variables. Added porous pavement variable clearing procedure proClearPPVariable to Open menu command. e. Increased size of area field in Porous Pavement Control Device form. f. Changed High Efficiency Cleaner label to Vacuum Assisted Cleaner label. g. Added stone weeper detailed output variable to prevent missing file number error when using stone weepers. h. Change format of detailed output values. i. Corrected biofilter data entry problem that occurred with source area and land use biofilters. j. Added biofilter number label to biofilter water balance detailed output for land use biofilters. k. Changed criteria for Rv calculation on summary tab to calc a zero Rv value. l. Added error check to verify that user wants biofilter bottom area bigger than top area. m. Add error check to rainfall editor file save as dialog boxes. n. Add error check to .pla editor to prevent "Property is Read Only" error when creating a new .pla file. 2. Create routine to determine first and last event number if there is a winter season. Create proPrevEventRunoffTtl to validate gFirstRPEvent (First Runoff Producing Event) 3. Added error check to make sure either the 'Before or' or the 'After the File Name' button is selected in frGroupDATFileModifications2 form. 4. Added editor for site description text in frmGroupDATFileModifications. 5. Correct subscript out of range error when using batch processor .pla files with polutants. 6. Remove all commas in site description text included in DATSetRunOutput.csv file to prevent inaccurate output formating due to extra commas. Increase width of Site Description text column in frmDATSetOutput viewer. 7. Develop outfall treatment train order of 1) other control, 2) pond and 3) biofilter. 8. Add detention pond detailed output option. 9. Set flow values less than 0.0001 cfs that are due to rounding errors equal to zero. v 9.2.1 3/18/07 1. Corrected subscript out of range error for porous pavement cleaning when there is a winter season. 2. Corrected porous pavement cost calculation error due to use of gporpavarea variable. 3. Corrected bad file error when more than one porous pavement device was used and a detailed porous pavement output option was selected. 4. Created proResetVariablesAtStartOfRun subroutine. 5. Added gFromBatchProcessor = False statement to single file run routine to reset variable properly. 6. Misc. a. Fixed catchbasin depth/bypass elevation device error message. v 9.2.0 3/4/07 1. Added routing and storage component to porous pavement control. 2. Added biofilter variables to re-activate stochastic seepage option. 3. Added percent reduction analysis for runoff volume, particulate solids and pollutant mass to .dat file set run subroutine. 4. Added procedure to sort a rain file by month to assist in determining the average annual rainfall year. (03Jan06) 5. Added WINSLAMM.INI file (Default Model Options) to allow user to control creation of detailed output files. (05Jan06) 6. Changed average flow calculation procedure for pond at outfall to account for only the volume that flowed out of the pond until the flow rate was 1/10th the peak flow rate. (10Feb06) 7. Moved procedure proStCleanerProductivity to allow both the street source area parameter input form and the street cleaning form to access the procedure. This was done to make sure that street cleaning productivity variables are always updated, even if street texture is changed but the user doesn't access the street cleaning routine. (13Feb06) 8. Corrected biofilter cost calculation for pre-determined maintenance costs. The costs should have been based upon the biofilter width, not the depth. 9. Misc. a. Changed catchbasin .cpz file text box multiline property to true to allow it to wrap text. b. Changed Initial Freeway Loading label from lbs/curb-mile to lbs/mile on Freeway Source Area form. c. Changed 'Height of' to 'Height from' for broad crested weir invert height above datum when printing input data. d. Changed 'Calc Error' message that occured when Output Summary Source Area Total without Controls was larger than the Total before Drainage System value to 'N/C' (Not Comparable). This message would occur either due to rounding errors or because the delivery file was activated. (25Apr06) e. Corrected biofilter sharp-crested and broad-crested wier error check problems that didn't correctly test to make sure the weir was above the sum of the engineered soil and rock fill depths. Added 'This must be corrected for the model to work properly.' warning to error check. (6May06, 2Jan07) f. Converted the pond water balance detailed output file to a comma-separated value format. (11May06) g. Added biofilter cistern variable to proClearBFVariable procedure. (15May06) h. Corrected evaporation volume summary to account for evaporation only if water surface is above the rock fill surface. i. Changed biofilter orifice cancel variable from detention pond to biofilter. (29May06) j. Set 'Save As ...' .dat, .prr, .rsv, .ran, .ppd file name box to put current file name into the dialog box. (1Jun06) k. Program will now open source area data grid of the first land use that has an active source area on main menu form when existing file is opened. (1Jun06) l. Made the directory list box for the Standard Land Use Path File Selection window larger. (3Jun06) m. Set street cleaning check box to clear the individual dates and frequencies in the date and frequency table when the check box is checked. (5Jun06) n. Added file name label to .dat set (12Jun06) o. Corrected divide by zero error when calculating percent reduction at outfall for summary output tab. (14Jun06) p. Converted goto statements to other appropriate code. q. Added option to enter street width source area parameter; program still saves street source area width. (19Jun06) r. Corrected particulate residue delivery reduction dialog extension box name - was cost file, should have been .prr file (20Jun06) s. Added error check to allow only the 'None' option when selecting a street cleaning frequency. (1July06) t. Removed gosub return statement to correct error if runoff volume=0. (9Sep06) u. Corrected input file land use biofilter source area list input file and street source area printing problems. (9Sept06) v. Added DATFileStatusCheck subroutine to code where you enter a source area value. (20Sep06) w. Added cancel button to Freeway Source Area form. (3Dec06) x. Zeroed out biofilter previous storm hydrgraph characteristics if there was no runoff from previous storm to add to hydrograph. (7Dec06) y. Added error type 76 - path not found to proTestForParameterFiles error check. z. Added additional acknowledgements. aa. Removed infiltration device from program. (21Feb07) bb. Added error check if DATSetOutput.csv file has .dat files with different numbers of pollutants in output. (22Feb07) cc. Added warning to not perform street sweeping and catchbasin cleaning in the same model run. (23Feb07) dd. Removed 'Cancel' .dat file name label when Cancel button to save file name as is selected. (26Feb07) ee. Modified software license. (27Feb07) ff. Added annualized totals to summary tab output. (3Mar07) 10. Added stone weeper outlet option for wet detention ponds. (6Apr06) 11. Added biofilter evapotranspiration outlet option (15May06) and water balance by event statistical summary (19Oct06) Modified biofilter volume reduction calculation to 1-(hydraulic volume out/total inflow volume) because seepage volume out was sometimes greater than total inflow volume due to overlapping rainfall events (7Dec06). 12. Modified street dirt accumulation duration routine to force a static accumulation curve rather than changing the Y-intercept value (initial loading) with each event. (21May06) 13. Began code to modify a variable in a series of .dat files at a time. (4Jun06) 14. Corrected biofilter timestep printout error that did not reset time step if the time increment for an event had to be re-done because the time increment was too long. (5Jun06) 15. Changed maximum time increment for biofilter to 6 minutes from 15 minutes to reduce runoff volume errors for short duration storms. Increased number of biofilter stage increments from a max of 50 to either 50 or a maximum stage increment of 0.05 ft, to provide more accurate stage-discharge and volume calculations for deep biofilters. (9Jun06) 16. Modify street dirt accumulation ratios and street cleaning coefficients to reflect additional Wisconsin data as well as older data. Combined the TTSStreets procedure without controls with the TSS streets procedure without street sweeping. (14Jun06) 17. Modify output summary tab to only allow a 'no controls to current file comparison value' for particulate solids loading at the outfall and removed .csv output summary tab. (22 July 06) 18. Corrected flow-duration 1000 increment plot data set so that it includes the highest flow value. (6Aug06) 19. Added code to allow changes to the Street Dirt Washoff coefficient K, Availability Factor, and K Limits. (22Oct06) 20. Added high efficiency street sweeper option. (18Nov06) 21. Developed automatic version update code. (22Nov06) 22. Updated .RSV File Name: WI_SL06 Dec06 V92.rsv (31Dec06) 23. Updated .STD File Names: WI_Com Inst Indust Dec06 V92.std, WI_Res and Other Urban Dec06 V92.std (31Dec06) 24. Added error checks to prevent model run continuation for batch runs due to missing files using variable gEndExecution. (18Jan07) 25. Added group .DAT file modification code. (12Nov06) v 9.1.4 1/15/06 1. Zeroed out biofilter previous storm hydrgraph characteristics if there was no runoff from previous storm to add to hydrograph. Modified the hydraulic volume out (mHydVolOut) to include all hydraulic discharges, and recalculated the VolReductFrac as 1-(VolRedQuantity/InitRunVol). v 9.1.3 1/19/06 1. Corrected DAT set output format problem that shifted pollutant output columns one column to the right, causing the last pollutant analyzed to be dropped. (19Jan06) v 9.1.2 1/2/06 1. Re-defined EndDate and EndTime variables in rain editor to correctly read file values as strings even if they are not surrounded by quotes. 2. Added receiving water impacts due to stormwater runoff output. 3. Added rainfall energy calculation to rainfall file output option. 4. Added proDATFileStatusCheck for most recently used file names in File menu. 5. Added base case variables to calculate runoff and PS concentration and yields without controls on Summary Output tab. Added all parameter file names to summary output heading. Added Rv data to Summary Output Tab. 6. Changed .pla editor to reject any values that are less than 0.01 acres. Corrected freeway land use biofilter problem with multiple freeway land use source areas causing a subscript out of range error. Modified message box that reports detention pond overflows to only report overflow once per event. 7. Added flow duration curve calculations and plot for modeled file and no control file. Changed gJulDPStartTime variable name to gJEventStartTime and added gJEventEndTime (both Julian dates)(Did not add v 9.1.2-7 behind these variable change). 8. Added label on output summary tab to tell user that a pond has overflowed during the model run and to check the Outfall Event-by-Event output to determine which pond it is. 9. Misc: a. Removed setfocus command in frmCatchBas/cmdContinue/Click to prevent invalid parameter error. b. Added missing cost file error check. c. Added error check to make sure that if freeway grass swales were selected then grass swale data was also entered. d. Modified "Calc Error" rounding error criteria when printing output summary to 0.001 from 0.0001 for runoff and to 0.01 for particulate solids to account for model runs with few rains. e. Prohibited biofilters from being entered in isolated areas. f. Corrected zero-out variable name errors for gSedMass and gBF$ variables. g. Restructured source area input data printout code to remove Gosubs. h. Correct labels AT11 and AT12 in Particulate Solids Concentration parameter file editor. i. Minor changed to .dat file input data printing format. 10. Added pond area ratio modifier option for pond stage-area calculations. 11. Added Engineered Soil depth and void ratio variables to biofilter. Added biofilter graphic to input form to more clearly show where variables are entered. Re-named global variable gVoidRatio to gRockVoidRatio (did not label in code). Temporarily removed seepage rate stochastic option. 12. Added pond areas generating 100% runoff to isolated areas source area. 13. Added street cleaning frequency option. 14. Added freeway length and freeway initial load values to batch processor area ratio calculation, and modified Freeway Initial dirt load calculator (funInitFreewayDirtLoad) by adding a source area number index. Moved function to Procedures module. 15. Added biofilter geometry change options. 16. Street cleaning date error that caused model to skip first washoff event after last street cleaning. Modified Washoff or Street Cleaning.csv file to include more washoff detail, and removed Washoff Detail.csv file. 17. Additional progress bar modifications to proDATSetCalcs and proCalcRSubv. (2Jan06) v 9.1.1 9/25/05 1. Corrected bad file error that occured only for freeway land use biofiltration. Removed street source areas that were listed for the freeway land use biofiltration input and added paved lane and shoulder source areas to list. Allowed user to apply biofilter control directly to freeway source area. 2. Added error checks to: 1) Make sure cost file is selected if cost file checkbox is selected. 2) Make sure catchbasin control data are completely entered before user exits form. 3. Corrected problem with zero values in batch editor source area value listing. 4. Removed the option of allowing the user to change the file name in the Current File Data form. Added the underdrain label to the biofilter orifice outlet option. v 9.1.0 9/11/05 1. Project File Division modifications. 2. Control practice costs added. 3. Made Standard Land Use File Creator form (frmBatchEditingParms) wider. 4. Added divide by zero check in frmCalcTabs.proLoadSpread to prevent error if all land use or outfall level events are zero. 5. Corrected subscript out of range error for gPeakFlow and gAvgFlow variables if two ponds are used, the first one at the outfall and the second one in a source area. 6. Added output option for saving model output for input into CE-QUAL-RIV1. 7. Redimensioned biofilter input data print variables and included orifice as outlet option for printing. 8. Added catchbasin error check to make sure user enters critical particle size file for catchbasins. Added catchbasin error check to make sure that either number of CBs or CB Density is correctly zeroed out. Changed the gNumCBs variable to NumCBs to prevent a divide by zero error if the catchbasin density was used, because the gNumCBs variable would then be zeroed out. 9. Corrected error with biofilter orifice outlet that zeroed out all runoff from outlet. Modified biofilter orifice input form. 10. Added FreewayTSS.csv output check file for Freeway paved lane and shoulder areas. Added street delivery file for freeways. 11. Changed input data file format to make it more compatible with portrait printing. 12. Changed pollutant probability distribution, runoff coefficient, particulate solids concentration, and particulate residue reduction file names selectors in Current File data to a common dialog box. 13. Added message box to describe the source area number and rainfall event of a pond overflow event. Added code to zero out main menu area labels when the batch processor is activated. Modified progress bar code to prevent it from blanking out. v 9.0.1 8/3/05 1. Corrected problem with error check 9.0.0-18 so that user can enter freeway source area data for pervious area parameters. 2. See v 9.1.0-9 v 9.0.0 6/1/05 1. Added upflow filter control device to drainage system. 2. Added error check to prevent a user from saving a .dat file without having at least one source area. 3. Added orifice and stone filled bottom to biofilter. 4. Modified batch processor progress bar. 5. Removed different inter-event time step calc from biofilter routing to prevent minor inaccurate increase in biofilter volumes. All time steps from the beginning of one event to the beginning of the next are now the same, which will increase CPU time somewhat. (4 Apr 05) 6. Added biofilter water balance summary for one biofilter per model run. Moved .bfo and .sep open statements to biofilter calc code so they would be created only if there was a biofilter. Corrected .bfo output format problem. 7. Add .dat file batch processor to run sets of .dat files and summarize their output. 8. Add option to combine .dat files with different land uses and no controls. 9. Added option to globally change selected source area parameters. 10. Added street delivery files for each land use except the Freeway land use. 11. Added procedure proDATFileStatusCheck to check to make sure that a .dat file has required parameter files. 12. Created global datFileVariables(162) data type. 13. Added variable marker to force biofilter water balance output text headers to print and added drainage system number to force runoff to biofilter in drainage system if a biofilter in the drainage system is present. Corrected biofilter area error that used the top of filter area for all calculations rather that the incremental area for a given stage elevation. Corrected biofilter error that slightly changed the model run results if you ran the same file twice by re-initializing the variable mPrevStrmEstRunoffDur before each model run. Resolved divide by zero error if the initial runoff volume entering the biofilter =0. 14. Removed percent particulate solids concentration reduction information from the Summary Output page because it could provide misleading information about control practice performance and added Total Basin Area value to Summary Output page. 15. Corrected street cleaning and street accumulation errors that allowed discontinuities in the street dirt accumulation function to occur if annual winter loading data is used or were due to catchbasin/street cleaning interactions. Added code to allow the user to enter user defined street cleaner values. Corrected WashoffOrStreetCleaning.csv file to correctly print street cleaning date. 16. Added code to delete all grass swale information if the user deletes a grass swale by changing the grass swale drainage fraction to zero rather than by deleting the grass swale. 17. Add error check to prevent user from entering pond area values that decrease as stage increases. 18. Added error checks to make sure that user enters appropriate source area data. v 8.9.2 3/20/05 1. Matched .dat file format to batch file SLU file reading code and added other batch file modifications. 2. Added clear all and select all buttons to the pollutant selection button. 3. Added code to allow user to exit from the new .dat file setup by selecting Cancel when asked for the file description. 4. Added divide by zero error check to prevent zero runoff value in denominator of CBPerformance.csv file variable. 5. Added Close statement to close all opened files if there was an error when the program begins it's run. 6. Added additional error checks that occur right before a model run. 7. Added code to clear the catchbasin cleaning dates and frequency information if the user deleted the catchbasin control practice. 8. Added additional error checks and corrected enabling process for street cleaner productivity when entering street cleaning control device. 9. Added mg/L unit label on Particulate Solids Concentration parameter file editor. 10. Removed percent value from 'Depth of sediment in catchbasin sump at beginning of study period (ft)' variable in input file print subroutine. 11. Added progress bar to batch processor. v 8.9.1 2/12/05 1. Corrected freeway runoff calculation error that prevented freeway runoff volumes from being calculated. v 8.9.0 1/27/05 1. Add flow bypass option to catchbasin inlet. 2. Corrected catchbasin calculation error that occured if flow bypasses the system. The weighted total solids reduction should be multiplied by (1-bypass volume/inflow volume) rather than by (bypass volume/inflow volume). This error affects only very large flows that would bypass a drainage system and did not significantly change the catchbasin removal effectiveness. 3. Added modification to critical particle size function that sets critical particle size to 27190 micrometers if the upflow velocity is greater than 8650 ft/hr, which typically applies to catchbasin analysis with large flows through the system. Changed mPCGreaterThanCPSize(0)=0 to mPCGreaterThanCPSize(0)=100 to set the percent control for particle sizes less than 1 micron to 100 rather than 0; this will prevent inappropriately low performance values for unusual conditions such as large catchbasins and very small flows. 4. Corrected calculations that reduce or eliminate catchbasin effectiveness if street sweeping is also applied as a control device. 5. Corrected land use biofilter to properly account for applying the fraction of the land use variable. 6. Modified error check for the area served by the other control and infiltration devices after the drainage system and at the outfall to correct the error rather than only notify the user. 7. Closed out file number #69, "StageOutflowBF.csv", the Biofilter Stage-Outflow file, for all biofilter applications, not just for source area applications. Also added code so that column heading labels of the file will print out properly. 8. Added percent volume and percent particulate solids reduction values to output summary tab. 9. Modified pollutant percent source area contribution output spreadsheet so that it would print the last four rows of summary data of the last pollutant in the spreadsheet, which were missing before. v 8.8.0 11/9/04 1. Convert catchbasin cleaning algorithm to a settling pond algorithm, modified for catchbasins. 2. Changed gosub code to select case code. 3. Add option to print output summary to a comma separated value file. 4. Add error checking to Execute Model Run form. 5. Added swale wetted perimeter calculator algorithm. v 8.7.5 10/6/04 1. Changed Open Space land use designation to Other Urban land use. 2. Corrected problem that allowed particulate solids loading at drainage system to have a positive value even if the runoff through the drainage system was lowered to zero by infiltration in a biofilter or swale. 3. Corrected biofilter problem that prevented drainage area and outfall biofilter fraction of runoff from drainage system ratio and number of biofilters in drainage area or outfall from being implemented in the code. v 8.7.4 7/7/2004 1. Added pollutant parameter file editor, removed DOS Parameter module. 2. Added Powerpoint WinSLAMM Model User Guide presentation to distribution disk and Model Application Check List in help file. v 8.7.3 4/14/2004 1. Put error trap in planning file editor to bypass unexplained subscript out of range errors. 2. Added Stage-Outflow check file, StageOutflowDP.csv, to provide a table listing outflow from each device at each stage for detention ponds and added stage-outflow check file, StageOutflowBF.csv, to provide a table listing outflow from each device at each stage for biofilters. 3. Converted pond water balance summary output to .csv format. 4. Increased allowable size of standard land use file name to 100 characters. 5. Change default for land use biofilter Fraction of Runoff from Drainage System Routed to Drainage System Biofilters (0 - 1) from 0 to 1. 6. Add error checks to determine if a .csv file is open, to check that drainage system data is entered, and to check that the catchbasin and drainage area and outfall control area totals are not greater than the sum of the source areas. v 8.7.2 3/14/2004 1. Fix problem entering street cleaning dates. Corrected problem that prevented washoff during frequent street sweeping events. Changed maximum load duration from 30 days to 70 days to allow complete loading to occur when C accumulation coefficent = 0. Beginning with this version, Wisconsin users should use WI_STR04.std so that model output results are consistent with the data available from the USGS. v 8.7.1 2/26/2004 1. Added search and replace function to Planning File Editor Sub-Basin Land Use Type column so user can easily replace a standard land use file with the same standard land use file that also has control practices in it. Changed variable fDatabaseArray(Index).LandUseType in funLoadDatabaseArray to read both upper and lower case letters from Planning File to allow more detail in standard land use descriptions. v 8.7.0 12/28/2003 1. Added Water Withdrawl Rate outlet option to wet detention ponds. 2. Added MRU (Most Recently Used) list. 3. Added cumulative volume column to detention pond stage area form. 4. Set gHydQOut(0) (the initial hydraulic outflow from a detention pond for an event) value = 0 if it was less than zero due to evaporation and natural seepage. If it is less than zero, it typically is less than 0.0001 cfs less than zero. 5. Modified main menu to reflect removal of ability to save a file in version 8.2 format because that option is no longer available in WinSLAMM (the user should save a WinSLAMM .orp file for use in WinDETPOND, instead). Also simplified access to menu item to save WinSLAMM input data as a file. v 8.6.3 10/25/2003 1. Added check in porous pavement calculation to keep ratio of porous pavement area to total source area to less than or equal to one. 2. Increased mNumInc recalc value condition from 3500 to 35000 for the number of increments between rains to account for very long periods without rain. This change was made to both biofilters and wet detention ponds. Changed appropriate integer variables to long variables due to the change. 3. Added error check in street cleaning form and before model run execution to indicate that there is no street cleaning event occuring during the model run period. Added model start and ending date labels and Cancel Edits button on street cleaning form. 4. Remove proRecalcStDirtLoadings from proCalcMain to keep all sediments that should be removed by the delivery system permanently out of the drainage system. v 8.6.2 10/7/2003 1. Increased the number of allowable street cleanings from 2500 to 20000 to allow for longer model runs with daily street sweeping events. 2. Corrected form already open error when adding grass swales to a .dat file through the main menu. 3. Switched particulate solids yield and particulate solids concentration labels on CalcTabs output summary form so that the columns in the output summary file are correctly labeled. v 8.6.1 9/14/2003 1. Correct errors in Biofilter form that sometimes occured when deleting biofilters. 2. Remove unneccesary inflow calculations for time between rain biofilter calculation segment; effect is to slightly increase the volume of runoff from a biofilter. 3. Add divide by zero error check to address InitRunVol = 0 occurance when other conditional checks for the biofilter performance calculations are false. 4. Added error check when calculating outfall detention pond statistics to prevent divide by zero error when pond elevation does not get below one-tenth of the peak flow. Average duration was zero, which caused divide by zero error when determining average flow for outfall pond. 5. Moved 'default = -42' text on Monte Carlo Seed dialog box to another part of the box. 6. Added divide by zero error check by requiring that RunoffOrPartSolidsRunTotal>0 when calculating flow-weighted averages. 7. Correct summation error of particulate solids yield and filterable solids for the drainage system and outfall. v 8.6.0 8/13/2003 1. Add Particulate Solids Concentration parameter file editor. 2. Corrected error in street dirt accumulation maximum load equation with c value less than zero; set duration equal to derivative of accumulation equation. Modified maximum accumulation time for linear accumulation relationship to reflect 30 day limit rather than 50 day limit. 3. Added error checks to and removed clear button from grass swale form to make sure that, if grass swales are deleted, the drainage system data is also modified. Removed optional label on current file data status form. 4. Changed the extension for rain file text printouts to .txt from .tx1. Added .txt file extension options to both file viewers, and the *.* option to the notepad viewer. 5. Add Particulate Residue Reduction parameter file editor. 6. Updated street cleaning date and frequency editor with a spread data grid. 7. Added peak to average ratio to biofilters. 8. Added peak to average ratio to detention ponds. 9. Corrected error that allowed a biofilter seepage rate COV to be stored even if the biofilter stochastic option was not selected. 10. Corrected error in batch processor that required that the size of the variables created in a batch file from a standard land use file be equal to or greater than 0.01. The modification is to require the value to be greater than or equal to 0.0001. 11. Added delete outlet code for outlet types 9 and 10 for wet detention ponds. 12. Changed mNuminc, the number of time increments in a detention pond event and inter-event period, from integer to long to account for very long times between rainfalls when modelling a detention pond. 13. Changed Index variable name to Index1 to prevent duplicate use of index variable for land use biofilter input data print to file. v 8.5.1 4/6/2003 1. Moved asterisk that referenced losses in spread output form (output options 1-4) to CN column to reference note at the bottom of output regarding the use of curve number analysis. 2. Added end program algorithm to control box close program option. 3. Added file name label to frmFileViewer caption at top of form. 4. Add output summary tab to frmCalcTabs. 5. Moved the rainfall file date information below the rainfall file name information to reduce confusion about what information needs to be entered first - the rain file. 6. Corrected bug in CalcTabs procedure proCalcFlowWeightedAve that miscalculated concentration flow-weighted average for Outfall Summary column Total Before Drainage System value. Source area flow-weighted concentrations were calculated correctly. 7. Added close filenum statement or error 71 check in error checking when error is encountered upon loading an older .dat file version. 8. Removed new data entry sequence from File/New menu and from the Options menu because it seemed to provide more confusion than help to users. v 8.5.0 3/15/2003 1. Added option to exclude a winter season from the model calculations. Changes were made to the Current File Data form to enter the season start and stop dates, and to the Street Parameter form to establish an initial street dirt loading at the start of every season. 2. User is now unable to use both street sweeping and catchbasin cleaning for street sediments as control options because they trap the same size particles. Sediment from streets with street sweeping is now removed from the sediment that enters catchbasins because both devices capture the same size particles. Particulates from other areas are still being removed by catchbasins. 3. Changed default seed from 42 to -42. 4. Added a catchbasin cleaning frequency option and changed the data entry control for catchbasin cleaning dates to a spread grid. Added Cancel button to Catchbasin Cleaning form. 5. Corrected error that prevented street source area data from being erased when the selected street area was deleted by changing the street area to zero. 6. Updated Batch Processor with new file formats, silty soil type, and simplified path selection form. Modified all batch processor forms to make data entry and use easier. 7. Modified catchbasin capacity calculations to use 1 foot scour depth rather than 0.4 * TotalSumpVol. 8. Removed Total value for Catchbasin Volume Percent Full column and Flow-Weighted Min. Part. Size Controlled column. 9. Added progress bar for model calculation progress to cmdRenameAndExecute command button in frmExecuteProgram. 10. Modified appearance of Wet Detention form to clarify data entry. 11. Put a separation line on all Forms with menu items. v 8.4.7 11/26/2002 1. Changed warning message regarding using older .RSV files to read that using it will produce erroneous results. Also removed loop that prevented user from continuing to use the program if an obsolete file was selected. 2. Added rainfall file editor. v 8.4.6 9/23/2002 1. Added source area name label to biofiltration form. 2. Added option to main detention pond form to save a file with the detention pond data as a .PND file for use in WinDETPOND. 3. Replaced the grid control with msflexgrid control (MSFLXGRD.OCX) for the following forms: frmCatchBas, frmDetOtherOutlet, frmEvaporation, frmNaturalSeep, frmRunoffPara, frmStageArea, frmStClean, frmStDeliveryPara. 4. Modified proSaveFileAsVersion82 to correctly save data file. 5. Modified seepage basin output for detention pond design to exclude outflow from basin as hydraulic outflow and instead save it as infiltration outflow. 6. Modified Source Area Contribution tabs on output form to calculate flow weighted averages as source area totals divided by total before drainage system. 7. Added criteria to set the biofilter volume reduction fraction (VolReductFrac) equal to one for any event in which the water level in the biofilter does not meet or exceed the elevation of the lowest hydraulic outlet invert. This was necessary to eliminate rounding errors due to small drainage areas draining to large ponds during short large rain events. v 8.4.5 8/10/2002 1. Replaced grid control with msflexgrid control (MSFLXGRD.OCX) in the Source Area Data Grid (grdMainData) of the Main Screen (frmMainMenu) to update control and remove possible error in grid control for certain Windows 98 SE machines that cause the grid to read columns from right to left rather that left to right. Very annoying. 2. Placed error check to prevent user from entering a " (quote) in the site description in the Current File Data form. 3. Added error checking when user clicks on the Delete button without pressing the Continue key to register the outlet device for biofiltration and detention. 4. Moved gBF$ variable assignment in Biofilter to below error checks to prevent user from generating subscript out of range error by selecting biofilter, not entering any data, pressing continue and getting missing variable message, then selecting cancel (moving the variable assignment prevents the main data grid from showing a "B" without actually having any data in it). 5. Created a calculation form accessed from the run menu to make sure that the user saves the file before running the program. 6. Removed "create file name" from new file sequence, and required user to save file before running program. 7. Added streets to land use biofilter control and allowed use of source area 22 (Large Landscaped Area 2) in land use biofilter. 8. Corrected Freeway source area labelling problem that placed source area labels 1 - 10 on grid instead of source areas 151-160. 9. Corrected output spreadsheet problem where (proLoadSpread in frmSpreadTabs) min, max, and average rows used to determine values were shifted down 1 row too many. v 8.4.4 7/24/2002 1. Allow user the option of saving an outfall event-by-event runoff and particulate loading file to use in WinDETPOND to predict how quickly a sediment basin will fill with sediment. 2. Added critical particle size editor to program. 3. Corrected source area numbering problem that occured when user moved from standard land use grid to outfall or drainage system control and back to standard land use; gSANum was incorrectly calculated using a gLUNum of 7 or 8 rather than 1 to 6. 4. Required that user delete all controls for a source area before zeroing out the source area to prevent incorrect control device numbering. 5. Added error trap if user has a runoff coefficient file that does not include silty source areas. 6. Made use of a street delivery file mandatory. 7. Moved street delivery file from optional to required group in Current File Data Entry Status form. 8. Added biofilter not available for this source area message for those source areas the biofilter is not available in. 9. Added street delivery file name to Current File Data form when form is initially opened. 10. Allowed user to access other control and biofilter control for street source areas. 11. Corrected error in land use biofilter calculations to reset land use runoff volume for each event to zero. v 8.4.3 3/28/2002 1. Changed Bob's affilation from UAB to UA - Tuscaloosa. 2. Added average annual water temperature of 50 degrees F, and particle specific gravity variable with SG = 2.50, to more accurately calculate the settling velocity of the sediment. 3. Removed the look-up table procedure for predicting the upflow velocity of the particles. 4. The critical particle size is now a function of settling (or upflow) velocity, particle specific gravity, temperature, and Reynolds number. 5. Fixed pollutant output option that only allowed user to view all pollutant output for pollutant concentration and yield. 6. All four output options in the View menu item of the WinSLAMM Model Output now work for pollutant yields and concentrations. v 8.4.2 12/09/2001 - Distribution Disk created 1/28/2002 Corrected problem that prevented user from saving user defined accumulation coefficient values in street source area parameter file. Added error check to make sure the accumulation variable "C" is always a negative. Modified recalc procedure so that initial loading is recalculated every time a user modifies one of the accumulation variables. Renamed variable gPolYieldAtOutfall to gPolTtlSAYield to clarify what the variable does. Corrected problem in pollutant calculations that miscalculated dissolved pollutant concentrations in the drainage system and at the outfall. Theses reductions were calculated by applying particulate solids yield reductions between the source area particulate solids total and the drainage system (PCPolYieldRed161), or from drainage system particulate solids totals and outfall particulate solids totals (PCPolYieldRed162)to dissolved pollutants, which should not be done. Also correct total pollutant calculations at drainage system and outfall to correctly sum dissolved and particulate pollutants to get totals, and use this total to calculate corresponding concentrations. v 8.4.1 8/9/2001 Corrected detention pond number system when biofilter deleted and detention pond added by clearing gDPSANumMatch(PN).SANum and gDPNum variables when deleting biofilter. Set biofilter stage limit to <0.0001 and event hydraulic outflow=0 to set volume reduction fraction =1. Removed rock filled option from biofilter. Added warning to require broad crested wier in biofilter and add freeboard. v 8.4.0 5/27/2001 Corrected divide by zero error if inflow from last rainfall was zero (sub 23700). Placed Close #FileNum statements before opening text files to remove File Already Open errors. Added silty soil type in source area parameter form. Added silty soil row to Runoff Coefficient (.rsv) parameter file. v 8.3.0 4/24/2001 Changed sharp crested wier length variable name gWeirLength found in input form code and .dat file read and write code to gSCWeirLen to match wet detention pond calculation module variable name; Different variable names caused program to calculate negative outflow for sharp crested weirs. Modifed area of lblSADF1 in MainMenu form to provide more area for large .dat file name. Corrected inability of program to allow user to edit broad crested weirs and vertical stand pipes for a wet detention pond. Added pre-development runoff volume calculations using the SCS curve number methodology. v 8.2.0 4/1/2001 Set calculated CN values for runoff volume equal to zero if the Rv value for the event is 0.00. For runoff volume only, calculated summary statistics for all events rather than runoff producing events only. Set average losses equal to (1-average Rv)*average rain depth. All Rv, Loss, and CN values based upon average runoff volume and average rain depth, calculated for all rainfall events. Added code to clear all main data grid values when viewing Freeway source areas. Added biofiltration control option for source areas, land uses, the drainage system, and outfalls. Updated help file to provide context sensitive help. v 8.1.7 9/4/2000 Added code when saving data file to ensure that pond area served equaled total area at outfall if there is an outfall pond. Modified detention pond interface code to correctly delete a pond and to reset and renumber remaining ponds correctly. Changed outfall runoff calculation to reset any negative runoff outfall values to zero. Added total value to source area and outfall Total Losses column in spread output. Added event by event water balance output option for detention ponds. Output is activated with checkbox accessed through File/Output Options menu. The checked checkbox is not saved with input file data. ASCII output is in file \.PWB. Set gSANum = 0 prior to entering maincalc module to prevent incorrect detention pond calcs with source area and outfall detention pond combinations. Changed catcbasin cleaning to allow the user to use a catchbasin with no cleaning dates during the model run. v8.1.6 8/8/2000 Changed Outflow (cfs) to Outflow (in/hr) in detention pond natural seepage form. Added natural seepage and other outflow data to input printout. Added Flow-Weighted Critical Particle Size column values and summary statistics to Particulate Solids Concentration and Yield output tables. Modified street dirt initialization routine to account for occurence of no runoff from first event's rainfall. v8.1.5 7/29/2000 In proMainWetDet, changed gWeightedTtlSolRed162 from 100 to 1 to correct negative concentration value for zero discharge condition at outfall. Fixed problem that prevented user from editing a detention pond outlet structure during initial editing session. Added summary statistics (Count, Total, Equivalent Annual Total, Minimum, Maximum, Average of All Events, Median, Standard Deviation, and Coefficient of Variation) to output option 5 model output. v8.1.4 6/28/2000 Prevented program from saving *.SDP file (detention file) because version 8.1.0 integrated detention data found in the .SDP file into .DAT files. Changed output font from Bold to Regular. Corrected "Input past end of file" error in option 9 of rainfall section of parameter module. Corrected detention pond input errors that did not properly delete selected outlets or did not properly count changes to outlet numbers. Fixed detention calculation error that used first rain value and date in a rain file rather than user-selected starting rain date. Prevented negative runoff volumes calculated during long interevent periods with evaporation by limiting gDPVolRed162(a) (Detention Pond volume reduction factor due to evaporation and natural seepage) to values <= 1. Set gHydQOut(i) value = 0 if it was less than zero due to evaporation and natural seepage. Revised natural seepage calc to set total seepage to sum of incremental seepage rates times incremental seepage areas. Added Runoff Coefficient parameter file editing capability to model. v8.1.3 6/6/2000 Shifted configuration of batch processor output form to more easily read long file names. Moved Street Delivery File label on Output File Data Entry Status form to optional data section. Added Print To File option to Street Delivery File parameter module editor. v8.1.2 5/25/2000 Corrected error that excluded particulate solid values from total solids values. Corrected number of runoff producing event calculation so it includes only those events with runoff greater than zero for all runoff outfall totals. Revised runoff average values to be based upon runoff producing events only, and not all rainfall events. Removed number of rains row from all but the Runoff spread. Checked and corrected any inaccurate flow weighted, minimum, or maximum calculation summary values. Corrected minimum value format to match maximum value format in summary statistics. Corrected user-defined pollutant standard land use concentration total value calculation for Ammonia. Modified Curve Number calculator to determine outfall CN values using outfall runoff rather than total source area runoff. Set default CN value for zero runoff to equal 0.0. v8.1.1 4/16/2000 Modified Street Delivery calculations to interpolate between 1.0 and the first value on the table for all rains less than 0.04 inches (1 mm). v8.1.0 4/15/2000 Merged the WinSLAMM detention pond file (*.SDP) data into the WinSLAMM data file (*.DAT). Allowed the user to access either a street delivery reduction file, accessed through the Current File Data button, or the street washoff algorithm created in v8.0.20. Added a Street Delivery File parameter module editor in the Utilities/Parameter Module menu item. v8.0.21 3/13/2000 Corrected Ammonia concentration land use total value calculation. Modified parameter module MPARA66.EXE to show two significant figures for all pollutant values except fecal coliform bacteria. v8.0.20 2/20/2000 Modified street washoff algorithm to more accurately reflect street washoff data. Assumed street detention storage for very small rains (<1.0 mm) that varies as a function of street texture. Changed directly connected driveway and sidewalk Rsubv row to same row used by intermediate texture streets. Changed freeway Rsubv row to Rsubv row for directly connected impervious areas (Row 3) to more accurately reflect most current data. v8.0.19 Placed error check and warning to check if street sweeping dates are within model run rain date range; if not, a subscript out of range error will occur and the program will not run. v8.0.18 12/20/99 If grass swales are de-selected as an option for drainage control, all swale variables are now reset to zero and the grass swale drainage menu option will now be unchecked. Added batch processor calculations to Windows version, removed required access to DOS Calc module for batch file processing. Moved batch processing command to Run Menu. Increased the default size of the main window. v8.0.17 11/9/99 Fixed outfall Fecal Coliform error in unit calculations. Formatted Pollutant Total After Outfall Controls for Min and Max values to match flow weighted average format. Formated output to show, in general, four significant figures. Changed percent contribution spread formats from fractions to numbers reflecting percentages ( from 0 to 100.0) v8.0.16 9/17/99 - Fixed incorrect pollutant calculations for Sidewalks/Walks (row # 16 on SA tables). Added Run menu item and moved all commands related to running programs into it. Concentration of Particulate Phosphorus, Nitrates, and TKN values corrected by reducing conversion factor by 0.001. Set all particulate concentration values to zero if runoff volume was zero. Corrected metals concentration unit labels (should be ug/L). 6/3/99 Added parameter module file name identification error checking. v8.0.15 5/20/99 - Completed SWMM modifications so that model output options 6 through 8 will provide hydrograph and pollutant concentration data for each time increment in the model run. The ouput file names have the extension .HYD, and the first line of the output is the name of the file without the file extension .HYD. v8.0.14 5/3/99 - Fixed the subscript out of range error that occured when the last rain number was greater than the number of rains in an event, which occurs when the first rain number is not equal to one. Fixed the help compiler problem that limited the number of help items to no more than 30. V8.0.13 4/25/99 - Added dry pond scour warning message at 3.0 ft depth. Pond performance will be 0% removal if pond depth gets below 3.0 ft. except for natural seepage and evaporation. v8.0.12 4/21/99 - Corrected subscript out of range error that occured when model runs start after the first rain number in a file. v8.0.10 4/19/99 - All standard pollutants working, as are runoff, particulate, and pollutant percent source area contribution spreadsheets. Out options 6,7, and 8 are operational except with a detention pond at the outfall - pollutants and labels will not print under this condition. Printing options 2, 3, and 4 are not operable, and help screens are still not operable. Batch processor is operable, after limited testing, for printing options 6, 7, and 8. All flow -weighted averages should be correct. Catchbasin calculations may not be accurate - compare with DOS output. The user can now load earlier versions of .DAT files transparently and save files in the DOS version format using the SAVE AS command. However, some version 8.0 files may not load. To correct the file, in a DOS editor, add the text ",0" (without the parentheses) at the end of the fifth line after the "V8.0" line. Check your file to see if that corrects the problem. v8.0.6 3/24/99 - Interim test version, with single file batch file, multi-version load feature, SWMM hydrograph data added. v8.0.5 2/1999 - Added output options 6, 7, and 8 for hydrograph for testing. Still need to add pollutants. v8.0.4 11/24/99 - Added pollutants to output. Draft version - following components untested or incorrect: 1) Flow weighted averages for pollutants; 2) User defined pollutants. v 8.0.3 11/14/98 - Corrected overflow error in proCalculateFlWtAveForPartSolidsLUTotals, variable fConcRowTtls was incorrectely defined as integer, not single. v 8.0.3 7/13/98 - Added and performed limited testing of outfall controls to program. All outfall tests matched the DOS Calc module output, with minor discrepancies due to rounding. Flow-weighted average calculations not correct. Only two output options currently available - Option 1 and Option 5. Pollutants other than particulate solids not calculated.