Energy-efficient management of a wood industry facility