this looks very much like a Deep Sand Bed used to remove nitrate. one difference that i usually see is there is another partition after the foam and before the DSB. you don't want oxygenated water flowing through the sand or you won't get the anerobic bacterial growth needed to take out nitrate. the DSB needs to be 4 inches deep to work.
one other thought to keep in mind, if you are building this sump, don't forget about power outages. you need room in the sump for extra water when the power goes out and the display tank water drains down to the sump. otherwise the sump will overflow. this is easy to do by just lowering the height of the partitions between the DSB, the plants and the return pump. so that the normal operating height of water in the DSB, plant and return sections is half or so the total height.
good luck