Operational optimization of multigeneration systems