Editing Commands
File Maintenance
Creating New Elements
Master Libraries
Formulae Functions & Operators
Filing Utilities
Element Schedules
Room Data
Running Calculix
Worked-Up Data
Vertical Data
Site Layout
General Bill Data



  1. Pipelines generally
  2. Pipelines worksheet - moving around the worksheet 
  3. Default Entries - Pipelines
  4. Elements for pipes and fittings
  5. Description Prototype - Pipelines
  6. Taking-off Entries - Pipelines
  7. Location Code - Pipelines
  8. Description Field - Pipelines
  9. Pipe Length
  10. Component Dimensions - Pipelines
  11. Adjustment Code - Pipe Fitting
  12. Elements - Pipelines
  13. Direction of the Pipeline
  14. Branches - Pipelines
  15. Elements Used For Pipelines
  16. Adjustment Coding - Pipelines
  17. Item Coding - Pipelines
  18. Pipeline Masking 
  19. Processing pipelines into bills
  20. Incorporating Pipelines in to the Bill
  21. Producing the Bill - Pipelines
  22. Printing - Pipelines


Pipelines generally

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.


Back to Top

Pipelines worksheet - moving around the worksheet

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.


Back to Top

Default Entries - Pipelines

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.


Back to Top

Elements for pipes and fittings

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.


Back to Top

Description Prototype - Pipelines

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.


Back to Top

Taking-off Entries - Pipelines

After completing the header records, you move into the take-off worksheet proper.

The take-off process is organised on a

length...fitting basis and each line represents one
length...fitting entry.


Back to Top

Location Code - Pipelines

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.


Back to Top

Description Field - Pipelines

The Description field allows the Description Prototype to be changed. If left NULL the Description code will remain the same as before.


Back to Top

Pipe Length

The Length field will contain the measured length of pipe until the next fitting.


Back to Top

Component Dimensions - Pipelines

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.


Back to Top

Adjustment Code - Pipe Fitting

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.


Back to Top

Elements - Pipelines

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.


Back to Top

Direction of the Pipeline

The direction field is to enable the pipeline drawing process and is not yet fully implemented.


Back to Top

Branches - Pipelines

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.


Back to Top

Elements Used For Pipelines

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.


Back to Top

Adjustment Coding - Pipelines

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.


Back to Top

Item Coding - Pipelines

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.


Back to Top

Pipeline Masking

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.


Back to Top

Processing pipelines into bills

Processing the pipeline is divided into 3 stages.

Validate Pipeline

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.


Back to Top

Incorporating Pipelines in to the Bill

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.


Back to Top

Producing the Bill - Pipelines

Once the pipeline has been added to the Bill, the production of the Bill is handled using the normal calculix Produce Bill facilities.


Back to Top

Printing - Pipelines

The printing routines for pipe lines are organised so that the input data alone, the validation data alone or both together can be printed.


Back to Top




Send mail to with questions or comments about this web site.
Copyright E-Quantities Ltd.