]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph
811fd18b8f6acbc5bbd26304fcd4dbfdbfe774fb
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetwork.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 DIA = <http://www.simantics.org/Diagram-2.2>
3 STR = <http://www.simantics.org/Structural-1.2>
4 MOD = <http://www.simantics.org/Modeling-1.2>
5 VP = <http://www.simantics.org/Viewpoint-1.2>
6 IMAGE = <http://www.simantics.org/Image2-1.2>
7 SEL = <http://www.simantics.org/SelectionView-1.2>
8 SEL_UI = <http://www.simantics.org/SelectionViewUI-1.1>
9 G2D = <http://www.simantics.org/G2D-1.1>
10
11 DN = <http://www.simantics.org/DistrictNetwork-1.0> : L0.Ontology
12     @L0.new
13     L0.Ontology.global true
14     L0.HasResourceClass "org.simantics.district.network.ontology.DistrictNetworkResource"
15
16 // ----------------------------------------------------------------------------
17
18 DN.SCLMain : L0.SCLModule
19     L0.SCLModule.definition
20         """
21 include "Simantics/District/SCLMain"
22 """
23
24 // ----------------------------------------------------------------------------
25
26 defProperty : L0.Template
27     @template %subject %label %range
28         %subject <R L0.HasProperty : SEL.GenericParameterType
29             L0.HasLabel %label : L0.String
30             L0.HasRange %range
31
32 // ----------------------------------------------------------------------------
33
34 DN.Diagram <T DIA.Diagram
35 DN.Layer <T DIA.Layer
36 DN.Connection <T DIA.Connection
37 DN.Element <T DIA.Element : L0.Type
38
39 DN.Vertex <T DN.Element
40     >-- DN.Vertex.HasElevation
41         @defProperty "Elevation" L0.Double
42     >-- DN.Vertex.HasAltElevation
43         @defProperty "Alternative Elevation" L0.Double
44     >-- DN.Vertex.HasAddress
45         @defProperty "Address" L0.String
46     >-- DN.Vertex.HasSupplyTemperature
47         @defProperty "Supply Temperature" L0.Double 
48     >-- DN.Vertex.HasReturnTemperature 
49         @defProperty "Return Temperature" L0.Double
50     >-- DN.Vertex.HasSupplyPressure
51         @defProperty "Supply Pressure" L0.Double 
52     >-- DN.Vertex.HasReturnPressure
53         @defProperty "Return Pressure" L0.Double 
54     >-- DN.Vertex.HasDeltaPressure
55         @defProperty "Delta pressure" L0.Double 
56     >-- DN.Vertex.HasDeltaTemperature
57         @defProperty "Delta temperature" L0.Double 
58     >-- DN.Vertex.HasHeatPower
59         @defProperty "Heat Power" L0.Double
60     >-- DN.Vertex.HasPeakPower
61         @defProperty "Peak Power" L0.Double 
62     >-- DN.Vertex.HasNominalHeadM
63         @defProperty "NominalHeadM" L0.Double 
64     >-- DN.Vertex.HasNominalHeadB
65         @defProperty "NominalHeadB" L0.Double 
66     >-- DN.Vertex.HasNominalFlow
67         @defProperty "Nominal Flow" L0.Double 
68     >-- DN.Vertex.HasMaximumHeadM
69         @defProperty "Maximum head M" L0.Double 
70     >-- DN.Vertex.HasHeatLoadDs
71         @defProperty "Heat Load ds" L0.Double 
72     >-- DN.Vertex.HasMassFlow
73         @defProperty "Mass Flow" L0.Double 
74     >-- DN.Vertex.HasVolFlow
75         @defProperty "Vol Flow" L0.Double 
76     >-- DN.Vertex.HasVelocity
77         @defProperty "Velocity" L0.Double 
78     >-- DN.Vertex.HasFlowArea
79         @defProperty "Flow Area" L0.Double 
80     >-- DN.Vertex.HasValvePosition
81         @defProperty "Valve position" L0.Double 
82     >-- DN.Vertex.HasNominalPressureLoss
83         @defProperty "Nominal Pressure Loss" L0.Double
84     >-- DN.Vertex.HasPumpInReturnLine
85         @defProperty "Pump in Return Line" L0.Double
86     >-- DN.Vertex.HasHeadPumpMaximum
87         @defProperty "Head pump maximum" L0.Double
88     >-- DN.Vertex.HasHeadPumpNominal
89         @defProperty "Head pump nominal" L0.Double
90     >-- DN.Vertex.HasFrequencyConverterControlled
91         @defProperty "Frequency Converter Controlled" L0.Double
92     >-- DN.Vertex.HasInternalValveMeasurement
93         @defProperty "Internal Valve Measurement" L0.Double
94     >-- DN.Vertex.HasPumpMassFlowNominal
95         @defProperty "Pump Mass Flow Nominal" L0.Double
96     >-- DN.Vertex.HasPumpMeMax
97         @defProperty "Pump Me Max" L0.Double
98     >-- DN.Vertex.HasPumpMeMin
99         @defProperty "Pump Me Min" L0.Double
100     >-- DN.Vertex.HasPumpSpeedMax
101         @defProperty "Pump Speed Max" L0.Double
102     >-- DN.Vertex.HasPumpSpeedMin
103         @defProperty "Pump Speed Min" L0.Double
104     >-- DN.Vertex.HasValveReturnLine
105         @defProperty "Valve Return Line" L0.Double
106     >-- DN.Vertex.HasValveMeMax
107         @defProperty "Valve Me Max" L0.Double
108     >-- DN.Vertex.HasValveMeMin
109         @defProperty "Valve Me Min" L0.Double
110     >-- DN.Vertex.HasValveMinPosition
111         @defProperty "Valve Min Position" L0.Double
112     >-- DN.Vertex.HasValveOutletMode
113         @defProperty "Valve Outlet Mode" L0.Double
114     >-- DN.Vertex.HasValvePressLossNominal
115         @defProperty "Valve Press Loss Nominal" L0.Double
116     >-- DN.Vertex.HasOpeningTime 
117         @defProperty "Opening Time" L0.Double
118     @L0.assert DN.Vertex.HasElevation 0.0
119
120 DN.Edge <T DN.Element
121     >-- DN.Edge.HasElevation
122         @defProperty "Elevation" L0.Double
123     >-- DN.Edge.HasLength 
124         @defProperty "Length" L0.Double
125         L0.readOnly true
126     >-- DN.Edge.HasGeometry
127         @defProperty "Detailed Geometry" L0.DoubleArray
128     >-- DN.Edge.HasDiameter
129         @defProperty "Diameter" L0.Double
130     >-- DN.Edge.HasOuterDiameter
131         @defProperty "Outer Diameter" L0.Double
132     >-- DN.Edge.HasNominalMassFlow
133         @defProperty "Nominal Mass Flow" L0.Double
134     >-- DN.Edge.HasFlowArea
135         @defProperty "Flow Area" L0.Double
136     >-- DN.Edge.HasKReturn
137         @defProperty "K Return" L0.Double
138     >-- DN.Edge.HasKSupply
139         @defProperty "K Supply" L0.Double
140     >-- DN.Edge.HasTGround
141         @defProperty "T Ground" L0.Double
142     @L0.assert DN.Edge.HasDiameter 100.0
143     @L0.assert DN.Edge.HasOuterDiameter 125.0
144
145 // ----------------------------------------------------------------------------
146
147 DN.EdgeDefaultMapping <R L0.HasProperty : DN.EdgeMappingParameterType
148     L0.HasLabel "Default Edge mapping"
149
150 DN.VertexDefaultMapping <R L0.HasProperty : DN.VertexMappingParameterType
151     L0.HasLabel "Default Vertex mapping"
152
153 DN.RightClickDefaultMapping <R L0.HasProperty : DN.VertexMappingParameterType
154     L0.HasLabel "Right click Vertex mapping"
155
156 DN.LeftClickDefaultMapping <R L0.HasProperty : DN.VertexMappingParameterType
157     L0.HasLabel "Left click Vertex mapping"
158
159 DN.Diagram.DefaultPipeTechTypeId <R L0.HasProperty : SEL.GenericParameterType
160     L0.HasLabel "Default Pipe Tech Type ID"
161
162
163 // ----------------------------------------------------------------------------
164
165 DN.Functions : L0.Library
166
167 DN.VertexMappingParameterType <T SEL.GenericParameterType
168   @L0.assert SEL.HasDisplayValue
169     _ : SEL.DisplayValue
170       SEL.HasEnumerationValues DN.Functions.enumerationValues : L0.Function
171       SEL.HasCustomModifier DN.Functions.defaultVertexMappingModifier : L0.Function
172
173 DN.EdgeMappingParameterType <T SEL.GenericParameterType
174   @L0.assert SEL.HasDisplayValue
175     _ : SEL.DisplayValue
176       SEL.HasEnumerationValues DN.Functions.enumerationValues
177       SEL.HasCustomModifier DN.Functions.defaultEdgeMappingModifier : L0.Function
178
179 DN.MappingParameterType <T SEL.GenericParameterType
180   @L0.assert SEL.HasDisplayValue
181     _ : SEL.DisplayValue
182       SEL.HasEnumerationValues DN.Functions.enumerationValues
183       SEL.HasCustomModifier DN.Functions.mappingModifier : L0.Function
184
185 // ----------------------------------------------------------------------------
186
187 DN.HasMapping <R L0.HasProperty : DN.MappingParameterType
188     L0.HasLabel "Mapping"
189
190 DN.HasId --> L0.String <R L0.HasProperty : SEL.GenericParameterType
191     L0.HasLabel "Id"
192     L0.readOnly false
193
194 DN.InLayer
195     @L0.defTag 
196     @L0.tag L0.Abstract
197
198 DN.HasInLayerTag <R L0.HasProperty
199     L0.HasRange L0.Tag
200
201 // For associating typical diagram source and instance structures with each other
202 DN.Diagram.MappedDiagram <R L0.IsWeaklyRelatedTo
203     L0.InverseOf DN.Diagram.MappedFromDiagram <R L0.IsWeaklyRelatedTo
204 DN.MappedComponent <R L0.IsWeaklyRelatedTo
205     L0.InverseOf DN.MappedFromElement <R L0.IsWeaklyRelatedTo
206
207 DN.Diagram.trackChangesEnabled <R L0.HasProperty : SEL.GenericParameterType
208     L0.HasRange L0.Boolean
209     L0.HasLabel "Track changes"
210
211 DN.Diagram.splitToMultipleEnabled <R L0.HasProperty : SEL.GenericParameterType
212     L0.HasRange L0.Boolean
213     L0.HasLabel "Split To Multiple Diagrams"
214
215 // Dynamic Visualisations
216
217 DN.VisualisationsFolder <T L0.Entity
218
219 DN.Diagram.Visualisations <T L0.Entity
220     >-- DN.Diagram.Visualisations.ShowColorBars
221         @defProperty "Show Color Bars" L0.Boolean
222     >-- DN.Diagram.Visualisations.ShowColorBarTicks
223         @defProperty "Show Color Bar Ticks" L0.Boolean
224     >-- DN.Diagram.Visualisations.UseColorBarGradients
225         @defProperty "Use Color Bar Gradients" L0.Boolean
226     >-- DN.Diagram.Visualisations.ColorBarLocation
227         @defProperty "Color Bar Location" L0.String
228     >-- DN.Diagram.Visualisations.ColorBarSize
229         @defProperty "Color Bar Size" L0.String
230     >-- DN.Diagram.Visualisations.ShowSizeBars
231         @defProperty "Show Size Bars" L0.Boolean
232     >-- DN.Diagram.Visualisations.ShowSizeBarTicks
233         @defProperty "Show Size Bar Ticks" L0.Boolean
234     >-- DN.Diagram.Visualisations.UseSizeBarGradients
235         @defProperty "Use Size Bar Gradients" L0.Boolean
236     >-- DN.Diagram.Visualisations.SizeBarLocation
237         @defProperty "Size Bar Location" L0.String
238     >-- DN.Diagram.Visualisations.SizeBarSize
239         @defProperty "Size Bar Size" L0.String
240     >-- DN.Diagram.Visualisations.HideEdges
241         @defProperty "Hide Edges" L0.String
242     >-- DN.Diagram.Visualisations.HidePoints
243         @defProperty "Hide Points" L0.String
244     >-- DN.Diagram.Visualisations.HideConsumers
245         @defProperty "Hide Consumers" L0.String
246     >-- DN.Diagram.Visualisations.HideProducers
247         @defProperty "Hide Producers" L0.String
248     >-- DN.Diagram.Visualisations.HideValves
249         @defProperty "Hide Valves" L0.String
250     >-- DN.Diagram.Visualisations.HidePumpingStations
251         @defProperty "Hide Pumping Stations" L0.String
252     >-- DN.Diagram.Visualisations.StaticPropertiesNetworkBranches
253         @defProperty "Static Properties Network Branches" L0.String
254     >-- DN.Diagram.Visualisations.StaticPropertiesPoints
255         @defProperty "Static Properties Points" L0.String
256     >-- DN.Diagram.Visualisations.StaticPropertiesConsumers
257         @defProperty "Static Properties Consumers" L0.String
258     >-- DN.Diagram.Visualisations.DynamicSymbolsShutoffValves
259         @defProperty "Dynamic Symbols Shutoff Valves" L0.String
260     >-- DN.Diagram.Visualisations.DynamicSymbolsProducers
261         @defProperty "Dynamic Symbols Producers" L0.String
262     >-- DN.Diagram.Visualisations.DynamicSymbolsValves
263         @defProperty "Dynamic Symbols Valves" L0.String
264     >-- DN.Diagram.Visualisations.DynamicSymbolsPumpingStations
265         @defProperty "Dynamic Symbols Pumping Stations" L0.String
266
267 DN.Diagram.Visualisations.ColorContribution <T L0.Entity
268 DN.Diagram.Visualisations.SizeContribution <T L0.Entity
269 DN.Diagram.Visualisations.ArrowContribution <T L0.Entity
270
271 DN.Diagram.Visualisations.colorContributions <R L0.HasProperty
272 DN.Diagram.Visualisations.sizeContributions <R L0.HasProperty
273 DN.Diagram.Visualisations.arrowContributions <R L0.HasProperty
274
275 DN.Diagram.Visualisations.colorContributionContributorName <R L0.HasProperty
276 DN.Diagram.Visualisations.colorContributionLabel <R L0.HasProperty
277 DN.Diagram.Visualisations.colorContributionModuleName <R L0.HasProperty
278 DN.Diagram.Visualisations.colorContributionModuleAttribute <R L0.HasProperty
279 DN.Diagram.Visualisations.colorContributionUnit <R L0.HasProperty
280 DN.Diagram.Visualisations.colorContributionVariableGain <R L0.HasProperty
281 DN.Diagram.Visualisations.colorContributionVariableBias <R L0.HasProperty
282 DN.Diagram.Visualisations.colorContributionDefaultColorMap <R L0.HasProperty
283 DN.Diagram.Visualisations.colorContributionDefaultMin <R L0.HasProperty
284 DN.Diagram.Visualisations.colorContributionDefaultMax <R L0.HasProperty
285 // for graph persistence only
286 DN.Diagram.Visualisations.colorContributionUsed <R L0.HasProperty
287 DN.Diagram.Visualisations.colorContributionUseDefault <R L0.HasProperty
288
289 DN.Diagram.Visualisations.sizeContributionContributorName <R L0.HasProperty
290 DN.Diagram.Visualisations.sizeContributionLabel <R L0.HasProperty
291 DN.Diagram.Visualisations.sizeContributionModuleName <R L0.HasProperty
292 DN.Diagram.Visualisations.sizeContributionModuleAttribute <R L0.HasProperty
293 DN.Diagram.Visualisations.sizeContributionUnit <R L0.HasProperty
294 DN.Diagram.Visualisations.sizeContributionVariableGain <R L0.HasProperty
295 DN.Diagram.Visualisations.sizeContributionVariableBias <R L0.HasProperty
296 DN.Diagram.Visualisations.sizeContributionDefaultSizeMap <R L0.HasProperty
297 DN.Diagram.Visualisations.sizeContributionDefaultMin <R L0.HasProperty
298 DN.Diagram.Visualisations.sizeContributionDefaultMax <R L0.HasProperty
299 // for graph persistence only
300 DN.Diagram.Visualisations.sizeContributionUsed <R L0.HasProperty
301 DN.Diagram.Visualisations.sizeContributionUseDefault <R L0.HasProperty
302
303 DN.Diagram.Visualisations.arrowContributionContributorName <R L0.HasProperty
304 DN.Diagram.Visualisations.arrowContributionLabel <R L0.HasProperty
305 DN.Diagram.Visualisations.arrowContributionModuleName <R L0.HasProperty
306 DN.Diagram.Visualisations.arrowContributionModuleAttribute <R L0.HasProperty
307 DN.Diagram.Visualisations.arrowContributionVariableGain <R L0.HasProperty
308 DN.Diagram.Visualisations.arrowContributionVariableBias <R L0.HasProperty
309 // for graph persistence only
310 DN.Diagram.Visualisations.arrowContributionUsed <R L0.HasProperty
311 DN.Diagram.Visualisations.arrowContributionUseDefault <R L0.HasProperty
312
313 // End of dynamic visualisations
314
315 DN.AddLayerToDNDiagramTemplate <T L0.Template
316
317 DN.EPSG_4326 : DN.SpatialRefSystem
318     L0.HasLabel "EPSG:4326"
319     DN.HasSRID 4326
320
321 DN.SpatialRefSystem <T L0.Property
322     L0.readOnly true
323
324 DN.HasSpatialRefSystem <R L0.HasProperty : SEL.GenericParameterType
325     L0.HasRange DN.SpatialRefSystem
326     L0.HasLabel "Spatial Reference System"
327
328 DN.HasSRID <R L0.HasProperty
329     L0.HasRange L0.Integer
330
331 DN.HasSRTEXT <R L0.HasProperty
332     L0.HasRange L0.String
333
334 DN.Functions.compositeInstantiator : L0.ExternalValue
335
336 DN.Composite <T STR.Composite
337     STR.Composite.instantiationFunction DN.Functions.compositeInstantiator
338     @L0.assert MOD.HasModelingTemplate
339         _ : MOD.DiagramTemplate
340             MOD.HasDiagramType DN.Diagram
341     @L0.assert MOD.HasModelingTemplate
342         _ : DN.AddLayerToDNDiagramTemplate
343
344 DN.HasStartVertex <R L0.DependsOn
345     L0.HasDomain DN.Edge
346     L0.HasRange DN.Vertex
347     L0.InverseOf DN.HasStartVertex_Inverse <R L0.IsRelatedTo
348
349 DN.HasEndVertex <R L0.DependsOn
350     L0.HasDomain DN.Edge
351     L0.HasRange DN.Vertex
352     L0.InverseOf DN.HasEndVertex_Inverse <R L0.IsRelatedTo
353
354 // ----------------------------------------------------------------------------
355
356 // Component MAPPING
357 DN.Mapping <T L0.Library
358
359 DN.Functions.convertToValue : L0.ExternalValue
360
361 DN.Mapping.Base <T L0.Value
362   >-- DN.Mapping.Id --> L0.String <R L0.HasProperty
363   >-- DN.Mapping.ComponentType --> STR.ComponentType <R L0.DependsOn
364   >-- DN.Mapping.Terminals --> DN.Mapping.TerminalPair <R L0.HasProperty
365   @L0.assert L0.ConvertsToValueWith DN.Functions.convertToValue
366
367 DN.Mapping.Terminal <T L0.Entity
368     L0.HasRange L0.String
369
370 DN.Mapping.TerminalPair <T L0.Property
371     >-- DN.Mapping.InputTerminal --> DN.Mapping.Terminal <R L0.HasProperty
372     >-- DN.Mapping.OutputTerminal --> DN.Mapping.Terminal <R L0.HasProperty
373
374 DN.Mapping.VertexMapping <T DN.Mapping.Base
375     // Common
376     >-- DN.Mapping.VertexMapping.ElevationAttribute --> L0.String <R L0.HasProperty
377     >-- DN.Mapping.VertexMapping.ElevationAltAttribute --> L0.String <R L0.HasProperty
378     >-- DN.Mapping.VertexMapping.SupplyTemperatureAttribute --> L0.String <R L0.HasProperty
379     >-- DN.Mapping.VertexMapping.ReturnTemperatureAttribute --> L0.String <R L0.HasProperty
380     >-- DN.Mapping.VertexMapping.SupplyPressureAttribute --> L0.String <R L0.HasProperty
381     >-- DN.Mapping.VertexMapping.ReturnPressureAttribute --> L0.String <R L0.HasProperty
382     >-- DN.Mapping.VertexMapping.DeltaPressureAttribute --> L0.String <R L0.HasProperty
383     >-- DN.Mapping.VertexMapping.DeltaTemperatureAttribute --> L0.String <R L0.HasProperty
384     >-- DN.Mapping.VertexMapping.XAttribute --> L0.String <R L0.HasProperty
385     >-- DN.Mapping.VertexMapping.YAttribute --> L0.String <R L0.HasProperty
386     // Production
387     >-- DN.Mapping.VertexMapping.dpAttribute --> L0.String <R L0.HasProperty
388     >-- DN.Mapping.VertexMapping.dtAttribute --> L0.String <R L0.HasProperty
389     >-- DN.Mapping.VertexMapping.HeatPowerAttribute --> L0.String <R L0.HasProperty
390     >-- DN.Mapping.VertexMapping.PeakPowerAttribute --> L0.String <R L0.HasProperty
391     >-- DN.Mapping.VertexMapping.NominalHeadMAttribute --> L0.String <R L0.HasProperty
392     >-- DN.Mapping.VertexMapping.NominalHeadBAttribute --> L0.String <R L0.HasProperty
393     >-- DN.Mapping.VertexMapping.NominalFlowAttribute --> L0.String <R L0.HasProperty
394     >-- DN.Mapping.VertexMapping.MaximumHeadMAttribute --> L0.String <R L0.HasProperty
395     // Consumers
396     >-- DN.Mapping.VertexMapping.HeatLoadDsAttribute --> L0.String <R L0.HasProperty
397     >-- DN.Mapping.VertexMapping.AddressAttribute --> L0.String <R L0.HasProperty
398     >-- DN.Mapping.VertexMapping.MassFlowAttribute --> L0.String <R L0.HasProperty
399     >-- DN.Mapping.VertexMapping.VolFlowAttribute --> L0.String <R L0.HasProperty
400     >-- DN.Mapping.VertexMapping.VelocityAttribute --> L0.String <R L0.HasProperty
401     >-- DN.Mapping.VertexMapping.FlowAreaAttribute --> L0.String <R L0.HasProperty
402     >-- DN.Mapping.VertexMapping.ValvePositionAttribute --> L0.String <R L0.HasProperty
403     >-- DN.Mapping.VertexMapping.NominalPressureLossAttribute --> L0.String <R L0.HasProperty
404     >-- DN.Mapping.VertexMapping.NominalMassFlowAttribute --> L0.String <R L0.HasProperty
405
406     // pumping station
407     >-- DN.Mapping.VertexMapping.HeadPumpMaximumAttribute --> L0.String <R L0.HasProperty
408     >-- DN.Mapping.VertexMapping.HeadPumpNominalAttribute --> L0.String <R L0.HasProperty
409     >-- DN.Mapping.VertexMapping.FrequencyConverterControlledAttribute --> L0.String <R L0.HasProperty
410     >-- DN.Mapping.VertexMapping.InternalValveMeasurementAttribute --> L0.String <R L0.HasProperty
411     >-- DN.Mapping.VertexMapping.PumpInReturnLineAttribute --> L0.String <R L0.HasProperty
412     >-- DN.Mapping.VertexMapping.PumpMassFlowNominalAttribute --> L0.String <R L0.HasProperty
413     >-- DN.Mapping.VertexMapping.PumpMeMaxAttribute --> L0.String <R L0.HasProperty
414     >-- DN.Mapping.VertexMapping.PumpMeMinAttribute --> L0.String <R L0.HasProperty
415     >-- DN.Mapping.VertexMapping.PumpSpeedMaxAttribute --> L0.String <R L0.HasProperty
416     >-- DN.Mapping.VertexMapping.PumpSpeedMinAttribute --> L0.String <R L0.HasProperty
417     >-- DN.Mapping.VertexMapping.ValveReturnLineAttribute --> L0.String <R L0.HasProperty
418     >-- DN.Mapping.VertexMapping.ValveMeMaxAttribute --> L0.String <R L0.HasProperty
419     >-- DN.Mapping.VertexMapping.ValveMeMinAttribute --> L0.String <R L0.HasProperty
420     >-- DN.Mapping.VertexMapping.ValveMinPositionAttribute --> L0.String <R L0.HasProperty
421     >-- DN.Mapping.VertexMapping.ValveOutletModeAttribute --> L0.String <R L0.HasProperty
422     >-- DN.Mapping.VertexMapping.ValvePressLossNominalAttribute --> L0.String <R L0.HasProperty
423
424     // valve
425     >-- DN.Mapping.VertexMapping.OpeningTimeAttribute --> L0.String <R L0.HasProperty
426     
427 DN.Mapping.EdgeMapping <T DN.Mapping.Base
428     >-- DN.Mapping.EdgeMapping.LengthAttribute --> L0.String <R L0.HasProperty
429     >-- DN.Mapping.EdgeMapping.DiameterAttribute --> L0.String <R L0.HasProperty
430     >-- DN.Mapping.EdgeMapping.OuterDiameterAttribute --> L0.String <R L0.HasProperty
431     >-- DN.Mapping.EdgeMapping.NominalMassFlowAttribute --> L0.String <R L0.HasProperty
432     >-- DN.Mapping.EdgeMapping.FlowAreaAttribute --> L0.String <R L0.HasProperty
433     >-- DN.Mapping.EdgeMapping.KReturnAttribute --> L0.String <R L0.HasProperty
434     >-- DN.Mapping.EdgeMapping.KSupplyAttribute --> L0.String <R L0.HasProperty
435     >-- DN.Mapping.EdgeMapping.TGroundAttribute --> L0.String <R L0.HasProperty
436     >-- DN.Mapping.EdgeMapping.ElevationAttribute --> L0.String <R L0.HasProperty
437
438 // Allowed connection types
439 DN.SupplyConnectionType <T STR.ConnectionType
440
441 DN.SupplyInConnectionType : DN.SupplyConnectionType : STR.InputDirection
442     STR.SupportsDirection DN.SupplyOutConnectionType
443     STR.ConnectionType.isUserSelectable true
444
445 DN.SupplyOutConnectionType : DN.SupplyConnectionType : STR.OutputDirection
446     STR.SupportsDirection DN.SupplyInConnectionType
447     STR.ConnectionType.isUserSelectable true
448
449 DN.ReturnConnectionType <T STR.ConnectionType
450
451 DN.ReturnInConnectionType : DN.ReturnConnectionType : STR.InputDirection
452     STR.SupportsDirection DN.ReturnOutConnectionType
453     STR.ConnectionType.isUserSelectable true
454
455 DN.ReturnOutConnectionType : DN.ReturnConnectionType : STR.OutputDirection
456     STR.SupportsDirection DN.ReturnInConnectionType
457     STR.ConnectionType.isUserSelectable true