A new model simulates the benefits of agrivoltaic farming, in which solar panels and crops share the same land.