Monte Carlo analysis is a great way to explore the impact of input variable uncertainty on the results of engineering equations, and with vector variables and distribution and sampling functions at its core, R is a natural platform for this analysis.

During a recent rainy vacation, I built a Shiny app that applies Monte Carlo analysis to Manning's Equation for open channel flow.  You can play with the app here.  The slider bars define the upper and lower limits for input variables such as depth and Manning's roughness coefficient, and the Shiny app computes resulting discharge (flow) distributions on the fly displayed via histogram and boxplot.  The app uses uniform distributions for input variables, but the script could easily be modified to incorporate other distributions.
3
My Blog List
My Blog List
Subscribe
Subscribe
Blog Archive
About Me
About Me
I am an engineer working in water resources and the environmental field. On the side, I work with small businesses to help automate their data processing functions. I offer reasonable rates and am very efficient. Send me an e-mail at JYagecic@gmail.com
Loading
Copyright 2016. Dynamic Views theme. Powered by Blogger. Report Abuse.