  A mathematical model, suitable for smartphone implementation, is presented to
simulate the performance of a rainwater harvesting system equipped with a
covered storage tank. This model serves to determine the optimal tank size and
develop strategies to mitigate drought conditions.
