Method and Apparatus for Providing a Cost-Optimized Route for an Electrical Cable in a Three-Dimensional Model of a Building
A method for defining a route for a wire through a three-dimensional building. The method comprises: modeling the three-dimensional building as: a two-dimensional array of panels, wherein any two panels in the array of panels are connected panels if a wire can be directly routed from one panel to the other panel, a set of coordinates for each of one or more panels in the array of panels where a wire can enter or exit the panel, and a union of the respective set of coordinates for each of the one or more connected panels in the array of panels where a wire can be routed between the connected panels; and selecting one or more panels in the array through which to route the wire based on the unions of the respective set of coordinates for each of the one or more connected panels in the array of panels.
1 . A method for defining a route for a wire through a three-dimensional building, the method comprising:
modeling the three-dimensional building as:
a two-dimensional array of panels, wherein any two panels in the array of panels are connected panels if a wire can be directly routed from one panel to the other panel;
a set of coordinates for each of one or more panels in the array of panels where a wire can enter or exit the panel; and
a union of the respective set of coordinates for each of the one or more connected panels in the array of panels where a wire can be routed between the connected panels; and
selecting one or more panels in the array through which to route the wire based on the unions of the respective set of coordinates for each of the one or more connected panels in the array of panels.
2 . The method of claim 1 , wherein the set of coordinates for each of one or more panels in the array of panels where a wire can enter or exit the panel comprise one of a side edge, a front or a back edge, and an area edge of the panel.
3 . The method of claim 1 , further comprising:
modeling each panel in the two-dimensional array of panels as a two-dimensional array of quadrilateral cells;
assigning a cost to each cell in the array of cells for the panel; and
calculating a route for the wire through each panel based on the assigned costs of the cells in the array of cells for the panel.
4 . The method of claim 3 , wherein modeling each panel in the two-dimensional array of panels as the two-dimensional array of quadrilateral cells comprises modeling each panel in the two-dimensional array of panels as a two-dimensional array of quadrilateral cells aligned with a structural design of a corresponding physical panel in the three-dimensional building.
5 . The method of claim 3 , wherein selecting one or more panels in the array through which to route the wire based on the unions of the respective set of coordinates for each of the one or more connected panels in the array of panels comprises selecting one or more panels in the array through which to route the wire further based on the defined route for the wire through each panel based on the assigned costs of the cells in the array of cells for the panel.
6 . The method of claim 3 , further comprising assigning a cost to each side of each cell in the array of cells for the panel; and
wherein assigning the cost to each cell in the array of cells comprises assigning the cost to each cell based on the assigned cost to each side of the cell.
7 . The method of claim 3 , wherein calculating the route for the wire through each panel based on the assigned costs of the cells in the array of cells for the panel comprises calculating a lowest cost route for the wire through each panel based on the assigned costs of the cells in the array of cells for the panel.
8 . Non-transitory computer readable storage media having instructions stored thereon that, when executed by a processor of a system, the instructions cause the system to perform operations for defining a route for a wire through a three-dimensional building, the method comprising:
modeling the three-dimensional building as:
a two-dimensional array of panels, wherein any two panels in the array of panels are connected panels if a wire can be directly routed from one panel to the other panel;
a set of coordinates for each of one or more panels in the array of panels where a wire can enter or exit the panel; and
a union of the respective set of coordinates for each of the one or more connected panels in the array of panels where a wire can be routed between the connected panels; and
selecting one or more panels in the array through which to route the wire based on the unions of the respective set of coordinates for each of the one or more connected panels in the array of panels.
9 . The non-transitory computer readable storage media of claim 8 , wherein the set of coordinates for each of one or more panels in the array of panels where a wire can enter or exit the panel comprise one of a side edge, a front or a back edge, and an area edge of the panel.
10 . The non-transitory computer readable storage media of claim 8 , further comprising:
modeling each panel in the two-dimensional array of panels as a two-dimensional array of quadrilateral cells;
assigning a cost to each cell in the array of cells for the panel; and
calculating a route for the wire through each panel based on the assigned costs of the cells in the array of cells for the panel.
11 . The non-transitory computer readable storage media of claim 10 , wherein modeling each panel in the two-dimensional array of panels as the two-dimensional array of quadrilateral cells comprises modeling each panel in the two-dimensional array of panels as a two-dimensional array of quadrilateral cells aligned with a structural design of a corresponding physical panel in the three-dimensional building.
12 . The non-transitory computer readable storage media of claim 10 , wherein selecting one or more panels in the array through which to route the wire based on the unions of the respective set of coordinates for each of the one or more connected panels in the array of panels comprises selecting one or more panels in the array through which to route the wire further based on the defined route for the wire through each panel based on the assigned costs of the cells in the array of cells for the panel.
13 . The non-transitory computer readable storage media of claim 10 , further comprising assigning a cost to each side of each cell in the array of cells for the panel; and
wherein assigning the cost to each cell in the array of cells comprises assigning the cost to each cell based on the assigned cost to each side of the cell.
14 . The non-transitory computer readable storage media of claim 10 , wherein calculating the route for the wire through each panel based on the assigned costs of the cells in the array of cells for the panel comprises calculating a lowest cost route for the wire through each panel based on the assigned costs of the cells in the array of cells for the panel.