swifco_rs.ageing module

swifco_rs.ageing.default_ageing(max_age_piglet_years=0.5, max_age_yearling_years=2.0, initial_age_distribution=[0.38, 0.24, 0.15, 0.09, 0.06, 0.03, 0.02, 0.01, 0.01, 0.01])

Default ageing and initial age distribution

The ageing process iterates over all individuals. For each individual \(k\), age \(T_k\) is incremented by one week.

Initial age distributions are usually taken from the results of a 100-year model run [Kramer-Schadt_2009].

Parameters:

max_age_piglet_years - maximum age of piglets in years, before they become yearlings

max_age_yearling_years - maximum age of yearlings in years, before they become adults

initial_age_distribution - initial age distribution, with probability per year of age