onstove.OnStove.current_elec#

OnStove.current_elec()[source]#

Calculates a binary variable that defines which settlements are at least partially electrified.

It uses the electrification rate provided by the user in the specs file (named as Elec_rate) and the electrified_weight to make the calibration. The binary variable is saved as a column of the GeoDataFrame gdf with the name of Current_elec.