Skip to content

Commit

Permalink
Merge pull request #29 from jessicalundquist/main
Browse files Browse the repository at this point in the history
update to module 3 and labs
  • Loading branch information
jessicalundquist authored Mar 28, 2024
2 parents ae05eb5 + 77ddfea commit 2e64dda
Show file tree
Hide file tree
Showing 18 changed files with 582 additions and 475 deletions.
19 changes: 9 additions & 10 deletions modules/.ipynb_checkpoints/module3-checkpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ Download the lab and data files to your computer. Then, upload them to your Jupy

### Problem 1

On an overcast day with class C stability, the wind velocity at 10 m is 4 m/s. The emission rate of NO is 60 g/s from a stack having an effective height of 100 m. Assume rural conditions. (You will want to use the lab python notebooks to solve this problem.)
On an overcast day with class C stability, the wind velocity at 10 m is 5 m/s. The emission rate of an atmospheric pollutant is 65 g/s from a stack having an effective height of 100 m. Assume rural conditions. (You will want to use the lab python notebooks to solve this problem.)

* Estimate the center-line, ground-level concentration 18 km downwind from the stack, in micrograms per cubic meter.
* Estimate the ground-level concentration 18 km downwind and 800 m from the stack center line, in micrograms per cubic meter.
* Estimate the center-line, ground-level concentration 22 km downwind from the stack, in micrograms per cubic meter.
* Estimate the ground-level concentration 22 km downwind and 650 m from the stack center line, in micrograms per cubic meter.
* Calculate and plot the centerline ground level concentration versus distance from the stack (C(x)).
* From the plot, estimate the magnitude and location of the peak ground concentration.
* How would the location and magnitude of the peak ground concentration change if the stack height was 150 𝑚? (Plot on the same axes)
* How would the location and magnitude of the peak ground concentration change if the stack height was 120 𝑚? (Plot on the same axes)


### Problem 2
Expand All @@ -36,25 +36,24 @@ You are asked to assess the air quality in two cities A and B. The temperature p

* What is the mixing height (H) over each city?
* Based on the observed temperature profiles, estimate the stability class (A-F) for each city.
* Determine the vertically averaged velocity between z=0 and z=H. You are told that the wind speed 10 𝑚 above the surface is 𝑢=4 𝑚/𝑠. Note: the velocity profile follows the power law and the vertical average is given by:
* Determine the vertically averaged velocity between z=0 and z=H. You are told that the wind speed 10 𝑚 above the surface is 𝑢=5 𝑚/𝑠. Note: the velocity profile follows the power law and the vertical average is given by:


<img src="https://render.githubusercontent.com/render/math?math=U_{AVG} = \frac{1}{H}\int_0^H u(z)dz">
![Uavg_equation](data/Uavg_equation.png)

* What is the Dilution Rate (or ventilation coefficient) for each city?
* Which city is likely to have better air quality on this day?
* If both cities are 15 𝑘𝑚 across, what is the residence time over each?
* If both cities are 25 𝑘𝑚 across, what is the residence time over each?

![CityACityB](data/CityACityB.png)


### Problem 3

Consider an area-source box model for air pollution above a peninsula of land (see figure below). The length of the box is 20 km, its width is 90 km, and a radiation inversion restricts mixing to 20 m. Wind is blowing clean air into the long dimension of the box at 0.5 m/s. Between 4 and 6 pm there are 300,000 vehicles on the road, each being driven 45 km, and each emitting 4 g/km of CO.
Consider an area-source box model for air pollution above a peninsula of land (see figure below). The length of the box is 30 km, its width is 100 km, and a radiation inversion restricts mixing to 100 m. Wind is blowing clean air into the long dimension of the box at 0.7 m/s. Between 4 and 6 pm there are 300,000 vehicles on the road, each being driven 25 km, and each emitting 5 g/km of CO.

![BoxModel](data/BoxModel.png)

W = 90 km, L = 20 km, H=20 m, u = 0.5 m/s
W = 100 km, L = 30 km, H=100 m, u = 0.7 m/s

* Find the average rate of CO emissions during this two-hour period (g CO/s per m^2 of land).
* Estimate the concentration of CO at 6 pm if there was no CO in the air at 4 pm. Assume that CO is conservative (does not decay or change) and that there is instantaneous and complete mixing in the box.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added modules/data/Uavg_equation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
286 changes: 159 additions & 127 deletions modules/lab2/.ipynb_checkpoints/lab2-3-checkpoint.ipynb

Large diffs are not rendered by default.

289 changes: 159 additions & 130 deletions modules/lab2/lab2-3.ipynb

Large diffs are not rendered by default.

52 changes: 24 additions & 28 deletions modules/lab3/.ipynb_checkpoints/lab3-1-answer-checkpoint.ipynb

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions modules/lab3/.ipynb_checkpoints/lab3-1-checkpoint.ipynb

Large diffs are not rendered by default.

101 changes: 62 additions & 39 deletions modules/lab3/.ipynb_checkpoints/lab3-2-checkpoint.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions modules/lab3/.ipynb_checkpoints/lab3-3-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## lab 3-3: Stability classes"
"## Lab 3-3: Stability classes"
]
},
{
Expand Down Expand Up @@ -299,7 +299,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
59 changes: 31 additions & 28 deletions modules/lab3/lab3-1-answer.ipynb

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions modules/lab3/lab3-1.ipynb

Large diffs are not rendered by default.

101 changes: 62 additions & 39 deletions modules/lab3/lab3-2.ipynb

Large diffs are not rendered by default.

56 changes: 25 additions & 31 deletions modules/lab3/lab3-3.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/lab3/lab3-4.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
19 changes: 9 additions & 10 deletions modules/module3.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ Download the lab and data files to your computer. Then, upload them to your Jupy

### Problem 1

On an overcast day with class C stability, the wind velocity at 10 m is 4 m/s. The emission rate of NO is 60 g/s from a stack having an effective height of 100 m. Assume rural conditions. (You will want to use the lab python notebooks to solve this problem.)
On an overcast day with class C stability, the wind velocity at 10 m is 5 m/s. The emission rate of an atmospheric pollutant is 65 g/s from a stack having an effective height of 100 m. Assume rural conditions. (You will want to use the lab python notebooks to solve this problem.)

* Estimate the center-line, ground-level concentration 18 km downwind from the stack, in micrograms per cubic meter.
* Estimate the ground-level concentration 18 km downwind and 800 m from the stack center line, in micrograms per cubic meter.
* Estimate the center-line, ground-level concentration 22 km downwind from the stack, in micrograms per cubic meter.
* Estimate the ground-level concentration 22 km downwind and 650 m from the stack center line, in micrograms per cubic meter.
* Calculate and plot the centerline ground level concentration versus distance from the stack (C(x)).
* From the plot, estimate the magnitude and location of the peak ground concentration.
* How would the location and magnitude of the peak ground concentration change if the stack height was 150 𝑚? (Plot on the same axes)
* How would the location and magnitude of the peak ground concentration change if the stack height was 120 𝑚? (Plot on the same axes)


### Problem 2
Expand All @@ -36,25 +36,24 @@ You are asked to assess the air quality in two cities A and B. The temperature p

* What is the mixing height (H) over each city?
* Based on the observed temperature profiles, estimate the stability class (A-F) for each city.
* Determine the vertically averaged velocity between z=0 and z=H. You are told that the wind speed 10 𝑚 above the surface is 𝑢=4 𝑚/𝑠. Note: the velocity profile follows the power law and the vertical average is given by:
* Determine the vertically averaged velocity between z=0 and z=H. You are told that the wind speed 10 𝑚 above the surface is 𝑢=5 𝑚/𝑠. Note: the velocity profile follows the power law and the vertical average is given by:


<img src="https://render.githubusercontent.com/render/math?math=U_{AVG} = \frac{1}{H}\int_0^H u(z)dz">
![Uavg_equation](data/Uavg_equation.png)

* What is the Dilution Rate (or ventilation coefficient) for each city?
* Which city is likely to have better air quality on this day?
* If both cities are 15 𝑘𝑚 across, what is the residence time over each?
* If both cities are 25 𝑘𝑚 across, what is the residence time over each?

![CityACityB](data/CityACityB.png)


### Problem 3

Consider an area-source box model for air pollution above a peninsula of land (see figure below). The length of the box is 20 km, its width is 90 km, and a radiation inversion restricts mixing to 20 m. Wind is blowing clean air into the long dimension of the box at 0.5 m/s. Between 4 and 6 pm there are 300,000 vehicles on the road, each being driven 45 km, and each emitting 4 g/km of CO.
Consider an area-source box model for air pollution above a peninsula of land (see figure below). The length of the box is 30 km, its width is 100 km, and a radiation inversion restricts mixing to 100 m. Wind is blowing clean air into the long dimension of the box at 0.7 m/s. Between 4 and 6 pm there are 300,000 vehicles on the road, each being driven 25 km, and each emitting 5 g/km of CO.

![BoxModel](data/BoxModel.png)

W = 90 km, L = 20 km, H=20 m, u = 0.5 m/s
W = 100 km, L = 30 km, H=100 m, u = 0.7 m/s

* Find the average rate of CO emissions during this two-hour period (g CO/s per m^2 of land).
* Estimate the concentration of CO at 6 pm if there was no CO in the air at 4 pm. Assume that CO is conservative (does not decay or change) and that there is instantaneous and complete mixing in the box.
Expand Down
7 changes: 7 additions & 0 deletions overview/.ipynb_checkpoints/README-checkpoint.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
sort: 1
---

# Overview

{% include list.liquid all=true %}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ While it is possible to [run Jupyter Notebooks locally on your own computer](#),

### Getting started on our JupyterHub

1. Open a web browser and go to this URL: [https://rttl.axdd.s.uw.edu/2021-autumn-cee-465-a/](https://rttl.axdd.s.uw.edu/2021-autumn-cee-465-a) (bookmark the page for easier access).
1. Open a web browser and go to this URL: [https://jupyter.rttl.uw.edu/2024-spring-cee-348-a](https://jupyter.rttl.uw.edu/2024-spring-cee-348-a) (bookmark the page for easier access).

2. Click on *Sign in with University of Washingotn NetID*, enter your username and password:
![jupyter startup 1](images/jupyter-help/jupyter1.JPG)
Expand Down
2 changes: 1 addition & 1 deletion resources/b-learning-jupyter.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ While it is possible to [run Jupyter Notebooks locally on your own computer](#),

### Getting started on our JupyterHub

1. Open a web browser and go to this URL: [https://rttl.axdd.s.uw.edu/2021-autumn-cee-465-a/](https://rttl.axdd.s.uw.edu/2021-autumn-cee-465-a) (bookmark the page for easier access).
1. Open a web browser and go to this URL: [https://jupyter.rttl.uw.edu/2024-spring-cee-348-a](https://jupyter.rttl.uw.edu/2024-spring-cee-348-a) (bookmark the page for easier access).

2. Click on *Sign in with University of Washingotn NetID*, enter your username and password:
![jupyter startup 1](images/jupyter-help/jupyter1.JPG)
Expand Down

0 comments on commit 2e64dda

Please sign in to comment.