In recent years, the issue of energy consumption in farm buildings has received much attention. The roofs of farm buildings in Northwest China have a variety of roof forms. This paper presents the implementation of first fully confirmed the indoor thermal environment of different roof construction was significantly effected by periodic thermogenesis. In order to determine the indoor temperature distribution of the farmhouse in summer in Ningxia Hui Autonomous Region, we provided the heat transfer coefficient data of the farmhouse envelope, also detailed in the manuscript. Model of Thermal Mass Transport enables fast and accurately simulates the indoor temperature distribution of farmhouses with different roof forms on the same day, taking into account the climate zone of the region. This is despite the phase delay time of indoor temperatures for different roof forms caused by periodic initial temperature boundaries ranged from 1.55 to 2.78$$\text{h}$$
h
, and the phase delay angle ranged from 23.25$$^{\circ }$$
∘
to 41.7$$^{\circ }$$
∘
. Extensive simulated results revealed individual variability in the role of roof form, demonstrating indoor temperatures in farmhouses corresponding to different climatic zones. In addition, by analyzing and discussing the indoor temperature phase delay angle and delay time for each type of roof forms, statistical results identified the advantages of Non-equal-sloped roof as a local farmhouse roof.