X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.district.network.ontology%2Fgraph%2FDistrictNetwork.pgraph;h=c5195291285a76b7c0d4aaed51e452090dd69637;hb=3803b2cf3450ba6e2ef59bc3c150057315f1e539;hp=612fb30323812abd03502ef3869ee94fcb439dca;hpb=a2e0d3dfba1245a13dcc8aa23c0188926e2a03c5;p=simantics%2Fdistrict.git diff --git a/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph b/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph index 612fb303..c5195291 100644 --- a/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph +++ b/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph @@ -4,54 +4,282 @@ STR = MOD = VP = IMAGE = - -MBC = MOD.ModelingBrowseContext +SEL = +SEL_UI = +G2D = DN = : L0.Ontology @L0.new + L0.Ontology.global true L0.HasResourceClass "org.simantics.district.network.ontology.DistrictNetworkResource" -DN.Edge -- DN.Vertex.HasElevation + @defProperty "Elevation" L0.Double + >-- DN.Vertex.HasAddress + @defProperty "Address" L0.String + >-- DN.Vertex.HasSupplyTemperature + @defProperty "Supply Temperature" L0.Double + >-- DN.Vertex.HasReturnTemperature + @defProperty "Return Temperature" L0.Double + >-- DN.Vertex.HasSupplyPressure + @defProperty "Supply Pressure" L0.Double + >-- DN.Vertex.HasReturnPressure + @defProperty "Return Pressure" L0.Double + >-- DN.Vertex.HasDeltaPressure + @defProperty "Delta pressure" L0.Double + >-- DN.Vertex.HasDeltaTemperature + @defProperty "Delta temperature" L0.Double + >-- DN.Vertex.HasHeatPower + @defProperty "Heat Power" L0.Double + >-- DN.Vertex.HasNominalHeadM + @defProperty "NominalHeadM" L0.Double + >-- DN.Vertex.HasNominalHeadB + @defProperty "NominalHeadB" L0.Double + >-- DN.Vertex.HasNominalFlow + @defProperty "Nominal Flow" L0.Double + >-- DN.Vertex.HasMaximumHeadM + @defProperty "Maximum head M" L0.Double + >-- DN.Vertex.HasHeatLoadDs + @defProperty "Heat Load ds" L0.Double + >-- DN.Vertex.HasMassFlow + @defProperty "Mass Flow" L0.Double + >-- DN.Vertex.HasVolFlow + @defProperty "Vol Flow" L0.Double + >-- DN.Vertex.HasVelocity + @defProperty "Velocity" L0.Double + >-- DN.Vertex.HasFlowArea + @defProperty "Flow Area" L0.Double + >-- DN.Vertex.HasValvePosition + @defProperty "Valve position" L0.Double + >-- DN.Vertex.HasNominalPressureLoss + @defProperty "Nominal Pressure Loss" L0.Double + @L0.assert DN.Vertex.HasElevation 0.0 + +DN.Edge -- DN.Edge.HasElevation + @defProperty "Elevation" L0.Double + >-- DN.Edge.HasLength + @defProperty "Length" L0.Double + L0.readOnly true + >-- DN.Edge.HasDiameter + @defProperty "Diameter" L0.Double + >-- DN.Edge.HasOuterDiameter + @defProperty "Outer Diameter" L0.Double + >-- DN.Edge.HasNominalMassFlow + @defProperty "Nominal Mass Flow" L0.Double + >-- DN.Edge.HasFlowArea + @defProperty "Flow Area" L0.Double + >-- DN.Edge.HasKReturn + @defProperty "K Return" L0.Double + >-- DN.Edge.HasKSupply + @defProperty "K Supply" L0.Double + >-- DN.Edge.HasTGround + @defProperty "T Ground" L0.Double + @L0.assert DN.Edge.HasDiameter 0.1 + @L0.assert DN.Edge.HasOuterDiameter 0.11 + +// ---------------------------------------------------------------------------- + +DN.EdgeDefaultMapping L0.String -- DN.Mapping.Id --> L0.String -- DN.Mapping.ComponentType --> STR.ComponentType -- DN.Mapping.Terminals --> DN.Mapping.TerminalPair -- DN.Mapping.InputTerminal --> DN.Mapping.Terminal -- DN.Mapping.OutputTerminal --> DN.Mapping.Terminal -- DN.Mapping.VertexMapping.ElevationAttribute --> L0.String -- DN.Mapping.VertexMapping.SupplyTemperatureAttribute --> L0.String -- DN.Mapping.VertexMapping.ReturnTemperatureAttribute --> L0.String -- DN.Mapping.VertexMapping.SupplyPressureAttribute --> L0.String -- DN.Mapping.VertexMapping.ReturnPressureAttribute --> L0.String -- DN.Mapping.VertexMapping.DeltaPressureAttribute --> L0.String -- DN.Mapping.VertexMapping.DeltaTemperatureAttribute --> L0.String -- DN.Mapping.VertexMapping.XAttribute --> L0.String -- DN.Mapping.VertexMapping.YAttribute --> L0.String -- DN.Mapping.VertexMapping.dpAttribute --> L0.String -- DN.Mapping.VertexMapping.dtAttribute --> L0.String -- DN.Mapping.VertexMapping.HeatPowerAttribute --> L0.String -- DN.Mapping.VertexMapping.NominalHeadMAttribute --> L0.String -- DN.Mapping.VertexMapping.NominalHeadBAttribute --> L0.String -- DN.Mapping.VertexMapping.NominalFlowAttribute --> L0.String -- DN.Mapping.VertexMapping.MaximumHeadMAttribute --> L0.String -- DN.Mapping.VertexMapping.HeatLoadDsAttribute --> L0.String -- DN.Mapping.VertexMapping.AddressAttribute --> L0.String -- DN.Mapping.VertexMapping.MassFlowAttribute --> L0.String -- DN.Mapping.VertexMapping.VolFlowAttribute --> L0.String -- DN.Mapping.VertexMapping.VelocityAttribute --> L0.String -- DN.Mapping.VertexMapping.FlowAreaAttribute --> L0.String -- DN.Mapping.VertexMapping.ValvePositionAttribute --> L0.String -- DN.Mapping.VertexMapping.NominalPressureLossAttribute --> L0.String -- DN.Mapping.VertexMapping.NominalMassFlowAttribute --> L0.String -- DN.Mapping.EdgeMapping.LengthAttribute --> L0.String -- DN.Mapping.EdgeMapping.DiameterAttribute --> L0.String -- DN.Mapping.EdgeMapping.OuterDiameterAttribute --> L0.String -- DN.Mapping.EdgeMapping.NominalMassFlowAttribute --> L0.String -- DN.Mapping.EdgeMapping.FlowAreaAttribute --> L0.String -- DN.Mapping.EdgeMapping.KReturnAttribute --> L0.String -- DN.Mapping.EdgeMapping.KSupplyAttribute --> L0.String -- DN.Mapping.EdgeMapping.TGroundAttribute --> L0.String -- DN.Mapping.EdgeMapping.ElevationAttribute --> L0.String