The presented study deals with the space located in the attic of an older building after reconstruction. Originally, the attic space was not used, as it did not have sufficient headroom. The reconstruction was designed in such a way that the entire original pitched roof was gradually raised by 1.2 meters in parts, creating a full-fledged space under the pitched pitched roof. The visual connection of the interior space with the exterior was ensured by continuous strips of vertical windows around the perimeter of the building, each window measuring 600x600 mm. The space is also illuminated by several skylights at roof level, which, although they ensure sufficient penetration of daylight from above into the interior, at the same time allow for considerably unpleasant overheating. The task was to find a way to optimize the size of transparent surfaces and determine the accumulation of building structures in order to achieve an acceptable cumulative effect of daylight and overheating, i.e., permissible increase in indoor air temperature in summer. It means trying to theoretically design a suitable and comfortable interior space in the attic in an already existing building.