Sedimentation Tank Pipe Lengths
inletweirpipelength = HSed - HInletChannel + HWInletChannel - ElbowRadius(NDPltWeir) - ConRadius(NDPltWeir)
exitweirpipelength = HSed - HExitChannel + HPltWeir - ElbowRadius(NDPltWeir) - ConRadius(ND{~}PltWeir)
sedtankpipe1length = HSed - HChannel InletChannel - (WSed/2 * tantank(ANSedBottom) + ElbowRadius(NDSedPipeEntrance))-ElbowRadius(NDSedPipeEntrance)
sedtankpipe5length = [((5*L5LSed/8 - WChannelInletChannel/2)2 + (outerradius(ND{~}SedLaunder~SedLaunder) + 3*(W{~}Sed~Sed/2 - outerradius(ND{~}SedLaunder~SedLaunder))/4)2])1/2 - 2*ElbowRadius2ElbowRadius(NDSedPipeEntranceSedPipeEntrance~)
sedtankpipe6length = [((LSed/8 - WChannelInletChannel/2)2 + (outerradius(ND{~}SedLaunder~SedLaunder) + 1*(W{~}Sed~Sed/2 - outerradius(ND{~}SedLaunder~SedLaunder))/4)2])1/2 - 2*ElbowRadius2ElbowRadius(NDSedPipeEntrance)
sedtankpipe7length = [((3*L3LSed/8 - WChannelInletChannel/2)2 + (outerradius(ND{~}SedLaunder~SedLaunder) - 1*(W{~}Sed~Sed/2 - outerradius(ND{~}SedLaunder~SedLaunder))/4)2])1/2 - 2*ElbowRadius2ElbowRadius(NDSedPipeEntrance)
sedtankpipe8length = [((7*L7LSed/8 - WChannelInletChannel/2)2 + (outerradius(ND{~}SedLaunder~SedLaunder) - 3*(W{~}Sed~Sed/2 - outerradius(ND{~}SedLaunder~SedLaunder))/4)2])1/2 - 2*ElbowRadius2ElbowRadius(NDSedPipeEntrance)
sedtankpipe9length = WSed/2 * tan(ANSedBottom) - ElbowRadius(NDSedPipeEntrance) - SSedInlet + ElbowRadius(NDSedPipeEntrance~SedPipeEntrance)
sedtankpipe13length = HWSed - HSedAbove/2 - 2*ElbowRadius2ElbowRadius(NDSedLaunder) - (HSed - HChannel InletChannel - TMp)
sedtankpipe14length = WChannel InletChannel + TChannelWall
manifoldlength =
- if layout 1: layout1 = LSed - WChannel InletChannel - TChannelWall + 2*ElbowRadius - 2ElbowRadius(NDSedLaunder)
- if layout 2: layout2 = LSed - WChannel InletChannel - TChannelWall - WEChannelExitChannel
- if layout 3: layout3 = LSed - WChannel InletChannel - TChannelWall - WEChannelExitChannel
- if layout 4: layout4 = LSed - WChannelInlet InletChannel - TChannelWall - WEChannelExitChannel
wastelength = LSed
sedtankinletpipelength = HSed - HInletChannel - outerdiameter(NDSedSludge)-HSlopeRectangle