CENE 599 Sp16 Lecture 19 1
CENE 599 Sp16 Lecture 19 2
Aerated Pond Example Problem
Use the data below to design a partial mix aerated pond with three cells of equal volume.
Parameter Value
Design flow rate = 3,850 m3/day
Influent BOD5 = 310 mg/L
Effluent BOD5 = 30 mg/L
Reaction rate at 20 oC = 0.204 day-1
Influent temperature oC = 17 oC
Summer air temp. oC = Ta = 31 oC
Winter air temp. oC = Ta = 11 oC
Temperature correction coefficient = 1.03
a. Design for winter conditions.
b. Estimate the reaction rate k using Equation 3-5 and a temperature higher
than the winter air temperature, but lower than the influent water
temperature.
CENE 599 Sp16 Lecture 19 3
b. Estimate the reaction rate k using Equation 3-5 and a temperature higher
than the winter air temperature, but lower than the influent water
temperature.
Aerated Pond Design Example
Use T = 14oC as a first trial value.
CENE 599 Sp16 Lecture 19 4
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 5
c. Calculate the total detention time using Equation 3-7.
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 6
d. Calculate the volume of each reactor using the flow rate, number of cells,
and detention time.
Aerated Pond Design Example
e. Calculate the surface area of each cell using L:W=3, and a depth of 4.0 m.
For this problem, assume the ponds have vertical walls.
CENE 599 Sp16 Lecture 19 7
f. Check the pond temperature using the temperatures provided for this
problem, the surface area you just calculated, and Equation 3-6. If this
temperature is more than 10% different than your assumed temperature,
then use the calculated temperature from Equation 3-6 and start over
from Step b above.
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 8
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 9
g. Calculate the effluent from Cell 1 using the equation we derived on
Lecture 18 Page 2.
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 10
h. For the second cell, calculate the water temperature (Tw) and rate
constant k at that temperature, then calculate the BOD. The volume,
surface area, and HRT stay the same for all cells.
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 11
i. For the third cell, make the same calculations using the temperature of
the influent water from Cell 2.
Aerated Pond Design Example
j. The concentration is slightly higher than 30 mg/L because of the
decreasing k values as temperature decreased in the cells.
CENE 599 Sp16 Lecture 19 12
k. Prepare a summary table showing the volume, length, width, and depth
of your ponds and provide a sketch.
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 13
If you set this up as a spreadsheet it is easy to alter the HRT for the cells and
adjust the outflow concentration of the last cell to <= 30 mg/L.
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 14
If you set this up as a spreadsheet it is easy to alter the HRT for the cells and
adju ...
1. CENE 599 Sp16 Lecture 19 1
CENE 599 Sp16 Lecture 19 2
Aerated Pond Example Problem
Use the data below to design a partial mix aerated pond with
three cells of equal volume.
Parameter Value
Design flow rate = 3,850 m3/day
Influent BOD5 = 310 mg/L
Effluent BOD5 = 30 mg/L
Reaction rate at 20 oC = 0.204 day-1
Influent temperature oC = 17 oC
Summer air temp. oC = Ta = 31 oC
Winter air temp. oC = Ta = 11 oC
Temperature correction coefficient = 1.03
a. Design for winter conditions.
b. Estimate the reaction rate k using Equation 3-5 and a
temperature higher
than the winter air temperature, but lower than the influent
water
temperature.
CENE 599 Sp16 Lecture 19 3
2. b. Estimate the reaction rate k using Equation 3-5 and a
temperature higher
than the winter air temperature, but lower than the influent
water
temperature.
Aerated Pond Design Example
Use T = 14oC as a first trial value.
CENE 599 Sp16 Lecture 19 4
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 5
c. Calculate the total detention time using Equation 3-7.
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 6
d. Calculate the volume of each reactor using the flow rate,
number of cells,
and detention time.
Aerated Pond Design Example
e. Calculate the surface area of each cell using L:W=3, and a
depth of 4.0 m.
For this problem, assume the ponds have vertical walls.
3. CENE 599 Sp16 Lecture 19 7
f. Check the pond temperature using the temperatures provided
for this
problem, the surface area you just calculated, and Equation 3-6.
If this
temperature is more than 10% different than your assumed
temperature,
then use the calculated temperature from Equation 3-6 and start
over
from Step b above.
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 8
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 9
g. Calculate the effluent from Cell 1 using the equation we
derived on
Lecture 18 Page 2.
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 10
4. h. For the second cell, calculate the water temperature (Tw) and
rate
constant k at that temperature, then calculate the BOD. The
volume,
surface area, and HRT stay the same for all cells.
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 11
i. For the third cell, make the same calculations using the
temperature of
the influent water from Cell 2.
Aerated Pond Design Example
j. The concentration is slightly higher than 30 mg/L because of
the
decreasing k values as temperature decreased in the cells.
CENE 599 Sp16 Lecture 19 12
k. Prepare a summary table showing the volume, length, width,
and depth
of your ponds and provide a sketch.
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 13
5. If you set this up as a spreadsheet it is easy to alter the HRT for
the cells and
adjust the outflow concentration of the last cell to <= 30 mg/L.
Aerated Pond Design Example
CENE 599 Sp16 Lecture 19 14
If you set this up as a spreadsheet it is easy to alter the HRT for
the cells and
adjust the outflow concentration of the last cell to <= 30 mg/L.
Aerated Pond Design Example
EECS 1510 Object Oriented Programming
Project 6 – Inventory, Stock Management
130 Points Due in class Thursday April 14, 2016
Note: This project may NOT be done in pairs.
Consider a program to enter codes of one to eight characters
along with an
associated item number and associated notes. A code can
represent an item, package,
or product’s name.
By using such a program, we could enter product quantities and
additional notes
(i.e. storage considerations) before associating them with some
6. brief code (i.e. string),
which would indicate the product’s ID. We could then retrieve
a product’s information
by entering the product’s ID. This might be a useful application
for a small store’s
inventory and stock management.
Codes are entered as 1 to 8 characters.
Use "e" for enter, "f" for find, "l" for list, "q" for quit.
Command: e Soda
Enter quantity: 20
Enter notes:
Command: e Milk
Enter quantity: 10
Enter notes: Chilled storage
Command: e Chips
Enter quantity: 25
Enter notes: Easily crushed
Command: f Milk
-- Milk
-- 10
-- Chilled storage
Command: f Popcorn
** No entry with code Popcorn
Command: . . .
There is also an "l" command, which will list all entries on the
screen.
7. For the input to this program, upper and lower case letters are
considered
equivalent. For example, if a product name with the code
"Soda" is entered,
then the codes "SODA", "soda", and "SOda" will all retrieve the
same entry with
"Soda" associated.
The entries are to be stored in a file from run to run. When the
program begins,
the entries in the file are to be read into an array. The array
should allow for up to 200
entries. The inventory need not be kept in alphabetical order.
You may use a simple
sequential search to retrieve entries. When the program is
exited, the entries should be
stored back in a file for use when the program is run again.
Required Program Characteristics: The assignment is to write a
program that
incorporates the above features. The entries in the phonebook
are to be represented
with a simple class:
class Entry {
public:
string name, number, notes;
};
Use an array to store the entries. The array should allow for up
to 200 entries.
Entry entryList[200];
Use a function to read the entries into the program from a file,
8. and a function to store
the entries back into the file when the program is exited.
void readInventory ()
void storeInventory ()
Also, use a function to list all contacts:
void listAllEntries()
Final Submission:
• In the printouts of the sample runs, each of the commands "e",
"f", "l" and "q"
should be illustrated.
• You must also show that the external file is updated with
entries added from a
previous run.
Note: You may wish to use
string strToUpper (string S) {
for (size_t i=0; i < S.length(); i++)
S[i] = toupper(S[i]);
return S;
}
Writing to a File
void storeInventory () {
fstream F("PhoneData.txt");
rec_num = 0;
while (rec_num < num_entries){
F << inventoryList[rec_num].name << " "
<< inventoryList[rec_num].quantity << " "
<< inventoryList[rec_num].notes << " " << endl;
rec_num++;
}
cout << "Inventory stored." << endl;
9. return;
}
CENE 599 Rural Water Wastewater
Spring 2016
Homework #7
Page 1 of 2
Assigned: Wednesday 6 April
Due: Wednesday 13 April in class
Problem 1. Aerated Septic System Design. Use information
from the Lecture 18 notes and the EPA
manual that is cited in the notes to make some calculations on
the aerated septic system that we
studied in Lecture 17. Assume that the flow through the system
is 500 gallons per day and the volume of
the reactor is 500 gallons. Assume that the influent BOD is 200
mg/L and the effluent BOD is 30 mg/L.
Also assume that the operating temperature is 22oC. Select the
first order decay constant from the
lecture notes.
a. Calculate the power [watts] necessary for diffused aeration to
provide enough oxygen to treat
the wastewater.
b. For the k value you used, combined with the design data
above, calculate the predicted outflow
BOD [mg/L]. Is it greater or less than the desired outflow value
10. of 30 mg/L?
Problem 2. Aerobic Pond Design. Use the data below to design
a partial mix aerated pond with two
cells of equal volume. You can use Example 3-5 in the EPA
Manual as a guide, but note that there are
some mistakes in the calculations. The easiest way to solve this
is using a spreadsheet. If you do, for full
credit in grading, include example calculations so I can see how
you made your calculations. I suggest
these steps:
a. Design for winter conditions.
b. Estimate the reaction rate k value using Equation 3-5 and a
temperature higher than the winter
air temperature, but lower than the influent temperature.
c. Calculate the total detention time using Equation 3-7.
d. Calculate the volume of each reactor using the flow rate,
number of cells, and detention time.
e. Calculate the surface area of each cell using L:W = 3, and a
depth of 4.0 m. For this problem,
assume the ponds have vertical walls.
f. Check the pond temperature using the temperatures provided
below, the surface area you just
calculated, and Equation 3-6. If this temperature is more than
10% different than your assumed
temperature, then use the calculated temperature in Part b above
and work your way back
down to this point.
g. Calculate the effluent concentration from Cell 1 using the
equation we derived on Lecture 18
Page 2 (see “markup” notes in BBLearn).
11. h. For the second cell, calculate the water temperature (Tw) and
rate constant k at that
temperature, then calculate the BOD. The volume, surface area,
and HRT stay the same for all
cells.
i. For the third cell, make the same calculations using the
temperature of the influent water from
Cell 2.
j. The concentration is slightly higher than 30 mg/L because of
the decreasing k values as
temperature decreased in the cells.
CENE 599 Rural Water Wastewater
Spring 2016
Homework #7
Page 2 of 2
k. Prepare a summary table showing the volume, length, width,
and depth of your ponds, and
provide a sketch.
Data for Problems 2 and 3:
Design flow rate = 1,200 m3/day
Influent BOD5 = 250 mg/L
Effluent BOD5 = 30 mg/L
Reaction rate at 20 oC = 0.242 day-1
Influent temperature oC = 12 oC
Summer air temp. oC = Ta = 27 oC
12. Winter air temp. oC = Ta = 9 oC
Temperature correction coefficient = 1.09
Problem 3 (graduate students). Continue with the design of the
two-cell system:
a. Calculate the organic loading to each of the two cells [kg
BOD/day].
b. Calculate the oxygen demand [kg O2/day] for each of the two
cells using the data from Lecture
18, Page 11.
c. Calculate the power requirements [kW] for diffused aeration
equipment using the data from
Lecture 18, Page 11.