Every system, however big or small, is always a part of a bigger system and in turn consists of a number of smaller subsystems. This is true for both natural and technical systems. According to Systems Architecture, in order to be successful, any complex technical system has to take into account its place in the hierarchy of other systems, as well as interdependency between the components of the system on each level. The principles of Systems Architecture are universal, but there is hardly a more important area where they need to be applied than the area of sustainability. An important conclusion of applying the principles of Systems Architecture to sustainable development is that the system itself must be sustainable. This paper presents an approach to designing sustainable system architecture for buildings based on a predictive algorithm, using a specific example of a building-integrated renewable energy control system.