]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph
New sewage system modelling features for the mapping tool.
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetwork.pgraph
index e819f445fb714a6e708e1dff5cb511bff56d62ec..138e72aed8ca4587a3518c2fcf7de3ca7452d95e 100644 (file)
@@ -20,6 +20,7 @@ DN.Edge <T DIA.Element : L0.Type
 
 DN.Vertex <T DIA.Element : L0.Type
     @L0.assert DN.Vertex.HasElevation 0.0
+    @L0.assert DN.Vertex.HasSewageProduction 0.0
 
 DN.EdgeDefaultMapping <R L0.HasProperty : DN.EdgeMappingParameterType
     L0.HasLabel "Default Edge mapping"
@@ -65,6 +66,11 @@ DN.Vertex.HasElevation <R L0.HasProperty : SEL.GenericParameterType
     L0.HasRange L0.Double
     L0.readOnly false
 
+DN.Vertex.HasSewageProduction <R L0.HasProperty : SEL.GenericParameterType
+    L0.HasLabel "Sewage Production"
+    L0.HasRange L0.Double
+    L0.readOnly false
+    
 DN.Vertex.HasTemperature <R L0.HasProperty : SEL.GenericParameterType
     L0.HasLabel "Temperature"
     L0.HasRange L0.Double
@@ -85,6 +91,10 @@ DN.Edge.HasNominalMassFlow <R L0.HasProperty : SEL.GenericParameterType
     L0.HasRange L0.Double
     L0.readOnly false
 
+DN.Edge.HasRevisedLength <R L0.HasProperty : SEL.GenericParameterType
+    L0.HasLabel "Revised Length"
+    L0.HasRange L0.Double
+    L0.readOnly true
 
 DN.InLayer
     @L0.defTag 
@@ -191,6 +201,7 @@ DN.Mapping.TerminalPair <T L0.Entity
 DN.Mapping.VertexMapping <T DN.Mapping.Base
     >-- DN.Mapping.ComponentType --> STR.ComponentType <R L0.DependsOn
     >-- DN.Mapping.VertexMapping.ElevationAttribute --> L0.String <R L0.HasProperty
+    >-- DN.Mapping.VertexMapping.SewageProductionAttribute --> L0.String <R L0.HasProperty
     >-- DN.Mapping.VertexMapping.TemperatureAttribute --> L0.String <R L0.HasProperty
     >-- DN.Mapping.VertexMapping.PressureAttribute --> L0.String <R L0.HasProperty
     >-- DN.Mapping.Terminals --> DN.Mapping.TerminalPair <R L0.HasProperty