onstove.OnStove.maximum_net_benefit#
- OnStove.maximum_net_benefit(techs: list[Technology], restriction: bool = True)[source]#
Extracts the technology or technology combinations producing the highest net-benefit in each cell.
It saves the technology with highest net-benefit in the
max_benefi_tech
column of thegdf
GeoDataframe. This also dictates the benefits and costs extracted in the extract functions.- Parameters:
- techs: list of Technology like objects
Technologies to compare and select the one, or combination of two, that produces the highest net-benefit in each cell.
- restriction: bool, default True
Whether to have the restriction of only selecting technologies producing a positive benefit compared to the baseline. This avoids selecting stoves simply due to them being cheaper.