Optimal Uses Of Biomass Resources In Distributed Applications