X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.district.network.ontology%2Fgraph%2FDistrictNetwork.pgraph;h=94680d73d18f539eab545184ee1ec649d750466f;hb=e24f9c8b8be3db87e940f48d88985fe929779dd9;hp=a4144a808f895333c6ef14b09fd21fb8bc564048;hpb=1bc60c2213f9b3fc7b4d935ba9afda2b767290e5;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 a4144a80..94680d73 100644 --- a/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph +++ b/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph @@ -6,27 +6,174 @@ VP = IMAGE = SEL = SEL_UI = +G2D = DN = : L0.Ontology @L0.new L0.Ontology.global true L0.HasResourceClass "org.simantics.district.network.ontology.DistrictNetworkResource" -DN.Layer -- DN.Diagram.trackChangesEnabled L0.Boolean + L0.HasLabel "Track changes" + >-- DN.Diagram.splitToMultipleEnabled L0.Boolean + L0.HasLabel "Split To Multiple Diagrams" + + @L0.assert DN.Diagram.trackChangesEnabled true + @L0.assert DN.Diagram.splitToMultipleEnabled true + +DN.Layer -- DN.Vertex.HasElevation + @defProperty "Elevation" L0.Double + >-- DN.Vertex.HasAltElevation + @defProperty "Alternative 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.HasPeakPower + @defProperty "Peak 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 + >-- DN.Vertex.HasPumpInReturnLine + @defProperty "Pump in Return Line" L0.Double + >-- DN.Vertex.HasHeadPumpMaximum + @defProperty "Head pump maximum" L0.Double + >-- DN.Vertex.HasHeadPumpNominal + @defProperty "Head pump nominal" L0.Double + >-- DN.Vertex.HasFrequencyConverterControlled + @defProperty "Frequency Converter Controlled" L0.Double + >-- DN.Vertex.HasInternalValveMeasurement + @defProperty "Internal Valve Measurement" L0.Double + >-- DN.Vertex.HasPumpMassFlowNominal + @defProperty "Pump Mass Flow Nominal" L0.Double + >-- DN.Vertex.HasPumpMeMax + @defProperty "Pump Me Max" L0.Double + >-- DN.Vertex.HasPumpMeMin + @defProperty "Pump Me Min" L0.Double + >-- DN.Vertex.HasPumpSpeedMax + @defProperty "Pump Speed Max" L0.Double + >-- DN.Vertex.HasPumpSpeedMin + @defProperty "Pump Speed Min" L0.Double + >-- DN.Vertex.HasValveReturnLine + @defProperty "Valve Return Line" L0.Double + >-- DN.Vertex.HasValveMeMax + @defProperty "Valve Me Max" L0.Double + >-- DN.Vertex.HasValveMeMin + @defProperty "Valve Me Min" L0.Double + >-- DN.Vertex.HasValveMinPosition + @defProperty "Valve Min Position" L0.Double + >-- DN.Vertex.HasValveOutletMode + @defProperty "Valve Outlet Mode" L0.Double + >-- DN.Vertex.HasValvePressLossNominal + @defProperty "Valve Press Loss Nominal" L0.Double + >-- DN.Vertex.HasOpeningTime + @defProperty "Opening Time" 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.HasGeometry + @defProperty "Detailed Geometry" L0.DoubleArray + >-- 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 + >-- DN.Edge.HasType + @defProperty "Pipe Type" L0.String + @L0.assert DN.Edge.HasDiameter 100.0 + @L0.assert DN.Edge.HasOuterDiameter 125.0 + +// ---------------------------------------------------------------------------- + DN.EdgeDefaultMapping L0.String L0.String -- DN.Diagram.Visualisations.Interval + @defProperty "Interval" L0.Long + >-- DN.Diagram.Visualisations.DisabledUpdates + @defProperty "Disabled Updates" L0.Boolean + >-- DN.Diagram.Visualisations.ResetVisualisation + @defProperty "Reset Visualisations" L0.Boolean + >-- DN.Diagram.Visualisations.ShowColorBars + @defProperty "Show Color Bars" L0.Boolean + >-- DN.Diagram.Visualisations.ShowColorBarTicks + @defProperty "Show Color Bar Ticks" L0.Boolean + >-- DN.Diagram.Visualisations.UseColorBarGradients + @defProperty "Use Color Bar Gradients" L0.Boolean + >-- DN.Diagram.Visualisations.ColorBarLocation + @defProperty "Color Bar Location" L0.String + >-- DN.Diagram.Visualisations.ColorBarSize + @defProperty "Color Bar Size" L0.String + >-- DN.Diagram.Visualisations.ShowSizeBars + @defProperty "Show Size Bars" L0.Boolean + >-- DN.Diagram.Visualisations.ShowSizeBarTicks + @defProperty "Show Size Bar Ticks" L0.Boolean + >-- DN.Diagram.Visualisations.UseSizeBarGradients + @defProperty "Use Size Bar Gradients" L0.Boolean + >-- DN.Diagram.Visualisations.SizeBarLocation + @defProperty "Size Bar Location" L0.String + >-- DN.Diagram.Visualisations.SizeBarSize + @defProperty "Size Bar Size" L0.String + >-- DN.Diagram.Visualisations.HideEdges + @defProperty "Hide Edges" L0.Boolean + >-- DN.Diagram.Visualisations.HidePoints + @defProperty "Hide Points" L0.Boolean + >-- DN.Diagram.Visualisations.HideConsumers + @defProperty "Hide Consumers" L0.Boolean + >-- DN.Diagram.Visualisations.HideProducers + @defProperty "Hide Producers" L0.Boolean + >-- DN.Diagram.Visualisations.HideValves + @defProperty "Hide Valves" L0.Boolean + >-- DN.Diagram.Visualisations.HidePumpingStations + @defProperty "Hide Pumping Stations" L0.Boolean + >-- DN.Diagram.Visualisations.StaticPropertiesNetworkBranches + @defProperty "Static Properties Network Branches" L0.Boolean + >-- DN.Diagram.Visualisations.StaticPropertiesPoints + @defProperty "Static Properties Points" L0.Boolean + >-- DN.Diagram.Visualisations.StaticPropertiesConsumers + @defProperty "Static Properties Consumers" L0.Boolean + >-- DN.Diagram.Visualisations.DynamicSymbolsShutoffValves + @defProperty "Dynamic Symbols Shutoff Valves" L0.Boolean + >-- DN.Diagram.Visualisations.DynamicSymbolsProducers + @defProperty "Dynamic Symbols Producers" L0.Boolean + >-- DN.Diagram.Visualisations.DynamicSymbolsValves + @defProperty "Dynamic Symbols Valves" L0.Boolean + >-- DN.Diagram.Visualisations.DynamicSymbolsPumpingStations + @defProperty "Dynamic Symbols Pumping Stations" L0.Boolean + >-- DN.Diagram.Visualisations.KeyVariableVertexHover + @defProperty "Key Variables for Vertices on Hover" L0.Boolean + >-- DN.Diagram.Visualisations.KeyVariableEdgeHover + @defProperty "Key Variables for Edges on Hover" L0.Boolean + >-- DN.Diagram.Visualisations.ShowElevationServerBoundingBox + @defProperty "Show Elevation server bounding box" L0.Boolean + >-- DN.Diagram.Visualisations.NotInSimulation + @defProperty "Not in Simulation" L0.Boolean + >-- DN.Diagram.Visualisations.ShowConnectedComponents + @defProperty "Show Connected Components" L0.Boolean + +DN.Diagram.Visualisations.ColorContribution -- DN.Mapping.Id --> L0.String -- DN.Mapping.Region --> 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.ComponentType --> STR.ComponentType -- DN.Mapping.VertexMapping.ElevationAttribute --> L0.String -- DN.Mapping.Terminals --> DN.Mapping.TerminalPair -- DN.Mapping.VertexMapping.ElevationAltAttribute --> 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.PeakPowerAttribute --> 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.VertexMapping.HeadPumpMaximumAttribute --> L0.String -- DN.Mapping.VertexMapping.HeadPumpNominalAttribute --> L0.String -- DN.Mapping.VertexMapping.FrequencyConverterControlledAttribute --> L0.String -- DN.Mapping.VertexMapping.InternalValveMeasurementAttribute --> L0.String -- DN.Mapping.VertexMapping.PumpInReturnLineAttribute --> L0.String -- DN.Mapping.VertexMapping.PumpMassFlowNominalAttribute --> L0.String -- DN.Mapping.VertexMapping.PumpMeMaxAttribute --> L0.String -- DN.Mapping.VertexMapping.PumpMeMinAttribute --> L0.String -- DN.Mapping.VertexMapping.PumpSpeedMaxAttribute --> L0.String -- DN.Mapping.VertexMapping.PumpSpeedMinAttribute --> L0.String -- DN.Mapping.VertexMapping.ValveReturnLineAttribute --> L0.String -- DN.Mapping.VertexMapping.ValveMeMaxAttribute --> L0.String -- DN.Mapping.VertexMapping.ValveMeMinAttribute --> L0.String -- DN.Mapping.VertexMapping.ValveMinPositionAttribute --> L0.String -- DN.Mapping.VertexMapping.ValveOutletModeAttribute --> L0.String -- DN.Mapping.VertexMapping.ValvePressLossNominalAttribute --> L0.String -- DN.Mapping.VertexMapping.OpeningTimeAttribute --> L0.String -- DN.Mapping.ComponentType >-- DN.Mapping.EdgeMapping.LengthAttribute --> L0.String -- DN.Mapping.EdgeMapping.DiameterAttribute --> L0.String -- DN.Mapping.Terminals + DN.Mapping.HasPropertyRelation DN.Edge.HasDiameter + >-- 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 -- DN.Mapping.EdgeMapping.PipeTypeAttribute --> L0.String