This book describes how a model for optimizing the energy supply system in