A walled lagoon is split into a high basin that fills through a one-way sluice at high tide and a low basin that empties at low tide, with a turbine running between them. Change the tide, basin area, turbine size and sluice size to see the basin levels, the turbine head, the mean and peak power and how smooth the output is. A Blender-built lagoon with gates and a turbine dam, with numerical checks of the storage model built in.