EN
The article presents a concept for resolving problem of reconciling the construction of piggeries with available pig fanning technology. The algorithm and databases presented here will enable automatization of modernizing pig farm livestock buildings, thereby enabling assembly of best process for the farm, without need to enter into databases all of the possible combinations of farming operations and machines and equipment usable in pig farming. An interesting feature is also the possibility to expand - in an unrestricted manner - the files describing machinery and equipment and the numbers of pens and feed corridors. The issue is important inasmuch as the introduction of a new livestock feeding method does not require the modification of algorithm itself; it is sufficient to modify the constant data.