:: Homepage > Manual > Calculation > Calculation template

CALCULATION TEMPLATE

Calculation template - file structure

To generated calculation are inserted the relevant elements and positions, based on the settings made in the template.

The names of positions contained in the template should be placed in square brackets (for example: [excavation]). Each name must start with a new line. In the line below the item name should be included the line, which will be determined a quantity. This line begins with the phrase q =. After that, please specify the quantity. This can be done in various ways such as:
  • number (e.g. q=5,25),
  • variable (e.g. q=@_stat_avolume_excavation),
  • math expression (q=5+@_stat_avolume_excavation).
Some of the names of items, by its very nature, are arbitrary. They are:
  • [devices] - sewage treatment plants,
  • [sumps] - sumps (inserted i Data table as manhole),
  • [pump sumps] - sumps (inserted i Data table as manhole, in which the outlet is located above the inlet),
  • [pipes] - pipes found in the profile,
  • [insulations] - insulations inserted in the sleeve protecting tubes editor,
  • [fittings] - occurring in the profile fittings (introduced in the Data table objects such as: a "hydrant", "dumper", etc.).
During the generation of calculation of the above items are converted to a more detailed (eg, "pipe PCV110"), which should be reflected in the file with a detailed specification (as an example is attached file "knrw.ini"). The names of other items used in the template can be arbitrary, except that the same-sounding name must be included in the file with a detailed positions specification. An example fragment of the calculation template is as follows:
[INSTALLATION WORKS]
el=1

[break through]
q=@_stat_wall_quantity

[bedding]
q=@_stat_avolume_bedding

[sumps]
[pipes]

[drainage]
q=@_o_drain_length

By pozycja była traktowana jako element należy pod linią z nazwą pozycji umieścić linię o treści "el=1" (Pozycja "ROBOTY INSTALACYJNE" w w/w fragmencie jest elementem).
UWAGA: Nazwa elementu (umieszczona w nawiasie kwadratowym) nie może być taka sama jak nazwa jakiejkolwiek pozycji. To position was treated as an element to be under the line item to put the name of the line that reads "el=1" (The "INSTALLATION WORKS" in the aforementioned passage is an element).
NOTE: The name of the element (placed in square brackets) may not be the same as the name of any item.