MATLAB/Rainwater tank simulation

Simple pump logic and poisson distributions of water consumption events are modeled in simulink to generate a usage probabliy equation of how much water savings a rainwater tank can provide.