Pre and Post Processors - PowerPoint PPT Presentation

1 / 1
About This Presentation
Title:

Pre and Post Processors

Description:

col4-13 - forest, hitil, lotil, pasture, pervious urban, hay, mixed open, ... pasture, pervious urban, hay, mixed open, impervious urban, manure. col13-21 ... – PowerPoint PPT presentation

Number of Views:146
Avg rating:3.0/5.0
Slides: 2
Provided by: GSH3
Category:

less

Transcript and Presenter's Notes

Title: Pre and Post Processors


1
Pre and Post Processors
Model Operations Manual
Pre Pre Processor
Calibration UCIs and WDMs
Scenario UCIs and WDMs
Data Files
3 RUN PREPROCESSORS All preprocessor script
files are found in the directory
/new4/dpi/phase4a/pp/bin/ Steps for
all scenarios type
pre1_make_scenario_binary.com scen ( run
time - several minutes ) reads in all
information that defines a watershed model
scenario and stores it in binary
format. type pre2_calc_nutrient_m
anagement.com scen ( run time - 10 seconds
) calculates nutrient management
reductions in fertilizer and manure.
type pre3_change_uci_files.com scen
creates new uci files in the new scenario
directory using the calibration UCI
files and the information in the scenario binary
and derived application binary files
that were produced during the last two steps.
type pre4_change_wdms.co
m scen changes point sources in
WDMs type pre5_atdep_wdm_modific
ation.com scen changes the atmospheric
deposition in the wdms 4 RUN THE FIRST SCENARIO
RUN in /work/dpi/phase4a/scripts/ type
run1.com scen Total run time approx
12 hours. check for completeness
type check.com scen This will
only take a few seconds, and you
should get no run-time messages. If any are
written, you have missing echo files
meaning the run was not successful after running
the check.com program, cd to
/new4/dpi/phase4a/scripts/check_echo/
and read the file all_echs.scen Check this file
carefully, every second line must read
'End of Job' If this is not the case, you have
an error. Also check that all the
dates and times in the file are during the
time that you performed the first run. If
some are earlier times, those UCI files
did not run this time. 5 RUN THE FIRST TWO
POSTPROCESSORS All postprocessor script
files are found in the directory
/work/wsm/pp/bin/ Steps for all scenarios
type post1_edge_of_stream_loads.com
scen reads all of the pltgens and
writes EOS tables. type
post2_bed_fix.com alters the uci
files according to the bed sediment reduction
factors 6 RUN THE SECOND SCENARIO RUN type
run2.com scen ( run time about 8
hours ) the only difference between
run1 and run2 is that bfl is not rerun
since there is no bed sediment to change.
check the echo files by typing gt check.com scen
This will create the file all_echs.scen in
the ./scripts/check_echo/ directory
review this file as in step 4 7 RUN THE
LAST THREE POSTPROCESSORS All postprocessor
script files are found in the directory
/work/wsm/pp/bin/ the source code is in
/work/wsm/pp/postsrc/ Steps for all
scenarios type
post3_make_new_load_files.com scen
Takes the hourly pltgens for flow and
concentration and converts them to
daily load pltgens that are read by the CBEMP
preprocessor and postprocessor 4 ( run
time - 90 minutes ) type
post4_delivered_loads.com scen Reads
the output of post1 and post3 to detemine the
delivery factors. ( run time - a few
minutes ) type
post5_final_delivered_loads.com scen
Combines all of the previous information and
writes the tables in the
/new4/dpi/phase4a/pp/tables/scen/ directory.
( run time - 30 seconds )
  • By State seg
  • Land use
  • BMP factors
  • Manure
  • Fertilizer
  • Atmospheric deposition
  • Base mineralization
  • Atmospheric deposition factors
  • Point sources
  • Septic
  • Nutrient management acres

Data Files
Pre-Processors
Pre-Pre-Processor
SCENARIO OPERATIONS The following instructions
will detail the necessary steps in performing a
model run. Wherever the word 'scen' appears in
the text, it means that you should substitute
the name of the scenario that you are running.
For consistency, each scenario name should be
short and begin with an 's' followed by a 2 digit
number. The reference scenario is 's01ref',
the 1998 progress is 's04pr98'. 1 MAKE
DIRECTORY STRUCTURE Go to /new4/dpi/phase4a/pp
/setup/ type z1_make_scenario_subdir.com
scen This creates all the directories 2
MAKE DATA FILES All data files are comma
delimited, and with few exceptions, must contain
values for all statesegs and not repeat any
statesegs. Any lines that begin with 999 or
9999 are treated as comment lines and are not
read. All files should be stored in
/work/wsm/pp/data/scen/ Examples of all of
these files are in /work/wsm/pp/data/calib/
The required data files are as follows
atm_scen_wm.csv and atm_scen_cd.csv - files to
express the change in atmospherically
deposited nitrate during the warm and cold
seasons respectively. col1 - segment
col2 - fraction wet relative to baseline
col3 - fraction dry relative to baseline
land_use_scen.csv - land use by stateseg in
acres. col1-3 - stateseg, state, seg
col4-13 - forest, hitil, lotil, pasture,
pervious urban, hay, mixed open,
impervious urban, manure, water, total -
optional manure_scen.csv - manure
applications in lb/ac by stateseg, land use,
constituent, and month. col1 -
stateseg col2 - year (not read)
col3 - land use 'hitil', 'lotil', 'hay',
'pasture' must be exact col4 -
constituent 'nh3', 'no3', 'orgn', 'po4', 'orgp'
must be exact col5 - 16 monthly lb/ac
load of manure applied ( values
are from cbp manure pre-processor access database
) masslinks_scen.csv - BMP factors by
stateseg, land use, and constituent
col1-3 - stateseg, state, seg col4-12 -
Nitrogen pass-through efficiencies for forest,
hitil, lotil, pasture,
pervious urban, hay, mixed open, impervious
urban, manure. col13-21 - Phosphorus . .
. col22-30 - Sediment . . .
n_nut_man_acres_scen.csv - acres in nitrogen
nutrient management by stateseg and land
use -- same format as the land use file
col1-3 - stateseg, state, seg col4-13 -
forest, hitil, lotil, pasture, pervious urban,
hay, mixed open, impervious
urban, manure, water p_nut_man_acres_scen.c
sv - acres in phosphorus nutrient management
by stateseg and land use -- same format as the
land use file col1-3 - stateseg, state,
seg col4-13 - forest, hitil, lotil,
pasture, pervious urban, hay, mixed open,
impervious urban, manure, water
pointsource_scen.csv - point sources for this
scenario by state, seg, cell, month, and
constituent Some statesegs will not be
included in this file and repeated statesegs will
be summed. This allows for the loading
file for the water quality cells to be used
for watershed model input as well. col1
- state ( 2 letter abrv. ) col2 -
segment col3 - cell (not read)
col4 - month ( 1-12 ) col5-6 - BOD and DO
( not read ) col7 - flow (mgd)
col8-12 nutrient loads in lb/day - nh3, no3,
orgn, po4, orgp septic_scen.csv - septic
loads of nitrate to the edge of stream in lb/day
col1 - stateseg col2 - nitrate
lb/day
Pre-Pre-Processor
HSPF
Binary Data File
Scenario Output
Post-Processor
Binary Data File
Final Tables
By State segLand useBMP factorsManureFertilizerAtm
ospheric depositionBasemineralizationAtmospheric
deposition factors Point sourcesSepticNutrient
management acres
Post Processor
Pre Processor
Pre-Processor
Binary Data File
External 1. Calculate nutrient management 2.
Calculate urban fertilizer applications Internal 3
. Change wdm pointer 4. Manure 5. Fertilizer 6.
Land use 7. Mass links 8. Change Network for
BMPs 9. Impervious urban daily accumulation 10.
Septic
Scenario Output
Post-Processor
Final Tables
Post-Processor
Using 1300 files (0.4 billion pieces of data) 1.
Calculate annual average edge of stream loads 2.
Calculate loads delivered to the end of each
segment Integrate with input data 1. Determine
output as a function of input 2. Determine
delivery factors 2. Allocate loads Organize into
tables
Scenario UCIs and WDMs
Calibration UCIs and WDMs
Pre-Processor
Binary Data File
11. Change wdm for point source and
atmospheric deposition
Write a Comment
User Comments (0)
About PowerShow.com