Heat-pump system has a special feature that provides heating operation in winter season and cooling operation in summer season with a single system. It also has a merit that absorbs and makes use of wastewater heat, terrestrial heat, and heat energy from the air. Because heat-pump system uses midnight electric power, it decreases power peak load and is very economical as a result. By using the property that energy source is converted to low temperature when losing the heat, high temperature energy source is used to provide heating water and low temperature energy source is used to provide cooling water simultaneously in summer season. This study made up a heat-pump system with 4 air heat sources and a water heat source and implemented the optimal operation algorithm that works with numbers of heat pumps to operate them efficiently. With the heat-pump system, we applied it to cooling and heating operation in summer season operation mode in a real building.