Skip to content

Compilation fails if you don't use all buildings in a geojson file #572

@vtnate

Description

@vtnate

Expected Behavior

To be able to pick & choose buildings from my geojson file to include in simulation

Actual Behavior

Using less than all buildings leads to incorrect connections. Extra loads are created, but they aren't connected to anything.
This num_buildings is only correct when all buildings in the geojson are used in the model.

Steps to Reproduce

Build this model and inspect the supHeaWat objects. There will be a supHeaWat_2 generated (because there are 2 buildings in the geojson file), but only supHeaWat_1 will have connections because we only supplied a single load to the coupling.

Potential solutions

  • Make a copy of your geojson file that only has the buildings you want to simulate
  • Write up new code to select buildings from the geojson file

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions