onstove.Biogas.carb#
- Biogas.carb(model: onstove.OnStove)#
Checks if carbon_emission is given in the socio-economic specification file. If it is given this is read directly, otherwise the get_carbon_intensity function is called. Function does not return anything but saves the carbon_emissions in the carbon attribute of the OnStove model object.
- Parameters:
- model: OnStove model
Instance of the OnStove model containing the main data of the study case. See
onstove.OnStove
.