Planeto
Guida utente

Set up building selections

A building selection is a named subset of a district's buildings, saved in the scenario. Use selections to tell other tools which buildings to work on: which buildings a network layout connects, which ones get a substation, or which ones count as active in a simulation. Creating, combining or deleting a selection never changes the district itself.

Keep all the buildings of a study area in one district and use selections to describe the groups you want to compare. This is easier to maintain than a separate district for every group.

Create a selection

Run the Create building selection tool from the Tools menu.

  1. Enter a New Layer Name. Choose a name that says what the group is, such as phase 1 commitments. Until you type a name, the tool fills one in from the first option you set, such as buildings - query for a selection filter or buildings - and the layer or file name.
  2. Under Select District, pick the district that holds the buildings.
  3. Choose the buildings with any combination of the following options:
    • Shape Layer for Selection: keeps the buildings inside a polygon layer. Draw the polygon first, as described in Draw layers. If the layer has several polygons, they act as one area and you get one selection.
    • Apply a selection filter: keeps the buildings that match a condition built in the query builder, for example n_floors > 3 or a minimum annual heat demand.
    • Select list of building IDs: keeps the buildings listed in an uploaded .csv, .xlsx or .ods file. The file needs an egid column, a building_id column or a single column of IDs.
  4. Click Run.

A building must satisfy every option you set to be included. With no option set, the selection contains every building in the district. All inputs are listed in the Create building selection reference.

Other tools that create selections

  • Select buildings for network chooses the buildings that are worth connecting, by weighing the value of their heat against the cost of the pipes to reach them. See Select buildings for network.
  • Combine building selections builds a new selection from two existing ones with a union, intersection, difference or symmetric difference. Use it to build a later phase from an earlier one, or to remove a group of buildings from a larger set. See Combine building selections.

Find and inspect a selection

Each selection appears in the object tree under the Buildings item of its district, with a dot in its colour. On the map, every building in a selection carries a small dot in that colour around its pin. A building that belongs to several selections carries one dot for each, so you can see where groups overlap. Use the eye icon next to a selection in the object tree to show or hide its dots. When you zoom out, building pins are drawn as small circles.

Click a selection in the object tree to highlight its buildings on the map and open its inspector. The other buildings fade. The inspector lets you:

  • rename the selection in the Name field;
  • change the colour of its dots under Display Style;
  • jump to its district with the link next to District;
  • read the statistics of the buildings it contains under Overview, such as the number of buildings, energy reference area, heat and cooling demand, final energy, CO₂ emissions and daily maximum power.

A selection stores building IDs. If buildings later leave the district, for example after Filter buildings in district or a refresh of the district data, the inspector warns how many selected buildings are no longer in the district. The remaining buildings stay selected. Create the selection again if you need it to match the new district.

To delete a selection, open its object menu (⋯) in the object tree. Deleting a selection leaves the buildings in the district untouched.

Use a selection in other tools

Tools that accept a selection show a Building selection layer field. Leave it empty to work on every building in the district. The selection applies to that run only.

ToolEffect of the selection
Generate network layoutLays out pipes to the selected buildings only.
Extend network layoutConnects the selected buildings to the existing network.
Optimize network layoutOptimises the layout for the selected buildings.
Generate substationsCreates substations for the selected buildings only.
Connect substationsConnects all buildings and marks the selected ones as active.
Set active substation connectionsSwitches the selected connections to active or inactive.
Set building heat sourceAssigns the heat source to the selected buildings.
Set building parametersSets the chosen fields on the selected buildings.
Dimension pipesSizes pipes for the demand of the selected buildings.
Simulate network operationSimulates with the selected buildings as the active connections.
Select buildings for networkRestricts the candidates to the selected buildings, under Candidate building selection.

Two district tools also accept a selection:

  • Filter buildings in district keeps only the selected buildings when you tick Select specific buildings and choose Use an existing building selection. This removes the other buildings from the district permanently. See Filter, cluster, and set active connections.
  • District from buildings builds a new district from a selection when you choose Use existing layer. The new district takes the current attributes of the selected buildings. See District from buildings.

When Cluster buildings deletes the original district, each selection moves to the cluster district it overlaps most. Buildings that end up in a different cluster then count as missing from the selection.

Example: phase a network

  1. Run Create building selection with a shape layer covering the first construction phase. Name it phase 1.
  2. Run it again with a shape layer covering the whole network area. Name it full build-out.
  3. Run Combine building selections with Difference (A − B), full build-out as A and phase 1 as B, to get the buildings of the later phases.
  4. Run Generate network layout with full build-out as the Building selection layer to lay out the whole network.
  5. Run Simulate network operation with phase 1 as the Building selection layer to simulate the first phase on the full network.

To compare phases side by side, duplicate the scenario and change the active selection in the copy. See Duplicate and iterate.