Biomass-based electrification