SourceCode.Transport.ftt_tr_survival#
Created on Fri Jan 5 14:38:50 2024
These function construct a age bracket matrix from historical and simulated car numbers per country.
The logic is that a fixed percentage of cars per age bracket are scrapped. New cars are the sum of growth in car numbers and scappage.
This means the new car numbers can be quite volatile, especially historically
Functions
|
Add new cars to the age matrix. |
|
Transform survival function into a year-on-year ratio of survival. |
|
At the start of the simulation, set up an age matrix, assuming an equilibrium has been reached |
|
Survival function for each car type |