onstove.OnStove.get_clean_cooking_access#

OnStove.get_clean_cooking_access()#

Calculates the clean cooking access in rural and urban settlements.

It uses the Technology.current_share_urban and Technology.current_share_rural attributes, from each technology class, in combination with the Technology.is_clean attribute to get the current clean cooking access as a percentage.

Returns:
clean_cooking_access_u: float

Stores the clean cooking access percentage in urban settlements in the clean_cooking_access_u attribute.

clean_cooking_access_r: float

Stores the clean cooking access percentage in rural settlements in the clean_cooking_access_r attribute.