In a traditional Chinese
四合院 ('courtyard residence'),
上房 is the north-facing principal building reserved for the senior generation - also called
正房. Side rooms (
厢房) are for younger generations or guests. The hierarchy of rooms maps directly onto the family hierarchy.