View source: R/calc_intensity_litre.R
| calc_intensity_litre | R Documentation |
Computes emissions intensity as kg CO2eq per kg of fat- and protein-corrected milk (FPCM).
calc_intensity_litre(
total_emissions,
milk_litres,
fat = 4,
protein = 3.3,
milk_density = 1.03
)
total_emissions |
Numeric or cf_total object. Total emissions in kg CO2eq
(from |
milk_litres |
Numeric. Annual milk production in litres. |
fat |
Numeric. Average fat percentage of milk (0-100). Default = 4. |
protein |
Numeric. Average protein percentage of milk (0-100). Default = 3.3. |
milk_density |
Numeric. Milk density in kg/L. Default = 1.03. |
The correction to FPCM (fat- and protein-corrected milk) follows the IDF formula:
FPCM = milk_kg * (0.1226 * fat_pct + 0.0776 * protein_pct + 0.2534)
Where milk_kg = milk_litres * milk_density
A list of class "cf_intensity" with intensity (kg CO2eq/kg FPCM), FPCM production, and calculation details.
# Using numeric total emissions directly
calc_intensity_litre(total_emissions = 85000, milk_litres = 750000)
# If you have a cf_total object 'tot' (e.g., from calc_total_emissions):
# calc_intensity_litre(tot, milk_litres = 750000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.