]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.simulation.ontology/graph/Simulation.pgraph
Removed contact application support prints
[simantics/platform.git] / bundles / org.simantics.simulation.ontology / graph / Simulation.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 L0X = <http://www.simantics.org/Layer0X-1.1>
3
4 SIMU = <http://www.simantics.org/Simulation-1.1> : L0.Ontology
5     @L0.new
6     L0.HasResourceClass "org.simantics.simulation.ontology.SimulationResource"
7
8 HIS = SIMU.History
9
10 SIMU.Model <T L0.IndexRoot
11     @L0.singleProperty SIMU.HasConfiguration
12     @L0.singleProperty L0X.HasBaseRealization
13     @L0.property SIMU.HasState
14     @L0.property L0.ConsistsOf
15 SIMU.State <T L0.Entity
16     @L0.optionalProperty SIMU.State.History
17 SIMU.HasConfiguration <R L0.DependsOn
18     L0.InverseOf SIMU.IsConfigurationOf
19 SIMU.HasState <R L0.DependsOn
20     L0.HasRange SIMU.State
21 SIMU.HasInitialState <R L0.DependsOn
22 SIMU.Experiment <T L0.Entity
23     @L0.optionalProperty SIMU.HasInitialState 
24
25 SIMU.RunType <T L0.Entity
26
27 SIMU.Run <T L0X.Realization <T L0.RVIContext : SIMU.RunType
28     >-- SIMU.Run.iExperiment ==> "IExperiment" <R L0.HasProperty : L0.FunctionalRelation
29
30 SIMU.State.History <R L0.IsRelatedTo : L0.FunctionalRelation
31     L0.InverseOf SIMU.State.History.Inverse <R L0.IsRelatedTo : L0.FunctionalRelation
32     L0.HasRange HIS.History
33
34 SIMU.IsActive <R L0.IsRelatedTo : L0.Tag
35     @L0.symmetric
36
37 SIMU.HasActiveExperiment <R L0.HasProperty
38
39 SIMU.HasActivationTime <R L0.HasProperty
40     L0.HasDescription "Experiment activation time in milliseconds since the Unix time epoch 1.1.1970 0:00:00."
41     L0.HasRange L0.Long
42
43
44 // Not necessarily the right place
45 SIMU.HasDevsComponent <R L0.IsRelatedTo
46     L0.HasDescription "Adapter relation for configurations."
47
48 // Indicates the state of the experiment.
49 SIMU.HasExperimentState <R L0.IsRelatedTo
50     L0.HasLabel "Simulation State"
51     L0.HasRange SIMU.ExperimentState
52
53 SIMU.ExperimentState <T L0.Property
54     @L0.tag L0.Enumeration
55
56 SIMU.ExperimentState.Initializing : SIMU.ExperimentState
57 SIMU.ExperimentState.Running : SIMU.ExperimentState
58 SIMU.ExperimentState.Stopped : SIMU.ExperimentState
59 SIMU.ExperimentState.Disposed : SIMU.ExperimentState
60
61 SIMU.ActiveExperiment : L0.Function
62     L0.HasDescription "ReadGraph -> Resource -> Resource"