16
Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Embed Size (px)

Citation preview

Page 1: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Monte Carlo analysis of the Copano Bay fecal coliform model

Prepared by,

Ernest To

Page 2: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Copano Bay model domain

Page 3: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Copano Bay schematic network

Page 4: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

The concept of Monte Carlo Analysis

To use uncertainties in the inputs and parameters to estimate uncertainties in the model output.

β α θ λ

Parameters

Inputs

Output

10% of population

< 43 cfu/100 ml

median of population

< 14 cfu/100 ml

EMCs

Flows, Q

Decay rate, Kd

Page 5: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

The goal of Monte Carlo Analysis

To match the variation in actual fecal coliform monitoring data

Cumulative Density Function (CDF) of Fecal Coliform Concentration (CFU/100mL) at Schemanode 75

Page 6: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

What is Monte Carlo? Monte-Carlo analysis uses random numbers in a

probability distribution to simulate random phenomena. For each uncertain variable (whether inputs or

parameters), possible values are defined with a probability distribution. Distribution types include:

http://www.brighton-webs.co.uk/distributions/images/pdf_beta.gif

http://www.decisioneering.com/monte-carlo-simulation.html

Beta

Page 7: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Variables of the Copano Bay Fecal Coliform model

Schema link for river

Schema link for watershed

Kd = decay rate

Tau = residence time in river

Kd = decay rate

Tau_w = residence time in watershed Ldownstream

Lupstream

Lwatershed

= EMCwatershed * Qwatershed

Ldownstream = Lupstream*exp(-Kd*Tau) + Lwatershed*exp(-Kd*Tau_w)

Inputs: EMCwatershed’ Qwatershed

Parameters:Kd, Tau, Tau_w

Page 8: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Flow (Q) Matched flow distributions at USGS gages using

lognormal distributions. Applied matched distribution (with adjustments) to other

schemanodes along the river.

Lognormal

Measured and simulated cumulative distributions for flow at USGS gage 08189700.

Page 9: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Event mean concentrations (EMCs)

Defined as total storm load (mass)/ divided by the total runoff volume.

According Handbook of Hydrology by Maidment et al., EMC for fecal coliform in combined sewer outfalls follows a lognormal distribution with a coefficient of variation of 1.5.(where coefficient of variation

= standard deviation/mean)

Lognormal

Page 10: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Decay rate (Kd) Decay rate is an experimentally derived property Difficult to determine the distribution of Kd Most likely within a finite range and has a

central tendency. Therefore assume beta distribution, with

parameters A=2 and B=2.

Beta

Page 11: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Program concept

Random number generators

New EMCs

New flow and decay rates

Process Schematic

SchemaNode

SchemaLink

Success

Abort

Results Table

Loop for N times (where N = integer specified by user)

Schematic Processor

Page 12: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Implementation

Wrote simple program that performs a similar function as Schematic Processor in Excel

Imported schemalink and schemanode tables into Excel

Programmed random number generators for Kd, Q and EMCs.

Programmed a simple “for” loop to execute function multiple times.

Created a simple user-interface

Page 13: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

On to the demo…..

Page 14: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Remaining tasks Complete calibration of model to Fecal Coliform

monitoring data. Perform kriging on bay fecal coliform data

(challenging because of fluctuation of data)

Page 15: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Acknowledgements

Dr. David Maidment

Carrie Gibson

Page 16: Monte Carlo analysis of the Copano Bay fecal coliform model Prepared by, Ernest To

Questions?