Your system
Describe the surface that catches rain, your tank size, and daily water needs.
The SimTanka model
SimTanka is a mathematical model that uses real, past daily rainfall to explore how reliably a rainwater harvesting system may meet your water needs. It does not forecast rain; it replays the rain that has already fallen.
“Essentially, all models are wrong, but some are useful.”
George E. P. Box and Norman R. Draper, Empirical Model-Building and Response Surfaces (1987)
Open sourceThe SimTanka code is public on Codeberg.
VIEW ON CODEBERG ↗A simple model, day by day
Describe your rainwater harvesting system once. SimTanka then follows it through five years of recorded daily rainfall, asking on every day whether there was enough water to meet the demand.
Describe the surface that catches rain, your tank size, and daily water needs.
Five years of real daily rainfall: wet days, dry days, and everything between, from Visual Crossing.
Starting from an empty tank, each day’s rain is added and the day’s demand is drawn from it.
See the days water was available and the days the system ran out.
SimTanka and RainTank depend on the daily weather records provided by Visual Crossing. We are grateful for their continuing support, without which neither the model nor the app would be possible.
What the paper shows
A real rainwater harvesting system can never be described fully by a model with only four parameters. The paper tests whether SimTanka is nonetheless useful, with two examples: an orchard watered from a traditional tanka near Jaisalmer, and a garden in Bangalore.
The tank
The model finds the tank beyond which a larger one adds little. But the final call is yours: enter any tank size and see its reliability, so that you can weigh reliability against cost.
Later rain
Tanks sized on past rainfall were tested on the rain of 2021–2025, which the model had not seen. In every case they did at least as well as predicted.
The data
Two independent rainfall records, which differ a good deal at Bangalore, gave approximately the same tank size.
Water demand
RainTank does not ask you to guess one fixed daily demand. It builds a day-by-day estimate from the household uses and garden you describe, using local climate and seasonal conditions.
01 · Household
Select the household uses that the system will supply. RainTank begins with per-person estimates suited to the local climate.
02 · Garden
Add lawns, vegetable beds and plants. Their estimated irrigation needs change with temperature, sunlight and season.
03 · Daily profile
The two estimates are combined into a daily demand profile, so the model can test the system through seasonal change.
04 · Your judgement
The estimate is a starting point, not a measurement of your actual use. You can change it to reflect what you know about your building.
The underlying rates, plant areas and irrigation efficiency are transparent modelling assumptions. They make the estimate useful without pretending that every household or garden is the same.
Go deeper
The model is documented in technical notes and available as open-source code for anyone who wants to examine how it works.
Technical paper
The water-balance model, the reliability calculation and its assumptions, with two worked examples checked against later rainfall. Version 2, November 2026.
Read the paper (PDF) ↗Water demand
How RainTank estimates household and garden demand, and the assumptions that users can override.
Read the note (PDF) ↗Open source
Review the implementation, follow the algorithm, or contribute to the SimTanka model on Codeberg.
View on Codeberg ↗