Spatial pattern is conceived as a cubic grid. Each cell of this grid takes 7 states: commerce (1), industry (2), housing (3), vacant (4), river (5), railway (6), and road (7).

A cell in a state that ranges 1-3 is considered as a built cell. In this case, the states are related to the activity that is carried out within each building. Three indexes identify a cell . The first two indexes and , relate to the position on the plane; the third one, , represents height of the cell if the cell is built, or, otherwise stated, the floors number of the building as follows: represents the ground floor, the first floor of the building and so on. Only a cell with may take states ranging from 5-7.

Obviously a cell with cannot be built if the underlying cell is not already built. Building cost is related to each cell and changes with . In addition for each activity, there is also a cost that is related to the floor level on which the activity occurs. In the latter case, if cost increases sensibly with the increasing of , then built cells with will become rare.

The method for assigning states to cells is similar to that proposed by White, et al. (1997). Each cell is potentially capable of changing from state to a state with and . This potential can be calculated using equation 1. States are assigned by beginning with the maximum potential and continuing until the global quantity of each state, exogenously established, has been reached. The potential ability of transformation from state to state in cell is calculated using the following equation:

where:

- : transition potential from state
to state in cell ;
- : weight
connected to the cells in state
at distance from
in relation to state ;
- if he state of
the cell distant from
is equal
to ,
otherwise;
- : inertia parameter,
if ,
otherwise ;
- : building cost
for a cell at floor
in case ;
- : cost related to
performing activity in floor ;
- : difficulty to build
in relation to the
slope of ground
, ;
- : disturbance factor, .