View source: R/calc_amw_functions.R
calc_primary_energy | R Documentation |
Calculate the primary energy embodied in the feed supplied to working animals
calc_primary_energy(
.df,
harvest_waste = 0.45,
final_energy_total = MWTools::amw_analysis_constants$final_energy_total,
final_energy_ag = MWTools::amw_analysis_constants$final_energy_ag,
final_energy_tr = MWTools::amw_analysis_constants$final_energy_tr,
primary_energy_total = MWTools::amw_analysis_constants$primary_energy_total,
primary_energy_ag = MWTools::amw_analysis_constants$primary_energy_ag,
primary_energy_tr = MWTools::amw_analysis_constants$primary_energy_tr
)
.df |
A data frame containing the final energy consumption of working
animals. Usually produced by calling the
|
harvest_waste |
The proportion of energy embodied in biomass wasted when animal feed is harvested. |
final_energy_total , final_energy_ag , final_energy_tr , primary_energy_total , primary_energy_ag , primary_energy_tr |
See |
working_animals_data <- read.csv(file = MWTools::amw_test_data_path()) %>%
tidy_fao_live_animals() %>%
add_concordance_codes() %>%
trim_fao_data() %>%
get_working_species() %>%
calc_working_animals() %>%
calc_sector_split() %>%
calc_yearly_feed() %>%
calc_final_energy() %>%
calc_primary_energy()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.