ALBA is a facility co-financed by the Spanish government and the Catalan government. It is a new generation of synchrotron. ALBA is a circular-shaped machine, called a synchrotron, that uses arrays of magnets, called insertion devices to generate bright beams of synchrotron light. ALBA is situated in Cerdanyola del Vallès, near Barcelona, a welcoming, plural and diverse city, a city to live and share. Around the machine there are a collection of experimental research laboratories, called beamlines. At each beamline, scientists independantly use the light generated by the machine for a wide variety of experiments. In this new science facility, GTD develops system for ventilation control and generation of cold demineralized water necessary to cool the magnets and the experiments of ALBA. In total the system has about 8,000 physical inputs and outputs with about 130 loops of regulation. All this information is displayed and managed in the supervisory layer, divided into about 200 synoptic. While material has been used in industrial control and supervision of highly tested in the industry (like automatons SIEMENS). In the initial phase of the project, GTD has gone beyond merely integrating the work of developing an energy simulation of system behavior to validate before launching the stability of the facility. Techniques have been used simulation and physical modeling of parts of the installation affected by the control system. This model has been the basis for designing the control loops of first and second level, providing the control system a homogeneous behavior but at the same time, tolerant of partial failures of the system.