In energy modeling terms, a wall is a vertical or near vertical surface that is exposed to ambient and solar conditions, and subsequently transfers heat into or out of a space. It is not to be confused with the term partition - which divides two spaces
Example:
In energy modeling, a corner office has two walls, and 2 partitions