The planning of a w/h and the design of its layout is a complex process.
To design a w/h and its layout, just understand the business, operational activities, types of products and their flow through the facility.
The challenge in w/h design and layout is how to find an optimal solution which is low in cost and operational efficiency within a given set of constraints.