onstove.Biomass.transportation_time#

Biomass.transportation_time(friction_path: str, forest_path: str, model: onstove.OnStove, align: bool = False)#

This method calculates the travel time needed to gather biomass.

The travel time is calculated as the time needed (in hours) to reach the closest forest cover point from each population point. It uses a forest cover layer, a friction layer and population density layer.

Parameters:
friction_path: str

Path to the friction raster file describing the time needed (in minutes) to travel one meter within each cell.

forest_path: str

Path to the forest cover raster file.

model: OnStove model

Instance of the OnStove model containing the main data of the study case. See onstove.OnStove.

align: bool, default False

Boolean parameter to indicate if the forest cover and friction layers need to be align with the population data in the model.