Burning wood waste for energy