Biomas for electricity and heating