The building should protect the goats from prevailing winds and rain in order to reduce stress, avoid feed spoilage and reduce feed waste from energy spent on keeping warm.
As well as this provide a quiet, stress free atmosphere to encourage rumination whilst lying down.
Stressed goats will have suppressed dry matter intakes and a poor milk yield will reflect this.