CREATE Operation
Last updated
Last updated
The CREATE operation is used to create models and things in the models.
The Create operation has one parameter, the name of the input csv, in its configuration:
The CSV file used with the CREATE operation is referred to as the objects
csv file. It is a CSV consisting of a header row and then a row for each entity to generate within the model(s). It has two required columns:
Model_ID|Entity_Name
: identifier of the entity, composed of the site or building model identifier and a unique name for the entity separated by the |
character. Both Model_ID and Entity_Name are case sensitive, but mixing case for either is discouraged (especially as Model_ID is used for file names and not all OS's deal with that). I.e please avoid having both mdl:myBuilding and MDL:myBuilding and/or having both mdl:Room1 and mdl:room1
Class
: Brick Collection, Location and Equipment. See DCH support for Brick classes.
Additionally, an arbitrary number of subsequent 'property' columns can be added for any additional, optional metadata to be added to the model.
See for restrictions on identifier names, and csv file interpretation for options for specifying classes.
input_csvs/objects.csv
site_model|test_site
Site
building_model|test_building
Building
building_model|test_room
Room
building_model|test_ahu
AHU
Outputs
Zipping those up and running that through the tool will produce two turtle output files:
In DCH and BRICK things in models can have properties - see . Also related to those it is common in BRICK models to allow comments (rdfs:comment) and labels (rdfs:label) to be added to things.