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