1 Introduction

Improving feed efficiency is a major objective to enhance pig production sustainability in terms of economy and environment. The main environmental impacts of pig production originate from feed production (Opio et al. 2013) and from manure excretion and emissions during pig farming (Dourmad and Jondreville 2007; Mackenzie el al. 2016). The improvement in the main environmental burden sources can be obtained through reduction in feed intakes, and supply of nutrients tailored to the animal requirements, to achieve better use of lower quantities of feed by the animals. Feed efficiency, which is usually expressed as its inverse, feed conversion ratio (FCR), stands for the body weight gain per unit of feed consumed. Selecting pigs based on feed conversion ratio (FCR) or residual feed intake (RFI) has been shown to be effective to improve feed efficiency in growing pigs (Gilbert et al. 2007 and 2017; Cai et al. 2008; Rothschild and Ruvinsky 2011). Unbalanced dietary nutrients and energy in the feed ration can result in unnecessary high excretion rate. Thus, a diet tailored to nutritional requirements is an important aspect for the environmental optimisation of pig production (Hauschild et al. 2012; Pomar and Remus 2019). Improving feed efficiency by adjusting the composition of the diet to the nutritional requirements of a group or an individual animal (precision feeding) has also been investigated (Pomar et al. 2009; Remus et al. 2019; Monteiro et al. 2017), and some related methods, decision support tools, and systems are under development (Brossard et al. 2017 and 2019). Other methods are available for environmental diet optimisation either by accounting for the choice of ingredients to be incorporated (Garcia-Launay et al. 2018; Tallentire et al. 2017) or combining diet optimisation with minimum nutrient excretion impacts (Mackenzie et al. 2016). Life cycle assessment (LCA) has already been used for environmental assessment of various aspects of pig production systems (Lammers. 2011; Garcia-Launay et al. 2014; Mackenzie et al. 2015; McAuliffe et al. 2016 and 2017; Ottosen et al. 2019). We assessed the environmental impacts of pig selection for feed efficiency in a previous study by using individual LCA (Soleimani and Gilbert 2020), which made it possible to link individual genetic profiles to individual environmental impacts. Here, we propose an overall environmental optimisation approach for pig production which combines ‘pig selection for feed efficiency’, ‘formulation of a nutritionally tailored diet’ and ‘environmental optimisation of the diet’ as a strategy to achieve an overall farm feed efficiency. To achieve overall farm feed efficiency, diets were formulated according to the nutritional requirements of lines selected for different feed efficiency levels. Given these constraints, diets with minimum environmental impacts were determined, and the resulting environmental impacts of a system combining selected lines fed their optimised tailored diet were quantified to assess overall farm feed efficiency. The aim of this study was to establish the optimisation model and assess the total environmental impacts of improvements in overall farm feed efficiency on pig production, by performing individual LCA. The performance traits correlated with the environmental impacts could then use for further pig selection choices for environmental objectives.

2 Materials and methods

2.1 LCA

Environmental impacts were evaluated using life cycle assessment (LCA), which is most frequently used to assess the environmental impacts of products and services (Itskos et al. 2016). The marked contribution of emissions during animal farming, manure storage and application, quantified as global warming potential (GWP), acidification potential (AP), and eutrophication potential (EP) (de Vries and de Boer 2010), have massive implications on human health and ecosystems. Thus, these three impact categories are the most common in LCA studies of pig production (McAuliffe et al. 2016). In addition, since vast land areas are required for producing ingredients for feed, relatively to those for vegetable protein and oil (Basset-Mens et al. 2005), some being located in sensitive ecosystems exposed to high land conversion rate, the land occupation impact category is important for an environmental impact assessment of pig production. Consequently, the impact categories GWP (kg CO2-eq), AP (kg SO2 eq), EP (kg P eq), and LO (m2a crop eq) were used to assess the environmental impacts in our study. ReCiPe Midpoint 2016 (H) V1.02 (Huijbregts et al., 2017), was used together with Ecoalim (Wilfart et al. 2016) and Ecoinvent (Wernet et al. 2016) inventory databases for the impact assessment. Individual environmental assessments for each pig were implemented in SimaPro V8.5.4.0 on the MEANS (MulticritEria AssessmeNt of Sustainability) platform (http://www.inra.fr/means), following the approach we proposed in a previous study (Soleimani and Gilbert 2020).

2.1.1 Goal and scope

The goal of the present study was to develop an approach to achieve overall farm efficiency in pig farms, and to investigate the resulting environmental impacts using a trait-based individual LCA model (Soleimani and Gilbert 2020). A ‘cradle-to-farm-gate’ system boundary including feed production, sow-litter, post-weaning, fattening pigs and manure management, was taken from conventional French pig farming systems. A simplified process flow diagram of the system is shown in Fig. 1. One kilogram of pig live weight (LW) at the farm gate was chosen as the functional unit, and used as a reference to compare the environmental impacts of the different scenarios.

Fig. 1
figure 1

Scheme of the system boundary, which includes the entire pig farm, feed production processes and manure management

2.1.2 The LCA model

The LCA model was developed in six separate modules: feeding plan, animal profile, emissions, excretion, water expenditure and energy expenditure (Soleimani and Gilbert 2020). Briefly, the model was developed based on pig net energy (NE) requirements, with a focus on the fattening period to allow prediction of the different performance profiles resulting from the composition of the tested diet. InraPorc® software, designed to simulate the performance pigs’ response to different nutritional strategies (van Milgen et al. 2008; Dourmad et al. 2008), was incorporated in the LCA model to obtain sow-litter profiles (identical in all scenarios), feeding plans and corresponding simulated growth performance during fattening. Water and energy expenditures were calculated based on the IFIP report on typical French farms (IFIP—Institut de la Filière porcine 2014). The individual fattening performance traits were used as input parameters in the life cycle inventory (LCI) in SimaPro to perform individual LCAs. The components of excreta (dry matter (DM), organic matter (OM), nitrogen (N), phosphorus (P) and potassium (K)) were calculated using the mass-balance approach, as the difference between nutrient intake in the feed and the nutrients retained in the body (Supplementary Material S1). A typical French slatted floor type of housing and slurry storage was adopted, along with system expansion approach considering that the manure produced replaced a certain percentage of mineral fertilisers (Garcia-Launay et al. 2014). Average performance data were used for the sow-litter stage, and individual performance data were used for the postweaning and fattening stages. Emissions of enteric methane (CH4), nitrous oxide (N2O), nitrogen (N2) and ammonia (NH3) in the building and during outside storage were calculated according to the IPCC guidelines (Tier I and Tier II) using model and emission factors developed by Rigolot et al. (2010a and 2010b) for French pig systems. Methane emissions from manure during storage, emissions of N2O, were calculated using the guidelines provided by the intergovernmental panel on climate change IPCC (2006, Tier 2) and the potential leaching rate of PO4 and NO3 during spreading of slurry were adopted from Nguyen et al. (2012). NOx emissions were calculated according to Nemecek et al. (2004). The fertiliser equivalence value of the manure as a replacement for synthetic fertiliser was considered to be 100% for P and K (Nguyen et al. 2011) and 75% for N (Nguyen et al. 2010). To ensure the results were comparable, the inventories, methods and calculations were kept the same in all the LCA runs. The environmental impacts of the diet ingredients were obtained from the Ecoalim dataset (Wilfart et al. 2016) of the AGRIBALYSE® database using the Recipe method 2016, applying the attributional approach. Values of 500 km for cereals and 100 km for meals were used for the transport of ingredients from the farm to the feed factory (Garcia-Launay et al. 2018), and a value of 30 km (Cadéro et al. 2018) was used for the distance from the feed factory to the pig farm, taken from the attributional life cycle inventories of the ecoinvent version 3.1 database.

2.2 Experimental data

Experimental data (body weights, feed intakes, body composition) were available from birth to slaughter weight for two lines of Large White pigs divergently selected for RFI under ad libitum feeding with the conventional diet. The composition of the conventional diet is reported in the Supplementary Material S2. The selection process concerning low RFI (LRFI, more efficient pigs) and high RFI (HRFI, less efficient pigs) lines are reviewed in Gilbert et al. (2017). The dataset used in the present study included data from 57 male pigs of the fifth generation of each line fed a conventional diet formulated to cover pig requirements. Growing pigs had ad libitum access to a one-phase conventional diet from 10 weeks of age to slaughter (at about 115 kg body weight). The data on individual daily feed intake (DFI) for the whole fattening period were recorded on automatic feeders (ACEMO, Pontivy, France), and back fat thickness (BFT) was measured via ultrasounds on live animals at 23 weeks of age, using an echograph (ALOKA SSD-500, Cergy Pontoise, France). Average daily gain (ADG), feed conversion ratio (FCR), and RFI were then computed as reported in Gilbert et al. (2007). The experimental data for reproductive sows and litters of the same lines (LRFI and HRFI) including the mean sow and piglet BW at weaning and farrowing, sow BFT before farrowing, sow lactation DFI, number of total born, still born and weaned piglets, piglet BW at birth and at weaning, and farrowing and weaning age, were adopted from Gilbert et al. (2012).

2.3 Line diet optimisation

In this study, the diet formulation was optimised to obtain diets with minimum environmental impacts but covering the specific nutritional requirements of the different genetic lines. To diversify the sources of energy and protein available for the diet formulation, six ingredients, oats, triticale, corn, peas, rapeseed meal, and sunflower meal were added to the eight ingredients of the conventional diet (barley, wheat, soybean meal, sunflower oil, and synthetic AA L_lysine (LLY), L_threonine (LTH), L_tryptophan (LTR), DL_methionine (DLM)), to formulate new diets. The new ingredients were selected based on their availability at the market and on the accessibility of their characterization data in the embedded database of InraPorc®. The net energy (NE) density and digestible CP and AAs of the ingredients were extracted from the INRA-AFZ database (Sauvant et al. 2004) of feed ingredients (Table 1). Ingredients like salt, carbonate calcium and vitamins, which do not have digestible energy, CP or AAs, were considered as additives and excluded from the formulation step, so in total Q = 14 ingredients were retained for formulation. Some common industrial rules and recommendations for commercial diet formulation, such as storage availability, are beyond the scope of this study and are not accounted for.

Table 1 Digestible crude protein (CP) and amino acids, and net energy (NE) of the ingredients retained for diet formulation, and their environmental impacts

2.3.1 Choice of nutritional requirements for diet formulation

To formulate a diet tailored to animal dietary requirements, the nutritional constraints which should be satisfied by the diet have to be identified. Pigs adjust their ad libitum feed intake to the net energy density (NE) of the diet (Quiniou and Noblet 2012). Consequently, dietary nutrients are up taken proportionally to the NE of the diet. In cereal-based diets, essential amino acids (AA) lysine, threonine, tryptophan, and methionine are the most limiting AA (D'Mello. 1993), which turned out to be mostly added as synthetic AA to cereals to achieve balanced nutritional composition, as in the conventional diet used to obtain the pig performances in our previous study (see Table 1, Soleimani and Gilbert 2020, for details). Thus, to avoid AA deficiency, these four amino acids were set as target constraints in the formulation. In addition, to satisfy the dietary requirements of all amino acids, crude protein (CP) was also set as a target constraint to ensure coverage of the remaining essential and non-essential amino acids. Finally, digestible CP and AA requirements were standardised to the NE content of the diet, to account for the feed intake regulation by NE density. Therefore digestible crude protein (CP), digestible lysine, digestible threonine, digestible tryptophan, and digestible methionine, expressed as standardised requirements to the diet NE (g/MJ NE), were retained as the target constraints to be satisfied by the diets tailored to the pig requirements.

2.3.2 Determination of the representative nutritional requirements of the lines

The experimental data were imported into InraPorc® to calibrate a growth performance profile for each individual pig. The profiles were calibrated using the recorded daily ad libitum feed intake during the fattening period with the conventional diet, expressed relative to the NE of the diet. The individual digestible CP and AA requirement profiles of the pigs were then obtained as InraPorc® outputs. Pigs are usually fed in groups with a single diet adjusted to the nutrient requirements of a representative pig in the group (Remus et al. 2019). Accordingly, the five targeted daily requirements for the whole fattening period were extracted from InraPorc® for each individual to identify the representative pig for each line in our dataset. For all individuals, the maximum requirements for these five indicators were observed in the early stages of the growing period. From these individual maxima, the mean maximum requirement for each line was computed for each indicator as the representative requirement of each line. In the following, Alpha is the digestible crude protein requirement (g per MJ NE), Beta is the digestible lysine requirement (g per MJ NE), Gamma is the digestible threonine requirement (g per MJ NE), Lambda is the digestible methionine requirement (g per MJ NE), and Delta is the digestible tryptophan requirement (g per MJ NE).

2.3.3 Diet formulation tailored to each line

To consider the representative requirement of each line in the tailored diet formulation, linear Eqs. (16) were retained as constraints for each line l (l = 2 in our study) and Q possible ingredients (Q = 14 in our study). Since the diet would be formulated for 1 kg of feed, the first equation ensures the prospective diet plus the additives does not exceed one kg, and the rest of the equations ensure the dietary nutrients correspond to the representative requirements of each line.

$$1\mathrm{kg}-\mathrm{additives }\left(\mathrm{kg}\right)={\sum }_{i=1}^{Q}{q}_{{i}_{l} }$$
(1)
$$Alpha_{l} = {\raise0.7ex\hbox{${\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} CP_{i} } }$} \!\mathord{\left/ {\vphantom {{\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} CP_{i} } } {\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} } NE_{i} }}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{${\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} } NE_{i} }$}}$$
(2)
$$Beta_{l} = {\raise0.7ex\hbox{${\sum\nolimits_{{i = 1}}^{Q} {q_{i} LLY_{i} } }$} \!\mathord{\left/ {\vphantom {{\sum\nolimits_{{i = 1}}^{Q} {q_{i} LLY_{i} } } {\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} } NE_{i} }}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{${\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} } NE_{i} }$}}$$
(3)
$$Gamma_{l} = {\raise0.7ex\hbox{${\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} LTH_{i} } }$} \!\mathord{\left/ {\vphantom {{\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} LTH_{i} } } {\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} } NE_{i} }}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{${\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} } NE_{i} }$}}$$
(4)
$$Delta_{l} = {\raise0.7ex\hbox{${\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} LTR_{i} } }$} \!\mathord{\left/ {\vphantom {{\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} LTR_{i} } } {\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} } NE_{i} }}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{${\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} } NE_{i} }$}}$$
(5)
$$Lambda_{l} = {\raise0.7ex\hbox{${\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} DLM_{i} } }$} \!\mathord{\left/ {\vphantom {{\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} DLM_{i} } } {\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} } NE_{i} }}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{${\sum\nolimits_{{i = 1}}^{Q} {q_{{i_{l} }} } NE_{i} }$}}$$
(6)

2.3.4 Formulating tailored diets with minimum environmental impacts for each line

The least environmental impact formulation approach implemented in this study involves two steps: (1) formulating a least cost (LC) diet as the baseline reference for environmental impacts and cost, and (2) formulating a diet with the lowest environmental impact score in an acceptable cost interval compared to the least cost diet. In step 1, the objective function of the optimisation is the cost, which should be minimised conditionally to the nutritional constraints in Eqs. (1)–(2). For the nutritional constraints, the cost constraint was normalized to the ingredient NE to compute the diet cost to minimise:

$$\mathit{min}\;cost={\sum }_{i=1}^{Q}{q}_{{i}_{l}} {p}_{i}/ {NE}_{i}$$
(7)

where \({ q}_{{i}_{l}}\), pi and NEi are the rate of incorporation of the ith ingredient in line l, the price and net energy of ith ingredient, respectively, with i = 1,…, Q. The least cost diet for each line was obtained through an evolutionary optimisation algorithm of NSGA-II from Eqs. (1)–(2) with library of mco in R version 3.6.3 (population size of 340 and 3500 generations). This algorithm identifies the non-dominated solutions on the Pareto-optimal front curve that best satisfy the nutritional and cost constraints. The price of each ingredient was obtained from the monthly average of the market price of ingredients in France reported by IFIP (IFIP, Mensuel d’information aliment, May 2020). The environmental impacts of the least cost diet (GWPLC, APLC, EPLC, LOLC) for each line l were calculated by summing the environmental impacts of each ingredient (Table 1) in proportion to its rate of corporation in the diet:

$${impact}_{{LC}_{l} }={\sum }_{i=1}^{Q}{q}_{{i}_{l}} {impact}_{i}$$
(8)

where impacti is the environmental impact of ingredient i, and impact is GWP, AP, EP, or LO.

For step 2, the first task was to define an environmental impact score to minimise. The environmental impacts of the least cost diet were used for each line as normalization factors for each impact, as proposed by Garcia-Launay et al. (2018). Then, weights were applied to obtain an environmental impact score (EI score) to minimise as a new objective function:

$${\text{EI}}_{{score\_l}} = \sum\nolimits_{{impact = 1}}^{4} {w_{{impact}} {{((\sum\nolimits_{{i = l}}^{Q} {q^{\prime}{\kern 1pt} _{{i_{l} }} {{impact_{i} } \mathord{\left/ {\vphantom {{impact_{i} } {NE_{i} )}}} \right. \kern-\nulldelimiterspace} {NE_{i} )}}} } \mathord{\left/ {\vphantom {{((\sum\nolimits_{{i = l}}^{Q} {q^{\prime}{\kern 1pt} _{{i_{l} }} {{impact_{i} } \mathord{\left/ {\vphantom {{impact_{i} } {NE_{i} )}}} \right. \kern-\nulldelimiterspace} {NE_{i} )}}} } {(impact_{{LC_{l} }} ))}}} \right. \kern-\nulldelimiterspace} {(impact_{{LC_{l} }} ))}}}$$
(9)

where \(q^{\prime}\,_{{i_{l} }}\) is the quantity of ith ingredient in the diet with the lowest environmental impact score for line l. In our study, an equal weighting of one was first used for wGWP, wEP, wAP, and wLO to avoid unbalanced impacts of the environmentally optimised tailored diet. Finally, the costs of the least environmental score diets were limited to avoid exceeding the cost of the least cost diet by more than 10%. The NSGA-II algorithm was applied to obtain the diets with the lowest environmental impact score under the dietary requirement constraints for each line, from Eqs. (1)–(2) and (3) with cost < 110% least cost.

2.3.5 Sensitivity analysis of the environmental impacts of the diets to the representative requirements of the lines and environmental score weights

To define an approach to assess the sensitivity of the environmental impacts of the diets to changes in the representative requirements of the lines, first the correlations between the individual maximum requirements of the pigs in each line were computed. All the representative requirements were highly correlated (> 0.99). To consider these high correlations in a sensitivity analysis, an all-at-once sensitivity analysis was conducted based on changes in all the requirements combined, first for + 1 standard deviation (SD), and then for − 1SD, separately for the two lines. Then, the full diet optimisation process described above was applied again, and the differences in the environmental impacts of the new optimised tailored diet relative to the initial optimised tailored diet were used for within-line sensitivity analysis. An impact category was considered to be sensitive to changes in the representative requirements of the line if the change in that impact category was greater than 5% (Mackenzie et al. 2016) due to changing by + 1SD or − 1SD all the representative requirements of the lines at once. In addition, in the environmental score used for optimisation, the environmental impact weights (wGWP, wEP, wAP and wLO) were equal to 1. To assess the sensitivity of optimised tailored diet environmental impacts to the choice of weight, a one-at-a-time sensitivity analysis was performed based on successive changes of + 0.5 and − 0.5 for each weight in each diet optimisation run, separately for the two lines.

2.4 Environmental evaluations of overall farm feed efficiency

The growth performance traits, including average daily feed intake, average daily gain, back fat thickness, body protein and body lipid at slaughter (120 kg) and length of the fattening period, were simulated with InraPorc® for each pig in response to its line optimised tailored diet. These performances were then used as input parameters for the individual trait-based LCA mode (Soleimani and Gilbert 2020) to assess the environmental impacts of the overall farm feed efficiency approach. Statistical analyses were applied to the outputs of the different steps of this evaluation, based on calculation of the line means and SDs of growth performance traits and their environmental impacts. t Tests were used to test the line differences, and environmental impacts were declared significantly different between scenarios when P < 0.05. Correlations between traits and environmental impacts were performed to identify the traits with maximum environmental impact. In addition, a principal component analysis was also performed for a better understanding of the relationships between the components (using fviz function from library of factoextera in R).

3 Results

3.1 Representative requirements of the lines based on individual requirements

Table 2 lists the means and standard deviations of the five representative requirements of the two genetic lines (digestive CP, lysine, threonine, methionine and tryptophan). On average, the LRFI line had + 5% requirements in g/MJ NE compared to the HRFI line (P < 0.05), with the crude protein requirements showing the largest difference (6.4%) between lines.

Table 2 Mean maximum individual standardised requirements for the low residual feed intake (LRFI) line and the high residual feed intake (HRFI) line and their standard deviations (N = 57 pigs per line)

3.2 Environmentally optimised diets tailored to the nutritional requirements of each line

The least environmental impact score diet which satisfies the representative requirements of each line at a cost less than 110% of that of the least cost diet was retained as the optimised tailored diet for the corresponding line. The LRFI optimised tailored diet had 9.38 MJ NE/kg, and the HRFI optimised tailored diet had 9.75 MJ NE/kg, with triticale, in which the proportions of sunflower meal and soybean meal were highest in the LRFI optimised tailored diet, whereas pea and sunflower oil were incorporated only in the HRFI optimised tailored diet (Supplementary Material S3). In addition, smaller quantities of synthetic AA were incorporated in the LRFI optimised tailored diet (L-tryptophan and DL-methionine), whereas L-lysine was higher in this diet. Compared to their respective least cost diets with the 9.27 MJ NE/kg for LRFI and 10.01 MJ NE/kg for HRFI, the main differences in composition were in triticale, wheat, sunflower meal and corn along with less incorporation of L-Lysine in HRFI optimised tailored diet. Table 3 lists the environmental impacts and cost of the line optimised tailored diets and least cost diets, together with the conventional diet. The environmental impact score of the optimised tailored diets decreased of − 5.2% for HRFI and − 5.8% for LRFI compared to the score of conventional diet, as the feed cost per MJ NE (− 11.5% and − 12.0%). When considering the detailed E environmental impacts, the optimised tailored diets showed reductions per MJ NE of feed for GWP (− 12.8% and − 4.5% for the HRFI optimised tailored diet and LRFI optimised tailored diet, respectively), LO (− 18.6% and − 27.4%), AP (− 5.2% for HRFI), and increased in EP (+ 3.1% for LRFI) and EP (+ 40.7% and + 8.4%). The price of optimised tailored diets (0.199 €/kg for LRFI and 0.208 €/kg HRFI) was lower than the price of the conventional diet (0.234 €/kg) per kg of feed and per MJ of NE. These feed prices were less than 110% of the least cost diets prices of each line.

Table 3 Environmental impacts of 1 kg of the conventional, optimised tailored diet (OTD) and least cost diets for the low residual feed intake (LRFI) line and the high RFI (HRFI) line

3.3 Sensitivity analysis of the environmental impacts of the diets to the representative requirements of the lines and weighting factors

To evaluate the sensitivity of the optimised tailored diet environmental impacts to the changes in representative requirements of the lines, a sensitivity analysis was performed by changing all the requirements by + 1 or − 1 SD at once. The percentage changes in the environmental impacts and the environmental score of the new optimised tailored diets (details on composition are provided in Supplementary Material S3) are shown in Fig. 2. All environmental impacts increased after increasing the representative requirements of the lines by + 1SD in the two lines, except AP for LRFI line and EP for HRFI. Changes in the HRFI line were more than 5% for all environmental impacts with the exception of AP (+ 4%), whereas sensitivity was much higher for the LRFI optimised tailored diet, with marked increases in LO and EP (> + 35%). On the other hand, decreasing all the representative requirements of the lines by 1SD led to moderate changes in the environmental impact of the line optimised tailored diets. HRFI optimised tailored diet had increased GWP and LO after reduction of the requirements (> + 11%), and decreased EP (− 25%), whereas all environmental impacts were reduced for the LRFI optimised tailored diet when − 1SD was applied to the requirements, from 6 (EP) to 10% (LO), with very limited change in AP. Based on these sensitivity results, GWP, EP and LO were most sensitive to the changes in requirements. The environmental scores were affected by the changes in requirements mainly in the LRFI line, with a decrease of 6.2% when the requirements were reduced and an increase by 18% when they were increased.

Fig. 2
figure 2

Percentage changes in the environmental impacts and score of the optimised tailored diets for the high residual feed intake (HRFI) line and the low residual feed intake (LRFI) line when the representative requirements of the lines are changed by ± 1SD all-at-once in the diet-optimised formulation. GWP global warming potential, AP acidification potential, EP freshwater eutrophication potential, LO land occupation

To evaluate the sensitivity of the optimised tailored diet score to variations of environmental impact weights, a one-at-a-time sensitivity analysis was performed (Fig. 3). Altogether, the sensitivity of the optimised tailored diet environmental score to the score weight changes was relatively low, and only found for LRFI optimised tailored diet: the main sensitivity was found for increases in the LRFI optimised tailored diet scores in relation to LO, EP and AP reduced weights (increases > 6%), and LRFI optimised tailored diet scores when the weights for AP and GWP were increased.

Fig. 3
figure 3

Percentage changes in the environmental score of the optimised tailored diets of the high residual feed intake (HRFI) line and the low residual feed intake (LRFI) line when the weights (wGWP, wEP, wAP and wLO) were changed by ± 50% one-at-a-time for the diet-optimised formulation. wGWP weight for global warming potential, wEP weight acidification potential, wEP weight fresh water eutrophication potential, wLO weight land occupation

3.4 Simulated individual trait responses to the line optimised tailored diets

The performance responses of all individual pigs to the line optimised tailored diets were simulated with InraPorc® up to the 120 kg BW. Table 4 gives the resulting mean and SD of the performance traits for each line. Significant differences between the lines were observed for feed intake (P < 0.05), energy conversion ratio (P < 0.001), protein weight at slaughter (P < 0.0001), backfat thickness (P < 0.0001), body lipids at slaughter (P < 0.0001), with lower average values in the LRFI line, and age at slaughter (P < 0.05) and ratio body proteins/body lipids at slaughter (P < 0.0001), with higher values in the LRFI line.

Table 4 Mean and standard deviation (SD) of growth performance traits and body composition for the low residual feed intake (LRFI) line and high residual feed intake (HRFI) line fed their corresponding optimised tailored diet, simulated by InraPorc®

3.5 Environmental assessment of the overall farm feed efficiency approach

To assess the environmental impacts of producing 1 kg of live pig through feeding the line optimised tailored diets, an individual LCA was performed in SimaPro for each pig fed its line optimised tailored diet, based on the performance traits simulated with InraPorc®. Table 5 lists the resulting four impact categories for the two lines. In response to their optimised tailored diet, all impact categories differed significantly (P < 0.05) between lines, the HRFI line having systematically larger impacts than the LRFI line (from + 2.04 for GWP to + 18.13% for LO). The lines with the conventional diet differed significantly in all impact categories (P < 0.0001), with a minimum difference in LO (+ 6.5%) and maximum difference in AP (+ 8.7%) in HRFI relative to LRFI (Table 5). The environmental impacts of the lines fed their optimised tailored diets are shown together with their environmental impacts with the conventional diet in Fig. 4, with reference to the scenario with least environmental impacts (LRFI line fed its optimised tailored diet). Feeding the lines with their optimised tailored diets reduced all environmental impacts compared to when fed the conventional diet (P < 0.0001), with the exception of EP which increased (P < 0.0001). For all environmental impact categories, a bigger decrease was found with the line optimised tailored diet for the HRFI genetic line than the LRFI genetic line, with the exception of LO, which remained quite high. Altogether, feeding the HRFI line its optimised tailored diet led to a scenario with less environmental impacts than the LRFI line fed the conventional diet, with the exception of EP.

Table 5 Mean and standard deviation (SD) of four environmental impact categories calculated per kg of body weight of pig at the farm gate (120 kg body weight) through individual LCA using the ReCiPe 2016 Midpoint (H) V1.13 method for the low residual feed intake (LRFI) line and the high residual feed intake (HRFI) line fed their optimised tailored diet (OTDs) and conventional diet (Con)
Fig. 4
figure 4

Four environmental impact categories for the low residual feed intake (LRFI) line and high residual feed intake (HRFI) line fed their optimised tailored diet (OTD) and the conventional diet, presented relative to the impacts of the LRFI line fed its OTD. GWP global warming potential, AP acidification potential, EP freshwater eutrophication potential, LO land occupation. 1For each impact category, different superscripts in Latin letters indicate significant differences at P < 0.05 for pairwise t test comparisons of impacts of the LRFI line fed different diets; different superscripts in Greek letters indicate significant differences at P < 0.05 for pairwise t test comparisons of impacts of the HRFI line fed different diets; different number superscripts indicate significant differences at P < 0.05 for pairwise t test comparisons of impacts of the LRFI line fed the conventional diet and the HRFI line fed the OTD

3.6 Correlations between growth performance traits and impact categories

To gain more insight into the relationships between growth performance traits and environmental impacts when the lines where fed their optimised tailored diet, phenotypic correlations were computed between the individual performances and the individual LCA results in each line fed its own optimised tailored diet (Supplementary Material S4). According to the 95% confidence interval of the correlation estimations, no difference between lines could be inferred for these correlations, except for RFI whose correlation with environmental impacts was 0.49 in the LRFI line, whereas it was 0.11 in the HRFI line. A principal component analysis (PCA) was performed to illustrate these correlations between traits and environmental impacts. Figure 5 shows the projection of the traits and EIs on the two first dimensions. All the impact categories were highly correlated with FCR, with correlations higher than 0.82, driving the first dimension of the PCA. Impact categories also had moderate to high negative correlations with traits related to protein deposition BP/BL ratio, BP, PD and ADG, with the absolute values higher than 0.42 for both lines.

Fig. 5
figure 5

Projection of the traits and environmental impacts (EI) on the two first dimensions of a principal component analysis applied to the correlation matrix between and the environmental impacts and the traits after adjustment for the line effect (N = 114 pigs with data). DUR duration, ADFI average daily feed intake, ADG average daily gain, BP body protein at slaughter, BP.BL ratio of body protein-to-body lipid at slaughter, PD average daily protein deposition, BFT back fat thickness, FCR feed conversion ratio, RFI residual feed intake, BL body lipid content at slaughter, GWP global warming potential, AP acidification potential, EP freshwater eutrophication potential, LO land occupation

4 Discussion

In this study, the reduction of environmental impacts of pig production due to improvement in overall farm feed efficiency was assessed through LCA. Genetic selection for feed efficiency, formulation of diet tailored to each line, and environmental diet optimisation were combined to achieve better production efficiency with reduced environmental impacts.

4.1 Environmental assessment of overall farm feed efficiency

Performing individual LCA on the two genetic lines of pigs fed their optimised tailored diet markedly improved the environmental score, demonstrating the value of the overall farm feed efficiency approach for environmental optimisation of pig production. In this study, the objective was to demonstrate that optimized combinations of genetics and diets are a path to reduce the environmental burden of pig production. From this simulation study, changes in the assumptions and conditions of the model could affect the outcomes of each scenario. However, most deviations from the current assumptions would have a similar effect for all the compared scenarios. For instance, it is expected that variations in the supply chain of the ingredients (e.g. origin), database inventories, manure management and application, farm operations, pig survival rate, and other methodological choices would modify the magnitude of the impacts for all scenarios, while the general conclusions about the scenario differences would hold robust. The results of this study are limited to the simulation tools and further field studies will be required to confirm these outcomes. With weights of 1 for the four impact categories in the environmental score and our list of ingredients, the lines fed their optimised tailored diet had lower GWP, AP and LO than the lines fed a single conventional diet, but not higher EP. Since the phosphorous content of the optimised tailored diets was lower than in the conventional diet, the increased EP in the two lines could be explained by the higher EP of the optimised tailored diet, via higher EP of their ingredients, rather than by increased excretion and leaching of phosphorous during manure storage and spreading. The substitution of the synthetic fertilisers by the N, P and K of the manure has partly alleviated the environmental burdens of the pig production. The differences in environmental impacts between the LRFI and HRFI lines fed their optimised tailored diet were smaller than the differences when they were fed the conventional diet, even if only a limited list of ingredients to be incorporated was considered in our study. Including a larger variety of ingredients, for instance with lower environmental impacts and lower amino acid concentrations relative to NE, as HRFI pigs had lower representative requirements, could further limit the environmental impacts of the less efficient pigs in a population. Furthermore, as previously reported by Soleimani and Gilbert (2020) with the same model applied to the lines fed the conventional diet, correlations between performance traits and environmental impacts appear to be robust to changes in the animals’ genetic potential, and the present study shows that they are also robust to the diet. Thus, the high correlations between all environmental impacts and FCR and protein deposition related traits make them good candidates for the definition of an environmentally oriented selection index.

4.2 Formulation of diets tailored to each line and environmental multiobjective optimisation

A number of studies have been dedicated to optimising diets to achieve different objective functions. Pomar and Pomar (2012) considered the reduction in N and P excretions as the objective function, and Nguyen et al. (2012) targeted cost as the objective function, and GWP and EP as the constraints. Tallentire et al. (2017) minimised a single impact as the objective function along with the constraint of limiting the increase in the cost of the diet compared to a least cost diet. Mackenzie et al. (2016) included four environmental impact categories in their objective function, and combined predictions of excretion corresponding to each dietary nutrient. Finally, Garcia-Launay et al. (2018) presented a multiobjective formulation method to include feed costs and environmental impacts in the objective function using weighting factors. In our study, we capitalised on these approaches to implement a multi-objective diet formulation combining environment, cost and line nutritional requirements. More specifically, the choice of an environmental score is critical, along with the choice of which environmental impacts to include, the choice of normalization factors to standardise the magnitude of the environmental impacts in the score, and the choice of weights to combine them. First, the four highest environmental impacts at the pig production level were retained. Energy demand for instance, as one of the main impacts of diet productions, could be added to the model later (Basset-Mens et al. 2005; Leinonen et al. 2012). Second, we normalized the diet impacts to the environmental impacts of the least cost diet for each line (Garcia-Launay et al. 2018), so all environmental scores can be interpreted with respect to this reference. Third, equal weights were considered for all impact categories in the definition of the environmental score to minimise (Mackenzie et al. 2016). Diet optimisation for a single environmental impact may increase other impact categories (Tallentire et al. 2017). Giving equal weights is an arbitrary choice, and, depending on the societal context and on the load of the different impacts on the territory, different weights could be applied. However, the sensitivity analysis results showed that changes in the environmental impact score are difficult to predict when the weights are modified, as previously reported by Garcia-Launay et al. (2018): a higher value for a given weighting factor does not ensure a major reduction in the intended impact, and may increase other impacts. Finally, rather than considering the estimated emissions and excretions after diet consumption in the diet optimisation (Mackenzie et al. 2016), our formulation approach was constrained to the NE content of the resulting diet. This choice ensures consistency with the expected intakes, and hence related emissions and excretions at the pig farm level. Simultaneously minimising the environmental impacts and constraining cost is a multi-objective optimisation problem, with the issue of having a different scale for each objective. Different approaches have been proposed to solve this problem in the context of combining environmental impacts and costs, such as monetising the environmental impacts to combine all objectives in a cost function (Eldh et al. 2006), or normalizing the impacts, and weighting them in a single score (Mackenzie et al. 2016). To avoid assumptions on the costs of the different environmental impacts, we chose the second option in this study, and combined it with a constraint on the increase in cost. Environmental diet optimisation can increase the cost of the diet, which is the biggest production cost for owners of pig farms. Relative to the conventional diet, the optimised tailored diets cost less and had lower environmental impact scores, per kg of feed and per unit of NE. However, minimising the environmental impacts had a cost at the level of the diet, which in our study was higher for the HRFI optimised tailored diet than for the LRFI optimised tailored diet. Increasing the number of ingredients, and diversifying them towards incorporation of by-products, would certainly provide more flexibility in the diet optimisation and minimisation of environmental impacts. However since the main concern of the study was to develop and demonstrate the approach towards overall farm feed efficiency, a limited number of new ingredients was tested. In addition to the environmental assessment of overall farm feed efficiency strategies proposed in this study, further economic assessments would be needed to provide complementary insights into their sustainability.

4.3 Choice of nutritional requirements for each line and performance responses of individual pigs to their optimised tailored diet

The representative requirements of the LRFI were higher than those of the HRFI, as previously reported by Gilbert et al. (2017) for the same genetic lines. Respecting the high correlations between the five representative requirements, the all-at-once sensitivity analysis showed that environmental impacts were quite sensitive to representative requirements, especially when they were increased by + 1SD. Due to switches between ingredients to respond to the new requirements, the effects on the environmental impacts were quite varied, both in direction and magnitude. However, when summed in the environmental score, the main changes were changes in LRFI representative requirements. The higher baseline requirements for LRFI might reflect the higher sensitivity of impacts to higher requirements and underlines the need to adequately capture the nutritional requirements of the targeted animals.

The performance traits showed a decrease in growth rate in both lines with the optimised tailored diets compared to the conventional diet (Soleimani and Gilbert 2020), leading to approximately three more days required for the pigs to reach 120 kg BW. This is certainly related to the choice of representative requirements to formulate the line constraints: considering the average maximum nutritional requirements in each line would lead to the nonsatisfaction of the requirements in about half the animals in the early stage of the growing phase. In our dataset, this was limited to the very first days of the growing period, but could create a longer delay in reaching slaughter body weight. In an environmental perspective, the reduction in growth rate could be considered to be offset by the reduction in the environmental impacts to produce 1 kg of live pig in both lines. One possible way to alleviate this reduction in growth performance would be to increase the representative requirements, considering the 75% quantile of the maximum pig requirements per line, rather than the average maximum. Increased environmental impacts would certainly result from this strategy, especially in the more efficient genetic line, as shown by the sensitivity analysis. However, this could be reduced by formulating optimised tailored diets for different growth stages using multiphase feeding. In addition, individually tailored diet formulation and optimisation would certainly offer higher overall farm feed efficiency through precision feeding of individual pigs (Pomar and Remus 2019) selected for feed efficiency. However, a further economic assessment would reveal to what extent cost is compromised by switching from a conventional diet to optimised tailored diets at the farm level.

5 Conclusion

Animal selection for feed efficiency, formulation of diets tailored to the requirements of a genetic line, and environmental optimisation of the diet have separate potential for improving farm feed efficiency to reduce environmental impacts. Our study shows that combining these levers in an overall farm feed efficiency approach would remarkably reduce the environmental impacts of pig production systems. The real-time diet formulation tailored to the requirements of each individual selected for feed efficiency, integrated in real time optimisation according to an objective or multi-objective environmental function, would be a complementary tool to mitigate the environmental impacts of pig production. Although environmental optimisation of the production system was achieved in our study, economic evaluations of the full production system including different ranges of genetic and dietary options will be necessary to achieve selection and formulation decisions that tackle the necessary trade-offs between economic and environmental objectives of a sustainable pig production system.