Pig Manure Management: A Methodology for Environmentally Friendly Decision-Making

Simple Summary Intensification of pig farming increases the profitability of farms but also leads to greater local environmental pressure from manure nutrient loss. There are various technologies for pig manure processing. Each technological solution provides specific nutrient content in the end-products (organic fertilisers, effluents, biogas, etc.). The methodology was developed for choosing proper technological solutions for pig farms with due account for the whole variety of combinations of production and natural and climatic conditions. It includes an accurate accounting for nitrogen and phosphorus flows in the manure processing and utilisation chain and considers the limiting factors of the farm and the end-product customer requirements. The methodology was applied to a large-scale pig farm in the Leningrad Region. The best suitable processing technology was identified demonstrating the total amount of nitrogen and phosphorus in the end-products of 278.94 t per year. The developed methodology can serve as an effective tool to reduce manure nutrient loss and mitigate the adverse effect on the rural environment. Abstract The current trend towards larger pig farms increases their profitability but might harm animal welfare and the environment. More efficient pig manure management is a way to address this challenge. Available manure handling and utilisation systems may feature from 8 to 50% nutrient loss to the environment. Therefore, the proper choice of technological solutions is of high priority. In regard, the study developed a methodology including calculation, analysis and modelling techniques for the accurate accounting of manure amount, its fractions and their nitrogen and phosphorus content for different processing technologies with due regard to the limiting factors of the farm and the end-product consumer requirements. The methodology was applied to justify the best suitable processing technology for a large-scale pig farm in the Leningrad Region with 17,800 heads of pigs and 54,750 t of pig manure per year. The selected technology included manure separation into fractions, aeration and secondary sedimentation of the liquid fraction and passive composting of the solid fraction. It demonstrated the total amount of nitrogen (N) and phosphorus (P) in the end-products of 278.94 t per year, with the 26% total nutrients loss on all technological stages, and specific capital and operating costs of USD 55.5 per ton of manure produced. The methodology was tested by comparing the calculated data and the data from previous surveys of 15 pig farms in Russia. The differences between the values were found from 0.9 to 12.5% in mass; 2.8 to 13.9% in N content and 1.7 to 9.9% in P content. The developed methodology supports planning the production of the manure-based end-products in a given amount and with target nutrient content, depending on different processing technological solutions, achieving both economic and environmental goals.


Introduction
Intensification of pig husbandry raises the farms' profitability, but it also entails a greater load on the local environment and may adversely affect animal welfare. The analysis revealed that nearly all intensive pig farms in Russia, especially large-scale pig The methodology will include the calculation techniques for the quantity and quality of the fresh manure and the end-products (in terms of the customer needs), the computational analysis of various technological solutions to converting manure into the end-products, the modelling of mass and nutrient distribution and the estimation of relevant costs.

Materials and Methods
Following the study aim, intensive pig farming in the Russian part of the Baltic Sea Region was considered using a systemic approach.

Large-Scale Pig Farm as an Argoecosystem
A present-day large-scale pig farm, as a rule, has several production sites and may cover a vast area since its numerous production facilities and fields are located at a substantial distance from each other.
Therefore, such a farm may be regarded as a separate integrated agroecosystem. Its sustainability is of great importance for both the farm itself and the environment.
Such a farm has the sources of point pollution (buildings, constructions, machinery and equipment), non-point pollution (fields with applied organic fertilisers) and combined pollution (production sites, where the pig manure is processed into organic fertilisers) ( Figure 1). Long-term experience of research associated with technological solutions for pig farms allows dividing them into three types.

1.
A closed-type large-scale pig farm is a self-sufficient "mono-system" where production and processing take place right on the farm without involving external players. Its characteristic features are sufficient capacity of pig manure processing sites and storages; enough agricultural land within a cost-effective transportation distance to apply all organic fertilisers produced; the owned feed mill and meat-processing facility; and cultivation of crops for the own use for feed and sale, and direct selling of pork and by-products.

2.
A combined-type large-scale pig farm is a "mono-system" with minimal involvement of external players. In contrast to the closed-type farm, it does not have a feed mill and purchases the feeds. Available agricultural land is not enough to apply all organic fertilisers produced. Therefore, such a farm rents some land for fertiliser application that sometimes leads to uneconomic transportation distances. 3.
An open-type pig farm is a "mono-system" involving many external players. It differs from the combined-type farm in that the pig manure processing and organic fertiliser field application are passed to third-party organisations.
A comprehensive analysis of available technological solutions to pig manure handling allows dividing them by the obtained end-products into three groups: single-product technological solutions, two-product technological solutions and multi-product technological solutions.
The output of single-product technological solutions is the solid or liquid organic fertilisers, with the target being the maximum saving of nutrients (minimum nutrients loss).
The output of two-product technological solutions is an organic fertiliser (solid or liquid) and water (effluent) that can be used for additional fertilisation of crops or process needs. After additional biological treatment, it can be discharged into the open water bodies if its chemical composition complies with established standards. The target of such technological solutions is to concentrate nutrients in the organic fertiliser to reach the required quality of the cleaned water.
The output of multi-product technological solutions is organic fertilisers (solid or liquid), cleaned water and other end-products: biogas, electric energy, methane tank effluent and others. The target of such technological solutions is the redistribution of nutrients depending on the end-product requirements ( Figure 2). Characteristics of raw manure to be processed and the end-products (mass, moisture content, total nitrogen and phosphorus content) are considered separately for each technology.

Methods, Procedures and Models
The study integrated several previously worked out methods, including those of other researchers, in the methodology under development. The methodology is understood as a body of methods, approaches and principles employed to reach the research objectives.
The study of two-product and multi-product technological solutions included the survey of design documents, scientific reports and publications for . Those years, all large pig rearing complexes under construction in the Russian Federation and Eastern Europe widely introduced the technologies for multi-stage processing of the liquid fraction of pig manure and fermentation of the solid fraction. The obtained data were used to calculate the basic coefficients in the models describing technological processes. Due to the recent changes in animal diets and manure removal solutions, additional laboratory and farm-scale studies were performed to update the basic coefficients.
Mathematical models were obtained by the method of least squares of the regression equation. The resulting models and coefficients are statistically significant. The statistical significance of the models was tested by Fisher's criterion and determination coefficient. The statistical significance of the coefficients was checked by Student's t-test. The coefficients values reflect the influence degree of factors on the dependent variable.
The study applied theoretical methods of functional and structural analysis, decomposition of technological processes, expert evaluation method, mathematical methods of optimisation, theoretical modelling methods and laboratory experiments on pig manure from selected pig farms.
The experimental data were analysed in Microsoft Excel 2016 and Statgraphics Centurion 16.1.11 software packages. Figure 3 shows the sequence of calculating the quantity and quality of both pig manure to be processed and the end-products. The calculations apply the mass balance method [5][6][7][8]. The amount of animal excrement is determined from the pigs' diets and feed compositions, planned weight gains, nutrient content in the animal body, production cycles, etc. (Figure 3). The results are further used to calculate the ex-house manure with due account for the composition and amount of the applied bedding material and the process water that gets into the excrement. The source data required for calculations are obtained from the survey of pilot pig farms. The quantity and quality of pig manure depend on the pig housing system and technological solutions for manure removal from pig houses.

Methods for Calculating the Quantity and Quality of the End-Products
The data received on the pig manure amount and its nutrient (nitrogen and phosphorus) content is used to calculate the quantity and quality of resulting organic fertilisers with due account for specific features of processing technologies in place in the Russian part of the Baltic Sea Region. Reasonable nutrient loss factors are used for each stage of manure and fertiliser handling-transportation of manure from livestock houses to either processing, temporary accumulation place, or both, transportation of end-products and organic fertiliser, use of end-products, and application of organic fertilisers, with the specific values of the factors being found in [1,5,7,8,18,22]. The mass of total nitrogen and phosphorus in the end products is calculated as the difference between the initial content and the sum of losses.
The procedure includes the models based on the principle of efficient use of nitrogen and phosphorus in the farm operation chain [39,40].
Nitrogen use efficiency (NUE) is calculated as Phosphorus use efficiency (PUE) is calculated in a similar way. The procedure also applies the mathematical models for calculating the concentration of nutrient content in organic fertilisers to achieve the target quality of cleaned water. They contain the coefficients characterising the operating modes and process parameters of equipment and calculated coefficients characterising required quantity and quality of each type of end-products [ The method involves the use of mathematical models, which describe the most common and emerging technological solutions for pig manure processing: long-term storing (maturing), passive and active composting, fermentation in drum and chamber fermenters and multi-stage processing with biological treatment [45][46][47][48][49][50].
The calculations associated with well-researched technological solutions and processes used the known formulas and dependencies [1,41,44,45,47].
For the under-studied technological solutions, the experimental studies were performed to obtain the coefficients required in the calculations. The subject of a separate laboratory-scale experiment was three-stage processing of the liquid fraction of pig manure. Stage 1 was sedimentation in a vertical settling tank. Stage 2 was aeration of the supernatant (clear water) followed by sedimentation in a settling tank. Stage 3 was the long-term storing (maturing) of the mixture of sludge from Stage 1 and excess activated sludge from stage 2 [51].
The results of the experiment were used to establish dependencies between the amount of cleaned water, its total nitrogen and total phosphorus content and the duration of technological processes (Formulas (2)-(5)): where X1 2 -mass of cleaned water, t M1-mass of cleaned water and activated sludge after aeration, t t 22 -secondary sedimentation time, h where M1-mass of cleaned water and activated sludge after aeration, t Q-mass of the liquid fraction of pig manure, t d −1 X1 1 -mass of sludge depending upon the primary sedimentation time, kg L1-loss of mass of clear water (supernatant) and activated sludge during aeration, t A-mass of activated sludge initially added to the aeration tank, kg where Q-mass of the liquid fraction of pig manure, t d −1 t 21 -aeration time, d M2-mass of total nitrogen in the cleaned water and activated sludge after aeration, t N-total nitrogen content in the liquid fraction of pig manure, mg kg −1 X2 1 -mass of total nitrogen in the sludge depending on the primary sedimentation time, t m2-mass of total nitrogen initially added with the activated sludge to the aeration tank, t M3-mass of total phosphorus in the cleaned water and activated sludge after aeration, t t 21 -aeration time, d Q-mass of the liquid fraction of pig manure, t d −1 P-total phosphorus content in the liquid fraction of pig manure, mg kg −1 m3-mass of total phosphorus initially added with the activated sludge to the aeration tank, t X3 1 -mass of total phosphorus in the sludge depending on the primary sedimentation time, t.
A multilevel model of the technology for multi-stage processing of the liquid fraction of pig manure is presented by dependencies (6): X3 i = f (ti, P, Q), Q ∈ (50, 300), P ∈ (500, 1500) (6) where X1 i -mass distribution on the i-th technological operation, t X2 i -nitrogen distribution on the i-th technological operation, t X3 i -phosphorus distribution on the i-th technological operation, t ti-time of the i-th operation i= 1-technological operation of primary sedimentation i = 2-technological operation of aeration t 21 with secondary sedimentation t 22 i = 3-technological operation of long-term storing (maturing) t 21 ∈ (1; 21), days t 22 ∈ (1; 6), hours t 3 ∈ (0; 6), months Q-mass of the liquid fraction of pig manure, t day −1 N-total nitrogen content in the liquid fraction of pig manure, mg kg −1 P-total phosphorus content in the liquid fraction of pig manure, mg kg −1 .
These dependencies helped select an optimal set of technological solutions for the multi-stage processing of pig manure to achieve the required quality and quantity of the end-product-cleaned water.
The established mathematical dependencies provide a way to estimate the adaptability of the technology to the farm resources and consumer requirements; to identify the main operation modes and the possible variation boundaries of the coefficients characterising the operation modes in the practical technology implementation.
The experimental data were analysed in Statgraphics Centurion 16.1.11. The correlation coefficient was 0.98, the determination coefficient was 96%.

The Fermentation of the Solid Fraction of Pig Manure
The subject of another separate experimental study was the fermentation of the solid fraction of pig manure in a laboratory drum fermenter with the solid organic fertiliser as the end-product [52,53].
The manure was separated into fractions on a pig farm by a screw separator. Before loading the solid fraction into the laboratory fermenter, the mass was measured and samples were taken to determine the moisture, total nitrogen and total phosphorus content. The fermentation lasted for 7 days. The fermenter was installed on a strain gauge balance. The measurements of the mass and the sampling took place every day. The experiment was performed in three replications. The experimental data were analysed in Statgraphics Centurion 16.1.11.
The results of the experiment were used to establish dependencies between the mass of resulting organic fertiliser, its total nitrogen and phosphorus content and the fermentation time: where M-the mass, kg;t-fermentation time, d.
The correlation coefficient was 0.98.
P-total phosphorus content in the resulting organic fertiliser, mg·kg −1 .
The correlation coefficient was 0.98, the determination coefficient was 97.6%.
where N-total nitrogen content in the resulting organic fertiliser, mg·kg −1 .
The determination coefficient was 99.8%.

Calculation Methods for the Distribution of Produced Solid and Liquid Organic Fertilisers by Agricultural Land
The study applied the mathematical apparatus of the transportation problem of organic fertiliser transfer from supplying farms to consuming farms. The target function was the transportation cost of one ton of total nitrogen [4].

Methodological Approach
The optimal nutrient balance in the agroecosystem means that nutrients return to the production cycle with minimal loss to the environment. Figure 4 outlines the methodological framework for assessing the manure nutrient balance and the approaches to designing the technologies for the end-product production.
Step 1 is to acquire the initial data on the pig farm.
Step 2 is to calculate the quantity and quality of pig manure as a raw material with due account for the technologies in place.
Step 3 is to identify the applicability of different technological solutions depending on natural and climatic conditions and the specific performance characteristics of the pig farm.
Step 4 is to make a graphic representation of correlations between applicable technological solutions within the pig manure processing technology into the end-products.
Step 5 is to calculate the quantity and quality of the end-products by mathematical models and to substantiate the optimal for introduction technology.
Step 6 is to estimate the application options of remained organic fertiliser and to calculate the economic efficiency. The information obtained about the suggested technology can be used for a comprehensive agroenvironmental and economic assessment, including the future estimation of greenhouse gas emissions and the possibility of using such a resource as clean water (step 7). General methodological approach to designing the technologies for the end-product production.
The established system of methods provides a way to assess the level of environmental compliance of pig farms and design an effective set of machines and technologies for the environmental sustainability of these farms as agroecosystems.
A comprehensive analysis of existing pig manure handling solutions with the use of the calculated coefficients made it possible to draw up a general procedure to obtain the end-products from pig manure fractions with specified nutrients content by the following methods: natural biological processing; a combination of physical actions accompanied by natural biological processes in separated pig manure fractions; a combination of physical actions and specially organised biological processes; and a combination of physical and chemical actions and organised biological processes ( Figure 5).

Methodology Testing
The developed methodology was tested on the data from a selected full-cycle pig farm with a total pig stock of 17,800 heads and annual pig manure output of 54,750 t located in the Leningrad Region, i.e., in the Russian part of the Baltic Sea catchment area. Its emissions and diffuse inputs of nutrients were of special importance to be estimated in terms of marine environment protection [54]. A technological solution to pig manure handling in place was analysed. The promising technologies were suggested that could be introduced on the farm based on its initial resources and limiting factors.

Selection of Technological Solutions for a Pilot Pig Farm
To analyse the substantial amount of data, we designed a computer-aided programme for assessing and selecting adaptive technologies for pig manure processing, which was approved by the State Certification Authority.
The developed methodology was applied to a full-cycle combined-type large pig farm with a total pig stock of 17,800 heads and annual pig manure output of 54,750 tons located in the Leningrad Region.
The animals were housed on a partially slatted floor without bedding except for the suckling piglets. The pig manure was removed from the livestock houses by the gravity system of batch type.
At that time, the pig farm separated manure into fractions, with the long-term storing (maturing) of the liquid fraction and passive composting of the solid fraction. The resulting solid organic fertilisers were applied to the owned agricultural land in the correct doses. The resulting liquid organic fertilisers were applied to the owned agricultural land in significantly higher doses.
The main limiting factor of the pig farm was the lack of sufficient agricultural land for the application of organic fertilisers. At least 1800 hectares of agricultural land were required to apply all the fertiliser obtained. For cost-effective fertilisation, the distance between the fields and the farm should not exceed 15 km. However, on the farm only 1,280 hectares at a distance of above 15 km from the manure processing site were available.
The study objective was to apply the developed methodology to identify how to produce more concentrated fertiliser for transportation in smaller volumes over long distances.
The first step was to calculate the daily pig manure output, its moisture content and the initial content of total nitrogen and total phosphorus in the amount of pig manure transferred to processing by the values from regulatory documents. The calculation results were 150 t d −1 of pig manure with 93.4% moisture content, 795 kg of total nitrogen content and 247 kg of total phosphorus content.
The second step was to analyse the natural and climatic conditions, soil properties in the location of the selected pig farm and the technical possibility (land availability) to introduce the possible technological solutions for obtaining the manure-based endproducts (see Figure 5). Six technologies were found most applicable on this particular farm in the Russian part of the Baltic Sea catchment area with due regard to HELCOM recommendations [54]: The economic and environmental indicators were calculated for the selected technologies (Table 1). The amounts of nitrogen and phosphorus in the end-products calculated for the above six technologies are the nutrients saved in the end-products (organic fertilisers) taking into account the losses at each technological stage-manure processing, temporary accumulation of end-products and transportation of end-products to their application place.
The area required to apply the calculated amount of fertiliser nutrients was compared with the area available on the farm.
The third step was to choose the optimal technology by the method of multi-criteria Pareto optimisation [55] ( Table 2). The criteria chosen for the assessment were an economic indicator-the sum of specific capital and operational costs, and an ecological indicator-the sum of total nitrogen and total phosphorus in the end-products. According to the ecological indicator, technology 1-long-term storing (maturing) was the most optimal for the pilot pig farm. However, the available land was not enough for its implementation. The organic fertilisers needed to be transported at disadvantageous distances, resulting in a higher economic indicator.
The developed computer-aided programme found technology 6 (separation into fractions + aeration and sedimentation in batch-type settling tanks + passive composting) the most suited for the pilot pig farm following the selected criteria and resources (insufficient area of agricultural land within economically rational transportation distance).
The programme also identified the equipment required for this technology, calculated its number, dimensions and maintenance conditions [56] (Table 3). It also specified the requirements for the dimensions of facilities (structures) ( Table 4).  A balance diagram of the selected technology was created ( Figure 6) to determine the quantity of the produced organic fertilisers and calculate the fertilisation doses.

Testing of the Developed Methodology on Pig Farms
To verify the developed methodology, the calculated data on 15 large pig farms in Russia, with seven of them being located in the Russian part of the Baltic Sea catchment area, were compared with the data from previous surveys of these farms when elaborating technological regulations for manure management.
To ensure data reliability, the initial data were acquired and analysed through a questionnaire survey of farms, examining the technological maps and technological processes as well as the protocols of laboratory analyses supplied by the accredited laboratories. The adequacy of acquired data was verified by organising field surveys of 8 out of 15 pig farms, including the sampling and sample analysis with the methods commonly used in Russia and Europe.
The obtained experimental data were statistically analysed. The mean values and standard deviations (SD) were calculated. The average experimental values for all pig farms fell in the interval of standard deviations. Therefore, the data were considered reliable ( Table 5).   Pig farm 1 is located in the Kaliningrad Region; pig farms 2-7 are located in the Leningrad Region; pig farm 8 is located in the Pskov Region; pig farms 9 and 10 are located in the Republic of Buryatia; pig farms 11-13 are located in the Krasnoyarsk Territory; pig farm 14 is located in the Tomsk Region and pig farm 15 is located in the Kaluga Region.
The pig housing systems and technologies for manure removal and processing into end products were considered. The developed methodology was applied in calculations ( Table 6). From Table 6, the maximum difference between the calculated values and the actual data is 12.5% in the end-product amount, 13.9% in the end-product total nitrogen content and 9.9% in the end-product total phosphorus content.
These differences are not significant in the aggregated assessment of the large-scale intensive pig farms. Accordingly, the developed methodology can be used for an aggregated assessment of the end products based on pig manure both at the farm, district or region level.

Discussion
The intensification of pig farming is a current worldwide trend. The major challenge for intensive large-scale pig farms in Russia is to process and utilise the large amounts of manure with minimal environmental pressure (manure nutrient loss) under limited owned agricultural land and too-long transportation distances. An effective way is to choose the relevant technological manure processing solutions that would provide the balanced N and P transfer (flow) from the raw manure to the target end-products with specified characteristics (solid and liquid organic fertilisers, biogas, cleaned water, etc.) We designed a special tool (methodology) to support this choice through calculation of quantity and quality of the fresh manure and the end-products (in terms of the customer needs), the computational analysis of applicable technological solutions, the modelling of mass and nutrient distribution and the estimation of relevant costs.
The methodology is the first basic step in creating a comprehensive system of designing and effective management of pig farms based on available resources, maximum nutrient saving, limiting factors, economic and environmental considerations. This instrument is also expected to support the decision-making on the regional level on the subsidizing of farms in the transition to Best Available Techniques and the environmental permitting process. In the future, it may be applied together with the terrain estimates to design new pig farms and forecast the possible adverse environmental effects at the farm, district or region level.
A limitation of our methodology lies in some initial data acquisition for calculations-we used the literature data on soil characteristics when calculating the organic fertiliser application rates and the data provided by the pig farms on target yields. The required amount of nutrients was calculated from the nutrient removal with the yields. In the future, on-farm agrochemical soil surveys shall be provided.
The methodology was developed with reference to a large-scale pig farm in the Russian part of the Baltic Sea catchment area. The best-suited manure processing technological solution was identified to provide the most efficient environmental and economic performance.
The methodology was further tested on 15 large pig farms located in different climatic zones of Russia with their specific animal diets depending on the region, farm profile, feed base and production capacity. The calculated data based on the aggregated coefficients were compared with the verified data from previous surveys of these farms. According to the test results, the methodology can be applied to an aggregated assessment of the pig manure-based end products. However, more accurate calculations require additional examining of pig farms.
The methodology integrated several methods, calculation and modelling techniques used by researchers in other countries.
First of all, this is a digital tool based on the mass balance method, which considers the nutrient flow throughout the production chain-from feed to pig excrement and organic fertilisers [5][6][7]57]. This tool was jointly developed within the MANURE STANDARDS project of the European program "Interreg Baltic Sea Region 2014-2020". The European national calculation tools are mostly similar to the models developed in Denmark [19]. However, they may differ in the level of detail, the algorithms used and especially the coefficients [8].
We also applied the European calculation method through nitrogen use efficiency (NUE) [1,5,7,8,18,22], with specific Russian indicators of intensive pig farming serving as initial data.
Many researchers use the modelling to predict the pig manure evolution in terms of mass, dry matter and nutrient content and related gaseous emissions. However, they either consider the flows from fresh manure to compost ready for field application as [17] or from pig excreta to manure stored before spreading, depending on different housing systems as [58].
Our methodology suggests the optimal technological solutions based on the customer farm needs: crop farms need organic fertilisers; an industrial enterprise needs biogas; the landless pig farm needs to accumulate all the nutrients in a smaller volume of organic fertiliser for lower costs of long-distance transportation, etc.
An idea of our methodology originating from the lack of agricultural land to consider other end products from pig manure with increased nutrient content and more feasible export to other farms (districts) resonates with other studies. In [59] the solid fraction of codigested manure is processed into a concentrated P fertiliser and a nutrient-poor organic soil improver; in this case, the recovered P fertiliser could be used as a secondary raw material for fertiliser production or export whereas the soil improver could be applied on arable soils in the nearby region. In [23] an advanced technical solution (reverse osmosis) is suggested to improve the pig manure management in terms of liquid fraction processing.
To improve the pig manure management systems, the researchers suggest different approaches. The authors of [33] apply Best Available Techniques Not Entailing Excessive Costs (BATNEEC) while our methodology considers all applicable technological solutions, regardless of financial investments and consequently, economic costs are calculated for these technological solutions.
To estimate the current pig manure management and suggest improvements, many researchers use the life cycle assessment (LCA) [14][15][16][60][61][62] applying different criteria, predominantly acidification potential (AP), eutrophication potential (EP) and global warming potential (GWP). This method is widely used in Europe. In our methodology, we used it only in a small block considering that all impacts are equally important between themselves. This simplification allows us to give only an aggregated estimate. In the future, a more detailed analysis of the regions is needed to obtain verified experimental numerical values.
In general, the designed methodology seems to match the European search for the most efficient use of manure nutrients through producing various end-products of manure processing.
It also could support achieving some international goals of Russia, namely, to reduce the nutrients inputs into the Baltic Sea according to the target indicators specified by the HELCOM Baltic Sea Action Plan [54,63]. On the example of intensive pig farming in the Russian part of the Baltic Sea catchment area, this study will support a better understanding of how to reach the goals and objectives of the 2021 update of the HELCOM Baltic Sea Action Plan in terms of the nutrient inputs to the water bodies [64].

Conclusions
A methodology was developed integrating methods, procedures and models to assess the environmental performance of large intensive pig farms. It was applied to a fullcycle pig farm in the Leningrad Region (Russia). Six options of pig manure processing into the target end-products were selected in terms of natural, technical and economic conditions and the limiting factors of the farm. The best suitable technology was identified, with the economic indicator, i.e., the sum of specific capital and operational costs, being USD 55.5 per ton of pig manure and the ecological indicator being 278.94 t of total nitrogen and phosphorus in the end-products per year.
The methodology was further tested by comparing the calculated data on 15 large pig farms in Russia with the verified data from previous surveys of these farms when elaborating technological regulations for manure management. The maximum difference between the calculated values and the actual data was 12.5% in the end-product amount, 13.9% in the end-product total nitrogen content and 9.9% in the end-product total phosphorus content. These differences are not significant in the aggregated assessment of large-scale intensive pig farms.
The study results are expected to become the starting methodological point for the creation of advanced waste management systems in intensive pig farming through a comprehensive approach to producing different end-products by the most effective manure processing technology and with the least manure nutrient loss to the environment at the farm, district and regional level.

Data Availability Statement:
The data presented in this study are available on request from the corresponding author. The data reflect the specific conditions of agricultural enterprises that are covered by the privacy policy.