General Program Information
Unable to render embedded object: File (Floc Wall with Ports.PNG) not found.
Floc Wall with Ports
Technical Program Outline
local - Layernew creates a new light purple layer, "baffle"
local <- layernew("baffle", ltpurple)
for loop - this loop counts the number of baffles per channel
x(j) - returns the number of channels in column j
for loop - this loop determines the origin point of each baffle in column j and the length of each baffle
baffleorigin i =
- x: PlantOrigin0 - LSed + XFlocBaffles i,j
- y: YFlocBaffles 0,j
- z: PlantOrigin2 + ZFlocBaffles i,j
bafflelength i = LFlocBaffles i,j (Defined in Flocculator 3)
if/otherwise statement - this statement determines the type of lamina that will be used to draw the baffles
local <- stack(local(lamina(baffleorigin i, AmpFlocBaffle, WFlocBaffle, bafflelength i, TFlocBaffle, PerFlocBaffle,ANFlocBaffle, NBaffle, NFlocBaffleCol, XFlocBaffle, YFlocBaffle)) if Bafflecomplex = 1
local <- stack(local(laminaplain1(baffleorigin i, WFlocBaffle, bafflelength i, TFlocBaffle, ANFlocBaffle, NBaffle, NFlocBaffleCol, XFlocBaffle)) if Bafflecomplex = 1 otherwise