h3. General Program Information

{float:left|border=2px solid black}
[!1.bmp|width=280px!|AutoCAD Flocculation Tank Program]
{float}
\\
\\

h5. Inputs Needed to Call the Flocculation Tank Program


h5. Inputs Defined Within the Flocculation Tank Program

* Plant{~}origin~ 
* x: 0m
* y: 0m
* x: 0m

* EN{~}PipeSpec~ = 4

* W{~}InletChannel~ = 0.245m

* H{~}InletChannel~ = 0.3m

* W{~}FlocChannel~ = W{~}Sed~/2

* L{~}Sed~ = 3.021m

* W{~}Sed~ = 1m

* H{~}Sed~ = 1.1m

* N{~}FlocChannels~ = 2

* T{~}PlantWall~ = 0.15m

* T{~}Mp~ = 0.15m

* N{~}SedTanks~ = 3

* Amp{~}FlocBaffle~ = 0.5in

* Per{~}FlocBaffle~ = 8.5

* N{~}Baffle~ = 1

* X{~}FlocBaffle~ = 4in

* T{~}FlocBaffle~ = 4mm

* AN{~}FlocBaffle~ = 90deg

* N{~}FlocBaffleCol~ = 1

* Y{~}FlocBaffle~ = 7cm

* W{~}FlocPort~ = 0.379m

* L{~}Floc~ = (LSed)*(N{~}FlocChannels~)

* H{~}Floc~ = H{~}Sed~

* totalfloc{~}dim~ = 
* x: L{~}Floc~/N{~}FlocChannels~
* y: (N{~}FlocChannels~*W{~}FlocChannel~) + ((N{~}FlocChannels~ - 1)*T{~}PlantWall~)
* z: H{~}Floc~

* wall{~}dim~ =
* x: totalfloc{~}dim0~ + (2T{~}PlantWall~)
* y: T{~}PlantWall~
* z: totalfloc{~}dim2~

* flocport{~}dim~ is composed of a for loop with the range 0 to (N{~}FlocChannels~ - 2). While in the for loop flocport{~}dim~ =

* x: W{~}FlocPort~
* y: T{~}PlantWall~
* z: H{~}FlocPort~

h3. Technical Program Outline

{float:left|border=2px solid black}
[!2.bmp|width=280px!|AutoCAD Flocculation Tank Program]
{float}
*layer1* \- creates a floctank layer

layer1 <-\- layer{~}new~("floctank",dkgrey)

*Tank1* <-\- creates a tank. See [Tank Help|AutoCAD Tank Program] for details  on the tank function.

Tank1 <-\- Tank(floc{~}origin~, totalfloc{~}dim~, T{~}PlantWall~)

floc{~}origin~ \-

totalfloc{~}dim~ \-

T{~}PlantWall~ \-

\\
\\
{float:left|border=2px solid black}
[!3.bmp|width=280px!|AutoCAD Flocculation Tank Program]
{float}
*box1* \- creates a box

box1 <-\- box(wall{~}origin~, )

\\
\\
{float:left|border=2px solid black}
[!4.bmp|width=280px!|AutoCAD Flocculation Tank Program]
{float}
*box2* \-

box2 <-\- box(flochole{~}origin~, )

\\
\\
{float:left|border=2px solid black}
[!5.bmp|width=280px!|AutoCAD Flocculation Tank Program]
{float}
*subtract0* \-

subtract0 <-\- subtractD( , )

\\
\\
{float:left|border=2px solid black}
[!6.bmp|width=280px!|AutoCAD Flocculation Tank Program]
{float}
*union1* \-

union1 <-\- unionC( , )

\\
\\
{float:left|border=2px solid black}
[!7.bmp|width=280px!|AutoCAD Flocculation Tank Program]
{float}
*box3*\-

box3 <-\- box( , )

\\
\\
{float:left|border=2px solid black}
[!8.bmp|width=280px!|AutoCAD Flocculation Tank Program]
{float}
*subtract1* \-

subtract1 <-\- subtractD( , )

\\
\\
{float:left|border=2px solid black}
[!9.bmp|width=280px!|AutoCAD Flocculation Tank Program]
{float}
*bigunion* \-

bigunion <-\- union{~}allA~

\\
\\
{float:left|border=2px solid black}
[!10.bmp|width=280px!|AutoCAD Flocculation Tank Program]
{float}
*layerset* \-

layerset <-\- layer{~}set("0")

*layerfreeze1* \-

layer{~}freeze~("floctank")

\\
\\