Analysis of reverse osmosis variable-pressure wave-driven desalination systems.
To re-produce the plots and results from this project, simply run init.R
, then model.R
, then the other scripts in any order. For any code to run, you must the ~/src directory set as your working directory.
Data is stored in ~/data. This includes the raw data, stored in .csv
files, as well as multiple .Rdata
objects created throughout the project.
This folder contains memes produced throughout our project.
This folder contains all the plots that were produced.
This folder contains source code.
This script reads in the raw data from data/raw/ and cleans it, producing two dataframes: fullData.Rdata and data.Rdata. Data.Rdata has outliers removed. The primary dataframe used for our analysis is data.Rdata.
This file contains some exploratory data analysis as well as the adaptive lasso.
This file some EDA which computes summary statistics for each experiment as well as performs some bootstrapping for confidence intervals for the median.
This script produces cross-correlation plots between several of the variables (e.g. pressure and salinity).
This file contains some code which determines which additional outliers to remove from the data.
This script produces some t-shirt design plots.
This cript performs the adaptive lasso for each experiment.
This script is a combination of several other scripts which we provided to another team for our code review.
This script performs data de-trending and analysis using the Fourier Transform. It also does some exploratory principal component analysis.
More experimentation with the adaptive lasso.
In this script, we construct a linear model for permeate conductivity.
This file produces permeate conductivity boxplots.
This file does hypothesis testing and constructs confidence intervals for the difference in mean permeate conductivity between experiments.
The code in this folder compiles a documents containing all of our time-series plots for each experiment, found at plots/plots.pdf.
This script produces Fourier Transform plots of feed pressure for each experiment.
This script produces time-series plots for each variable for each experiment.