The pipeline take-off is based on the simple network principle of starting at one end and working systematically through the system to the other end. In fact, of course, there are many ends because of the natural requirement for branches and the system will keep track of all branches to ensure that none are left out. To facilitate this every branch must finish with a terminator represented by an E in the AC/Fitting Column.
Each pipeline forms a discrete batch of input and is given a unique name. As in other parts of calculix, the <HOME> key will display the names of all available pipelines when you are located on the pipeline name field.
After entering a valid pipeline name, the worksheet is displayed.
The cursor moves forward through the field using the <DOWN> key and goes backwards using the <UP> key. The <RETURN> key will move to the first field of the next line.
The <F9> and the previous record <F10> function keys move directly to the adjacent lines. Lines can also be Inserted by using the <F7> and Deleted using the <F8> function keys.
In the absence of new input data, all fields in the pipeline system will automatically use the details of the previous record. This means that if the line itself contains no entry then the computer will insert the last entry by default. This reduces the amount of input to an absolute minimum. When the pipeline is printed out all the default entries will be printed in brackets. After the end of a leg (i.e. when a terminator E is found in the AC column) the default settings will automatically revert to those in use at the branch position of the immediately preceding branch.
The high and low level fields are not used at the moment.
The Element field will contain the code for the Element containing the required pipeline and fittings. Although there are special features for Elements used in pipelines, the Elements are generally the same as those used elsewhere in the calculix system, and the Element code is in the usual 6 character format. The formula field in the pipeline element must, however, contain a positive number, integer or decimal, which will be used as timesing factor for the pipe length in pipe items and as a quantity for fittings.
The Description Prototype can provide the first five characters of the item description code and thereby avoids the need to enter these characters separately for each item. Although the first five characters are available it is usual to only specify the first four characters i.e. Work Group, Work Section and Trade, The characters entered here will apply to all entries until they are superseded by an entry in the Desc field of an individual item.
After completing the header records, you move into the take-off worksheet proper.
The take-off process is organised on a
The first four fields are the usual location code fields, Unit, Level, Area and Room. This code uniquely identifies where the pipe is situated so that it can be referenced for Valuation and Variation purposes. A NULL entry for the Location Code implies that the pipe is in the same room as the previous entry. It is therefore only necessary to complete the Location Code when the pipeline enters a new location.
The Description field allows the Description Prototype to be changed. If left NULL the Description code will remain the same as before.
The Length field will contain the measured length of pipe until the next fitting.
The l, w and h fields will contain the relevant size of the pipe or duct. A NULL entry implies that the item is the same size as before.
The AC Adjustment Code is used as a short code to reference the pipe fitting at the end of the current piece of pipe. It is implicit that at the end of each length of pipe there is some fitting or other. It may be a bend or a tee or a hole through a wall etc. or it may be the end of the line, but there must be something. The short code feature is explained in detail in the paragraph on Adjustment Codes. Pressing the HOME key in the fitting field will display a list of possible fittings from the relevant elements.
The Element field will be used if the pipeline changes to some other material and an Element different from the one previously specified is required. The new Element will then apply until another Element is specified. It is important to note that the pipe and the fitting on any line must both come from the same element.
The direction field is to enable the pipeline drawing process and is not yet fully implemented.
In order to keep track of all the branches the system treats tees as special cases. For this purpose a tee is any entry in the adjustment code field which starts with T and for this reason T should not be used as a code for any other fitting. To accommodate multiple branches, the system also identifies manifolds as special cases.
Manifolds have an adjustment code commencing M followed by the number of branches on the manifold.
Wherever a tee is measured in the Adjustment code column, the system expects the outgoing branch to be indicated by inserting the pipe size in the appropriate column. This will take the usual notation of 1-2-3 where the size of position 1 is entered in the L field, position 2 in the W field and position 3 in the H field.
After completing the second leg of the tee, the system will automatically insert the third leg in the vacant field. If tees are measured full value, i.e. as Bill items in their own right, they will be printed out stating the size of all three branches. If they are measured Extra over they will be measured extra over the largest size of the fitting.
Tees are processed in strict order working backwards through the take-off i.e. the next branch measured will be for the last entered tee.
These take the same form as Elements in the rest of calculix and have a six digit code.
There are, however, two special attributes of Elements when used in pipelines : Adjustment coding and Item coding.
The formula field in a pipeline element must contain a positive number, integer or decimal, which will be used as a timesing factor for the pipe length in pipe items and as a quantity for fittings.
All items in the pipeline Bill will be picked up using the adjustment code facility. In this connection, it is not necessary that the adjustment code starts with W F C or E as is the case in the rest of calculix. All items with the same adjustment code will be measured. An adjustment code of P is assumed to be the pipeline itself and is attached automatically to the length input on each line. If an insulation item is given an adjustment code of P, the pipelines will automatically be measured with insulation.
Note that the pipe size is treated separately so that all pipework can have the same code.
Where an item requires to be associated with the size of pipe to which it is attached, the system will insert the dimension automatically.
Where an item requires dimensions of its own, as in the case of a radiator, this dimension should be added to the dimension field on the Element worksheet and these will override the automatic insertion of the pipe size and the radiator size will be printed out in the Bill.
The HOME key pressed in the fitting field will display a list of possible fittings from the relevant elements.
The item coding which will produce the descriptions for each item works on the overlay principle. This means that a successive item is laid on top of the previous item and any blank fields are automatically completed with the details from the previous item. It follows, therefore, that entries only have to be made when some detail or other is different from the previous entry.
In this way if the last pipe size entered was 15mm all following items will be 15mm, until a new size is entered and then all following items will automatically be the new size until a further change is made.
Pipeline masking works on the first 7 letters of the description code, so work group and section, trade, installation, and special working conditions can all be specified in the pipeline worksheet if required.
The relevant description code fields in the element must be blank for pipeline masking to take effect, so pipeline masking may work only on selected parts of a fitting or pipe if so required. If all the sections of the description code are already specified in all relevant fittings in the element, the pipeline mask will be ignored.
If a pipeline mask is specified in the pipeline header record, this will be applied to all items, unless a pipeline mask is given in the pipeline item, in which case, the mask in the pipeline item is used instead.
After the description code for the pipe item is determined, the first 7 letters of the code are used as a pipeline mask for fittings, thus, fitting items with incomplete description codes, that need a pipeline mask, can get the relevant codes from the pipeline items.
Please note that pipeline data elements may be set up to use element masking or not, separately from pipeline masking.
Processing the pipeline is divided into 3 stages.
The pipeline data is partially processed using the Validate pipeline routine. This will insert all the default values for each line of input and check to ensure that the data is complete.
The pipeline is automatically incorporated into a Bill if the Location Codes used for the items include UNITS which are themselves included in the ESTATE CONFIGURATION being processed.
Once the pipeline has been added to the Bill, the production of the Bill is handled using the normal calculix Produce Bill facilities.
The printing routines for pipe lines are organised so that the input data alone, the validation data alone or both together can be printed.
Send mail to
with questions or comments about this web site.