mathematical model of biomass electricity generation