General Program Information
This program places a valve in every other channel of the floctank. Since drains must always be put in the first and last channels of the flocculator, in the event of an even number of channels, there will be two drains placed contiguously in the channels closest to the entrance tank. This code is the same for horizontal and vertical flocculators.
Technical Program Outline
1) A new layer, "flocdrainvalves," is created.
2) The valves are iteratively inserted as a block in each channel from the channel closest to the sedimentation tank to the channel closest to the entrance tank. The center of the valve is placed at grade.
3) The "flocdrainvalves" layer is frozen.