Optimal energy flows in the forest ecosystem: Total volume of drainage and/or irrigation channels per hectare