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
specsfile (named asElec_rate) and theelectrified_weightto make the calibration. The binary variable is saved as a column of the GeoDataFramegdfwith the name ofCurrent_elec.See also