X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.district.network.ontology%2Fgraph%2FDistrictNetwork.pgraph;h=657ffc697edcb246eeb45d01da266764b14018f5;hb=a3b6137601545ac6e3484995d0ec6d39224bbf3f;hp=435bd55d9813e30a19bb8ab66e0ae8c26342d26a;hpb=1e6f4461465fc45d71b30535d02bbe1cd7672d4a;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 435bd55d..657ffc69 100644 --- a/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph +++ b/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph @@ -13,16 +13,94 @@ DN = : L0.Ontology L0.Ontology.global true L0.HasResourceClass "org.simantics.district.network.ontology.DistrictNetworkResource" -DN.Layer -- 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.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.Vertex L0.String -- DN.Mapping.EdgeMapping.KSupplyAttribute --> L0.String -- DN.Mapping.EdgeMapping.TGroundAttribute --> L0.String -- DN.Mapping.Terminals - -DN.SCLMain : L0.SCLModule - L0.SCLModule.definition - """ - include "Simantics/District/SCLMain" - """ - -DN.DistrictProfile : DIA.Profile - L0.HasLabel "District Network Profile" - DIA.Profile.priority 0.0 - DIA.HasEntries - _ : DIA.Profile - @L0.list - DN.DistrictProfile.entry - L0.HasLabel "Component names" - @DIA.groupStyleProfileEntry DN.ComponentNameStyle DN.Groups.ElementGroup - DN.DistrictProfile.entry1 - L0.HasLabel "Id" - @DIA.groupStyleProfileEntry DN.ComponentIdStyle DN.Groups.ElementGroup - DN.DistrictProfile.entry2 - L0.HasLabel "Edge Node Styling" - @DIA.groupStyleProfileEntry DN.EdgeNodeStyle DN.Groups.ElementGroup - -DN.Groups : L0.Library - -DN.Groups.ElementGroup : DIA.TypeGroup - DIA.TypeGroup.HasType DN.Element - -DN.ComponentNameStyle : DIA.ResourceSCLTextGridStyle - @MOD.scl DIA.ResourceSCLTextGridStyle.texts - """ - districtNetworkProfileStyle "http://www.simantics.org/Layer0-1.1/HasName" - """ - "String -> Variable -> (String, String, String)" - @G2D.fontProperty DIA.TextElement.font "Arial" 30 G2D.FontStyle.normal_font_style - -DN.ComponentIdStyle : DIA.ResourceSCLTextGridStyle - @MOD.scl DIA.ResourceSCLTextGridStyle.texts - """ - districtNetworkProfileStyle "http://www.simantics.org/Layer0-1.1/HasName" - """ - "String -> Variable -> (String, String, String)" - @G2D.fontProperty DIA.TextElement.font "Arial" 30 G2D.FontStyle.normal_font_style - -//DN.EdgeNodeGroup : DIA.Group - -//DN.Profiles : L0.Library - -DN.EdgeNodeStyle : DIA.Style - -// Templates - -//groupStyleEntry : L0.Template -// @template %subject %style %group -// %subject : DIA.GroupStyleProfileEntry -// DIA.ProfileEntry.HasStyle %style -// DIA.ProfileEntry.HasGroup %group - - -//DN.Profiles.EdgeNodeStyle -// L0.HasLabel "Edge Node Style" -// @groupStyleEntry DN.EdgeNodeStyle DN.EdgeNodeGroup