You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/spec/binary_variables.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
= Binary variables
2
2
3
3
FMI 2.0 does not directly support the efficient exchange of arbitrary binary data between FMUs.
4
-
OSMP, therefore, introduces the concept of notional binary variables, which are mapped to actual integer variables for use with FMI 2.0.
4
+
OSMP therefore introduces the concept of notional binary variables that are mapped to actual integer variables for use with FMI 2.0.
5
5
Future FMI versions will directly support binary variables compatible with this concept.
6
6
7
7
A notional binary variable named `<prefix>` is defined using the following conventions:
@@ -14,9 +14,9 @@ This restriction ensures that there is no conflict between notional binary varia
14
14
For each notional binary variable, three actual FMU integer variables shall be defined:
15
15
16
16
`<prefix>.base.lo`::
17
-
Lower, meaning least significant, 32-bit address part of the binary data buffer to be passed into or out of the model, cast into a signed 32-bit integer without changing the bit values.
17
+
Lower, meaning the least significant, 32-bit address part of the binary data buffer to be passed into or out of the model, cast into a signed 32-bit integer without changing the bit values.
18
18
`<prefix>.base.hi`::
19
-
Higher, meaning most significant, 32-bit address part of the binary data buffer to be passed into or out of the model, cast into a signed 32-bit integer without changing the bit values.
19
+
Higher, meaning the most significant, 32-bit address part of the binary data buffer to be passed into or out of the model, cast into a signed 32-bit integer without changing the bit values.
20
20
Note that this variable is only used for 64-bit platforms.
21
21
For 32-bit platforms, it shall still be present but will always be 0 to support FMUs with 32-bit and 64-bit implementations.
22
22
`<prefix>.size`::
@@ -40,7 +40,7 @@ The three actual variables shall contain an annotation of the following form in
40
40
41
41
`<prefix>` is the prefix as defined above, and `@role` is either `base.lo`, `base.hi`, or `size`, depending on the variable.
42
42
43
-
It is an error if there is not exactly one variable of each role for the same name.
43
+
There is an error if there is not exactly one variable of each role for the same name.
44
44
45
45
The MIME type given in `@mime-type` shall be a valid MIME type specification.
Copy file name to clipboardExpand all lines: doc/spec/traffic_command_inputs.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
= Traffic command inputs
2
2
3
3
Traffic command inputs are present in traffic participant models.
4
-
This allows control of the traffic participant behavior by scenario engines.
4
+
This makes it possible to control of the traffic participant behavior using scenario engines.
5
5
6
6
**Prefix**
7
7
@@ -14,9 +14,9 @@ Traffic command inputs shall be named with the following prefix:
14
14
15
15
**Rules**
16
16
17
-
* If only one traffic command input is configured, the prefix shall only be `OSMPTrafficCommandIn`.
18
-
* If more than one traffic command input is configured, the prefix shall be extended by an array index designator, for example `OSMPTrafficCommandIn[1]` and `OSMPTrafficCommandIn[2]`.
19
-
* Array indices shall start at 1 and shall be consecutive.
17
+
* If only one traffic command input is configured, the prefix shall only be `OSMPTrafficCommandIn`.
18
+
* If more than one traffic command input is configured, the prefix shall be extended by an array index designator, for example `OSMPTrafficCommandIn[1]` and `OSMPTrafficCommandIn[2]`.
19
+
* Array indices shall start at 1 and shall be consecutive.
20
20
* Each traffic command input shall be defined as a notional discrete binary input variable with `@causality="input"` and `@variability="discrete"`.
21
21
* The MIME type of the variable shall specify the `type="TrafficCommand"` as part of the MIME type parameters.
22
22
* Traffic commands shall be encoded as `osi3::TrafficCommand`.
0 commit comments