Skip to content

Commit

Permalink
Merge pull request modelica#162 from klausschuch/pu/klausschuch/use_o…
Browse files Browse the repository at this point in the history
…nly_terminals

Use only terminals (remove structured naming convention)
  • Loading branch information
bmenne-dspace authored May 16, 2024
2 parents 4b1670f + 6f93609 commit 3ac83d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/2____common_concepts.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ Terminal definitions are used differently within the "high cut" and the "low cut
[#figure-terminal-relations]
image::terminal_relations.svg[width=60%, align="center"]

All variables have structured names or specific terminal `memberNames` that indicate how these variables are related and to which abstraction layer they belong.
Variables are referenced in terminals and the `memberName` attribute indicates how a variable is meant to be used.
For the "high cut", variables represent signals and their Clocks.
For the "low cut", variables represent transmitted and received bus traffic (`Tx_Data`/`Rx_Data`) and their respective Clocks (`Tx_Clock`/`Rx_Clock`).
For the "low cut", variables represent transmitted and received bus traffic (`memberName` = `Tx_Data`/`Rx_Data`) and their respective Clocks (`memberName` = `Tx_Clock`/`Rx_Clock`).
The `causality` of `Rx_Data` variables must be `input`, whereas the `causality` of `Tx_Data` variables must be `output`.
`Rx_Clock` variables must be `triggered input` Clocks and are connected by the importer to their corresponding `Tx_Clocks`, which can have any `causality` and `intervalVariability`.
For example, a `periodic` Clock indicates that the FMU can only send signals or frames periodically, while a `changing` or `countdown` Clock indicates that the FMU can send signals at varying time steps.
`Rx_Clock` variables must be `triggered input` Clocks and are meant to be connected by the importer to the corresponding `Tx_Clock` variables.
A `periodic` Clock indicates that the FMU can send signals or frames only periodically on a given time raster, while a `changing` or `countdown` Clock indicates that the FMU can send signals at varying time steps.

Using `Tx_Clocks` of different types allows simulations with different timing accuracy and performance.
Some Clock types allow the FMU to specify the next send event efficiently and accurately.
Expand Down

0 comments on commit 3ac83d0

Please sign in to comment.