Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

When sedlayout = 1, channelorigin is 3*1 matrix with x,y,z points corresponding to where the channel will be drawn. Channelorigin is called from the Channel Program.

Note: p1 and p2 are dummy variable used only in the program help section to designate the matrix below.

p1 =

  • x: sedtankinletpipe2origin0 + outerradius(NDSedPipeEntrance)
  • y: sedtankinletpipe2origin1 + outerradius(NDSedPipeEntrance)
  • z: sedtankpipe1origin2

...

  • x: sedtankinletpipe1origin0 - outerradius(NDSedPipeEntrance)
  • y: sedtankinlepipe1origin1 - outerradius(NDSedPipeEntrance)
  • z: sedtankpipe4origin2)

layerset - Layerset selects the layer "0".

layerset <- layerset("0")

layerfreezec - Layerfreeze locks the layer "channel" so that it cannot be edited.

layerfreezec <- layerfreeze("channel")

layerthawis - Layerthaw unlocks the layer "inletslopes" so that it can be edited.

layerthawis <- layerthaw("inletslopes")

subtractis - SubtractH subtracts one object from the other based on three points.

subtractis <-subtractH(PlantOrigin,p1,p2)

PlantOrigin =

Note: p1 and p2 are dummy variable used only in the program help section to designate the matrix below.

p1 =

  • x: sedtankinletpipe2origin0 + outerradius(NDSedPipeEntrance)
  • y: sedtankinletpipe2origin1 + outerradius(NDSedPipeEntrance)
  • z: sedtankpipe1origin2

...

  • x: sedtankinletpipe1origin0 - outerradius(NDSedPipeEntrance)
  • y:sedtankinletpipe1origin1 - outerradius(NDSedPipeEntrance)
  • z: sedtankpipe4origin2

layerfreezeis - Layerfreeze locks the layer "inletslopes" so that it cannot be edited.

layerfreezeis <- layerfreeze("channel~inletslopes~)

layernewip - Layernew creates a new blue layer "inletpipes."

layernewip <- layerthawnew("inletslopesinletpipes",blue)

slopesip - Calls the Sedimentation Tank Slopes Program to draw tank slopes.

slopesip <- sedslope(PlantOrigin,p1,AN{~}SedTopInlet)SedTopInlet)

PlantOrigin =

Note: p1 is a dummy variable used only in the program help section to designate the matrix below.

p1 =

  • x: LSed
  • y: WSed
  • z: HSed

AnSedTopInlet - Angle specifying the slope of the sedimentation tank walls.

moveip - Moveall is used to move all the selected objects by the specified distance.

moveip <-moveall(PlantOrigin,p1)

Note: p1 is a dummy variable used only in the program help section to designate the matrix below.

p1 =

  • x: PlantOrigin0
  • y: PlantOrigin1
  • z: PlantOrigin2 + outerdiameter(NDSedSludge)

pipe1 - Calls the [Pipe Program|AutoCad Pipe Program to draw a pipe.

pipe1 <- Pipe(sedtankinletpipe1origin,NDSedPipeEntrance,-sedtankinletpipelength,ENPipeSpec)

sedtankinletpipe1origin =

  • x: PlantOrigin0 - LSed + (.5WInletChannel)
  • y: PlantOrigin1 + (WSed/4)
  • z: PlantOrigin2 + HSed - HInletChannel

NDSedPipeEntrance = The nominal diameter of the tee. This value along with the pipe schedule is used to determine other actual dimensions of the tee.

sedtankinletpipelength = Specifies the length of the pipe.

ENPipeSpec = The enumerated pipe schedule type. Each schedule of pipe is represented by a specific number within our code.

pipe2 - Calls the [Pipe Program|AutoCad Pipe Program to draw a pipe.

pipe2 <- Pipe(sedtankinlepipe2sedtankinletpipe2origin,NDSedPipeEntrance,-sedtankinletpipelength~,ENPipeSpec)

sedtankinletpipe2origin =

  • x: PlantOrigin0 - LSed + (.5WInletChannel)
  • y: PlantOrigin1 + (WSed/4)
  • z: PlantOrigin2 + HSed - HInletChannel

NDSedPipeEntrance = The nominal diameter of the tee. This value along with the pipe schedule is used to determine other actual dimensions of the tee.

sedtankinletpipelength = Specifies the length of the pipe.

ENPipeSpec = The enumerated pipe schedule type. Each schedule of pipe is represented by a specific number within our code.

subtractip -SubtractK subtracts one object from the other based on three points.

subtractip <- subtractK(p1,p2,PlantOrigin)

Note: p1 and p2 are dummy variable used only in the program help section to designate the matrix below.

p1 =

  • x: sedtankinletpipe1origin0 + outerradius(ND{~}SedPipeEntrance)
  • y: sedtankinletpipe1origin1
  • z: sedtankinletpipe1origin2

...

  • x: sedtankinletpipe2origin0 + outerradius(NDSedPipeEntrance)
  • y: sedtankinletpipe2origin1
  • z: sedtankinletpipe2origin2

PlantOrigin =

layerfreezeip - Layerfreeze locks the layer "inletpipes" so that it cannot be edited.

layerfreezeip <- layerfreeze("inletpipes")