Skip to content

Commit f25d24c

Browse files
committed
Miscellaneous documentation fixes from review
Signed-off-by: Pierre R. Mai <[email protected]>
1 parent bc198b1 commit f25d24c

File tree

5 files changed

+69
-24
lines changed

5 files changed

+69
-24
lines changed

specification/5___stc.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ The ParticleType element is structured by the following subordinated elements.
412412
The ParticleType element is associated with the following attributes.
413413

414414
[#tb-particletypeattributes]
415-
.ParticleType aelement ttributes
415+
.ParticleType element attributes
416416
[width="100%",options="header"]
417417
|===
418418
| Attribute name | Optional / Mandatory | Attribute description

specification/6___dtmd.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The AnalysisPhase element is associated with the following attributes.
8787
.AnalysisPhase element attributes
8888
[width="100%",options="header"]
8989
|===
90-
| Attribute name | Optional / Mandatory | Attribut description
90+
| Attribute name | Optional / Mandatory | Attribute description
9191
| id | Optional | This attribute gives the model element a file-wide unique id which can be referenced from other elements or via URI fragment identifier.
9292
| description | Optional | This attribute gives a human readable longer description of the model element, which can be shown to the user where appropriate.
9393
|===
@@ -123,7 +123,7 @@ The DefinitionPhase element is associated with the following attributes.
123123
.DefinitionPhase element attributes
124124
[width="100%",options="header"]
125125
|===
126-
| Attribute name | Optional / Mandatory | Attribut description
126+
| Attribute name | Optional / Mandatory | Attribute description
127127
| id | Optional | This attribute gives the model element a file-wide unique id which can be referenced from other elements or via URI fragment identifier.
128128
| description | Optional | This attribute gives a human readable longer description of the model element, which can be shown to the user where appropriate.
129129
|===
@@ -201,7 +201,7 @@ The EvaluationPhase element is associated with the following attributes.
201201

202202
In the fulfillment phase, it is checked and decided whether the entire decision task, including all sub-tasks performed, fulfills the requirements placed on the decision task by the commissioning higher-level processes.
203203

204-
The FulfillmentPhasePhase element documents all relevant information.
204+
The FulfillmentPhase element documents all relevant information.
205205

206206
[#im-dtmdfulfillmentphaseschema]
207207
.FulfillmentPhase elements structure and attributes

specification/7___stmd.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The AnalysisPhase element is associated with the following attributes.
8989
.AnalysisPhase element attributes
9090
[width="100%",options="header"]
9191
|===
92-
| Attribute name | Optional / Mandatory | Attribut description
92+
| Attribute name | Optional / Mandatory | Attribute description
9393
| id | Optional | This attribute gives the model element a file-wide unique id which can be referenced from other elements or via URI fragment identifier.
9494
| description | Optional | This attribute gives a human readable longer description of the model element, which can be shown to the user where appropriate.
9595
|===
@@ -106,7 +106,7 @@ The RequirementsPhase element documents all relevant information.
106106
.RequirementsPhase element structure and attributes
107107
image::RequirementsPhaseSchema.png[]
108108

109-
The RequirememtsPhase element is structured by the followuing subordinated element.
109+
The RequirementsPhase element is structured by the followuing subordinated element.
110110

111111
[#tb-requirementsphasesubelements]
112112
.RequirementsPhase element structure
@@ -154,7 +154,7 @@ The DesignPhase element is structured by the following subordinated element.
154154
|===
155155
| Sub element name | Optional / Mandatory | Details
156156
| DefineModelDesignSpecification | Optional | <<sec-steptype>>
157-
| DefineParaneterDesignSpecification | Optional | <<sec-steptype>>
157+
| DefineParameterDesignSpecification | Optional | <<sec-steptype>>
158158
| DefineSimulationEnvironmentDesignSpecification | Optional | <<sec-steptype>>
159159
| DefineSimulationIntegrationDesignSpecification | Optional | <<sec-steptype>>
160160
| DefineTestCaseDesignSpecification | Optional | <<sec-steptype>>
@@ -290,7 +290,7 @@ The EvaluationPhase element is associated with the following attributes.
290290

291291
In the fulfillment phase, it is checked and decided whether the entire simulation task, including the simulation results, fulfills the requirements placed on the simulation by the commissioning higher-level engineering task and whether the simulation tasks can be completed.
292292

293-
The FulfillmentPhasePhase element documents all relevant information.
293+
The FulfillmentPhase element documents all relevant information.
294294

295295
[#im-fulfillmentphaseschema]
296296
.FulfillmentPhase elements structure and attributes

specification/8___srmd.adoc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Simulation resource meta data for components or other resources (e.g. parameter sets, etc.) can be provided using SRMD files. These files can be embedded into such resources, where possible, they can be placed outside the resources and reference the resources to which they apply, or they can be tied to the resources through the STMD meta-data mechanisms.
55

6-
=== SimulationRessourceMetaData
6+
=== SimulationResourceMetaData
77

88
The SimulationResourceMetaData element is the all enclosing top level XML element of SRMD files.
99

@@ -14,13 +14,17 @@ image::SimulationResourceMetaDataSchema.png[]
1414
The SimulationTaskMetaData element is structured by following subordinated element.
1515

1616
[#tb-simulationresourcemetadatasubelements]
17-
.SimulationResourcekMetaData element structure
17+
.SimulationResourceMetaData element structure
1818
[width="100%",options="header"]
1919
|===
2020
| Sub element name | Optional / Mandatory | Details
21-
| GElementCommon | Mandatory | <<sec-gphasecommon>>
21+
| GElementCommon | Mandatory | <<sec-gelementcommon>>
2222
|===
2323

24+
More specifically, the Classification and Annotation sub-elements of the SimulationResourceMetaData element, as specified in <<sec-gelementcommon>> apply classifications and further information to the resource that is being described by the SRMD file.
25+
26+
Other than the referent, the usual rules for these elements apply.
27+
2428
The SimulationResourceMetaData element is associated with the following attributes.
2529

2630
[#tb-simulationresourcemetadataattributes]

specification/9___packaging.adoc

Lines changed: 54 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,78 @@ and other resources using the SSP packaging format.
99

1010
=== Introduction
1111

12-
The current standard specifies the packaging of simulation task
13-
meta-data files together with all referenced system descriptions,
12+
The current standard specifies the packaging of simulation or decision
13+
task meta-data files together with all referenced system descriptions,
1414
models, parameters, their meta-data, simulation results and other
1515
resources in SSP 2.0 package files as a layered standard based on SSP
1616
2.0.
1717

1818
By basing the packaging on the SSP standard, it is possible to treat
19-
STMD containing SSP packages as normal SSP packages for use in tools
20-
that do not yet support STMD-based work flows. Furthermore this
21-
approach simplifies the definition of STMD-based packages by reusing
19+
DTMD/STMD containing SSP packages as normal SSP packages for use in tools
20+
that do not yet support DTMD/STMD-based work flows. Furthermore this
21+
approach simplifies the definition of DTMD/STMD-based packages by reusing
2222
the built-in functionality of the SSP standard.
2323

2424
=== SSP 2.0
2525

26-
Any STMD-based package MUST be a valid _SSP 2.0_ <<SSP20>> or _SSP 1.0_ <<SSP10>> SSP archive.
26+
Any DTMD/STMD-based package MUST be a valid _SSP 2.0_ <<SSP20>> or
27+
_SSP 1.0_ <<SSP10>> SSP archive.
2728
Inter alia this means that it MUST contain at least one SSD file named
2829
`SystemStructure.ssd` in the root of the archive, which MUST be a valid
29-
system structure description file. In phases of the simulation task
30-
workflow where a proper system structure description has not yet been
30+
system structure description file. In phases of the decision or simulation
31+
task workflow where a proper system structure description has not yet been
3132
created, this CAN be a dummy file containing an otherwise empty system.
32-
Those cases will be recognizable by the content of the STMD file.
33+
Those cases will be recognizable by the content of the DTMD/STMD file.
34+
35+
=== DTMD File
36+
37+
Any DTMD-based package MUST include an DTMD XML file under the `extra/org.ssp-standard.ssp-traceability.stmd/DecisionTask.dtmd` name.
38+
The file MUST be a valid DTMD file according to the specification below.
39+
40+
A Decision Task Meta Data file (DTMD, file extension .stmd, MIME type
41+
`application/x-dtmd-decisiontask`) MUST be a well-formed XML 1.0
42+
[XML10] file that conforms to the DTMD.xsd XML Schema distributed as
43+
part of this standard. The file MUST use the UTF-8 encoding.
44+
45+
All DTMD-specific elements live in the `\http://ssp-standard.org/SSPTraceability1/DecisionTaskMetaData` namespace, nicknamed `dtmd` in this document.
46+
47+
The root element of an DTMD file MUST be a `DecisionTaskMetaData`
48+
element, which gives overall information about the decision task
49+
described in this DTMD file.
50+
51+
The DTMD file CAN reference any system structure descriptions that the
52+
simulation task is intended to use through `Resource` elements with the
53+
attribute `source` providing the URI to the SSD file. The relative URI
54+
resolution mechanisms are the same as for SSP generally, so that the
55+
URI will be resolved against the URI of the DTMD file as a base URI.
56+
57+
Hence a reference to the main SSD of an SSP package will be specified
58+
as
59+
60+
`<stmd:Resource source="../../SystemStructure.ssd" type="application/x-ssp-definition" kind="system"/>`
61+
62+
due to the relative location of the DTMD file.
63+
64+
Simulation model meta data and parameter meta data is referenced inside
65+
the DTMD file using either `Resource` records directly if the meta data
66+
is directly relevant, or through `MetaData` elements inside `Resource`
67+
elements if the meta data is only used in a meta data role.
68+
69+
If meta data is intended to be carried in the purely SSP subset of the
70+
SSP package, then the following sections apply.
71+
72+
The MIME type of STMD files is `application/x-dtmd-decisiontask`, the
73+
file name extension is `.stmd`.
3374

3475
=== STMD File
3576

3677
Any STMD-based package MUST include an STMD XML file under the `extra/org.ssp-standard.ssp-traceability.stmd/SimulationTask.stmd` name.
3778
The file MUST be a valid STMD file according to the specification below.
3879

39-
A Simulation Task Meta Data file (STMD, file extension .stmd) MUST be a
40-
well-formed XML 1.0 [XML10] file that conforms to the SimulationTask XML
41-
Schema distributed as part of this standard. The file MUST use the
42-
UTF-8 encoding.
80+
A Simulation Task Meta Data file (STMD, file extension .stmd, MIME type
81+
`application/x-stmd-simulationtask`) MUST be a well-formed XML 1.0
82+
[XML10] file that conforms to the STMD.xsd XML Schema distributed as
83+
part of this standard. The file MUST use the UTF-8 encoding.
4384

4485
All STMD-specific elements live in the `\http://ssp-standard.org/SSPTraceability1/SimulationTaskMetaData` namespace, nicknamed `stmd` in this document.
4586

0 commit comments

Comments
 (0)