%import "modeling.graph" MOD\r
%import "project.graph" PROJ\r
%import "simulation.graph" SIMU\r
+%import "workbench.graph" WORKBENCH\r
\r
%deflib L0.Type Sysdyn\r
%deflib L0.Relation Sysdyn\r
L0.HasLabel "System Dynamics Project" : L0.String\r
L0.HasDescription """System dynamics modelling project. Create system dynamics models and simulate them with OpenModelica.""" : L0.String\r
L0.PartOf Sysdyn\r
- L0.PartOf PROJ.PublishedProjectFeatures \r
- \r
+ L0.PartOf PROJ.PublishedProjectFeatures\r
+ PROJ.RequiresFeature WORKBENCH.SymbolManager\r
+\r
######################################################################\r
# Model\r
###################################################################### \r
\r
######################################################################\r
# Symbols\r
-###################################################################### \r
+######################################################################\r
\r
-#Auxiliary\r
-# MOD.ComponentTypeToSymbol AuxiliarySymbol <T DIA.DefinedElement\r
-# L0.HasLabel "Auxiliary" : L0.String\r
-# L0.IsDependencyOf BasicSymbolLibrary\r
-# ST.IsDefinedBy %list : DIA.Composite <R L0.IsRelatedTo\r
-# _ : DIA.SVGElement\r
-# G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
-#<svg xmlns="http://www.w3.org/2000/svg" overflow="visible">\r
-#<ellipse cx="0" cy="0" rx="8" ry="4" stroke="black" stroke-width="0.2" fill="none" />\r
-#</svg>""" : L0.String\r
-\r
-#Stock\r
-# MOD.ComponentTypeToSymbol StockSymbol <T DIA.DefinedElement\r
-# L0.HasLabel "Stock" : L0.String\r
-# L0.IsDependencyOf BasicSymbolLibrary\r
-# ST.IsDefinedBy %list : DIA.Composite <R L0.IsRelatedTo\r
-# _ : DIA.SVGElement\r
-# G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
-#<svg xmlns="http://www.w3.org/2000/svg" overflow="visible">\r
-#<rect x="-8" y="-4" width="16" height="8" stroke="black" stroke-width="0.2" fill="none"/>\r
-#</svg>""" : L0.String\r
-\r
-\r
-#Valve\r
-# MOD.ComponentTypeToSymbol ValveSymbol <T DIA.DefinedElement\r
-# L0.HasLabel "Valve" : L0.String\r
-# L0.IsDependencyOf BasicSymbolLibrary\r
-# ST.IsDefinedBy %list : DIA.Composite <R L0.HasNext\r
-# _ : DIA.SVGElement\r
-# G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
-#<svg xmlns="http://www.w3.org/2000/svg" overflow="visible">\r
-#<path\r
-# stroke="black" stroke-width="0.2" fill="none"\r
-# d="M-3 3 L3 -3 L-3 -3 L3 3 Z" /> \r
-#</svg>""" : L0.String\r
+Auxiliary\r
+ MOD.ComponentTypeToSymbol AuxiliarySymbol <T DIA.DefinedElement\r
+ L0.HasLabel "Auxiliary" : L0.String\r
+ L0.IsDependencyOf BasicSymbolLibrary\r
+ ST.IsDefinedBy %list : DIA.Composite <R L0.IsRelatedTo\r
+ _ : DIA.SVGElement\r
+ G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<svg xmlns="http://www.w3.org/2000/svg" overflow="visible">\r
+<ellipse cx="0" cy="0" rx="8" ry="4" stroke="black" stroke-width="0.2" fill="none" />\r
+</svg>""" : L0.String\r
+\r
+Stock\r
+ MOD.ComponentTypeToSymbol StockSymbol <T DIA.DefinedElement\r
+ L0.HasLabel "Stock" : L0.String\r
+ L0.IsDependencyOf BasicSymbolLibrary\r
+ ST.IsDefinedBy %list : DIA.Composite <R L0.IsRelatedTo\r
+ _ : DIA.SVGElement\r
+ G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<svg xmlns="http://www.w3.org/2000/svg" overflow="visible">\r
+<rect x="-8" y="-4" width="16" height="8" stroke="black" stroke-width="0.2" fill="none"/>\r
+</svg>""" : L0.String\r
+\r
+\r
+Valve\r
+ MOD.ComponentTypeToSymbol ValveSymbol <T DIA.DefinedElement\r
+ L0.HasLabel "Valve" : L0.String\r
+ L0.IsDependencyOf BasicSymbolLibrary\r
+ ST.IsDefinedBy %list : DIA.Composite <R L0.HasNext\r
+ _ : DIA.SVGElement\r
+ G2D.HasSVGDocument """<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<svg xmlns="http://www.w3.org/2000/svg" overflow="visible">\r
+<path\r
+ stroke="black" stroke-width="0.2" fill="none"\r
+ d="M-3 3 L3 -3 L-3 -3 L3 3 Z" /> \r
+</svg>""" : L0.String\r
\r