Coursera Data Products - Reproducible Pitch Presentation

Jon Wilkey
September 14, 2016

Motivation

  • Volatile organic compounds (VOCs) are organic chemicals that evaporate at room temperature
  • VOCs from fossil fuel sources are contribute to ground level ozone, a regulated air pollutant in the United States
  • Some rural regions of the U.S. which otherwise wouldn't have air quality problems (in particular eastern Utah and western Colorado) have high ozone levels because of the production, processing, and transport of oil and natural gas.
  • The U.S. EPA has published methods of estimating the amount of VOCs emitted from these sources
  • It would be useful to build these calculations into R

Example VOC Source: Oil Tanker Loading

Truck Loading

Oil Tanker Loading VOC Estimates

  • U.S. EPA has published a compilation of emissions estimates in a document called AP-42.
  • The estimate for VOCs from oil tanker loading is (from AP-42 Chapter 5 Section 2):

\[ L_L = 12.46 \dfrac{SPM}{T} * (1 - r) \]

  • \( L_L \) = loading loss, pounds per 1000 gallons of liquid loaded
  • \( S \) = a saturation factor (for different types of loading and service setups)
  • \( P \) = true vapor pressure of liquid loaded, pounds per square inch
  • \( M \) = molecular weight of vapors, pound per pound-mole
  • \( T \) = temperature of bulk liquid loaded, degrees Rankine (i.e. degrees F + 460)
  • \( r \) = Fractional efficiency of emissions reductions/control equipment

Shiny App

  • The Shiny App deployed for this course project codes the equation presented in the previous slide, taking all of the inputs on the right side of the equation from the user.
  • The output of the app is the resulting value of \( L_L \) as a function of the different values of \( S \) for each type of loading and service setup described in AP-42.
  • Example (with default values from app):
# For submerged, clean tank (S = 0.5)
round((12.46 * 0.5 * 6.6 * 66 / (70 + 460)) * (1 - 0), 2)
[1] 5.12