-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
For s223 models, connection points at different levels of containment that correspond to each other use the s223:mapsTo relation. The mapsTo relation goes from the connection point on the contained equipment to the connection point on the containing equipment. I'm not sure how to incorporate this relation into a template.
For example:
:VAV a s223:SingleDuctTerminal ;
s223:contains :Damper ;
s223:hasConnectionPoint :vav-cp-in, :vav-cp-out ;
.
:Damper a s223:Damper;
s223:hasConnectionPoint :damper-cp-in, :damper-cp-out ;
.
:damper-cp-in s223:mapsTo :vav-cp-in .
:damper-cp-out s223:mapsTo :vav-cp-out .
This could probably be pretty simply addressed by being providing the ability to refer to parameters of dependent templates.
For example:
damper:
body: >
@prefix P: <urn:___param___#> .
@prefix s223: <http://data.ashrae.org/standard223#> .
P:name a s223:Damper ;
s223:hasConnectionPoint P:in, P:out .
dependencies:
- template: air-inlet-cp
args: {"name": "in"}
- template: air-outlet-cp
args: {"name": "out"}
vav:
body: >
@prefix P: <urn:___param___#> .
@prefix s223: <http://data.ashrae.org/standard223#> .
P:name a s223:SingleDuctTerminal ;
s223:contains P:Damper ;
s223:hasConnectionPoint P:in, P:out ;
.
P:Damper(in) s223:mapsTo P:in .
p:Damper(out) s223:mapsTo P:out .
dependencies:
- template: damper
args: {"name": "damper"}
- template: fan
args: {"name": "fan"}
- template: air-outlet-cp
args: {"name": "out"}
- template: air-inlet-cp
args: {"name": "in"}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels