Skip to content

Commit 8c299f7

Browse files
committed
Fix minor issues.
1 parent 32a30fd commit 8c299f7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

02-inconsistency.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Real grid operators enforce **safety constraints**. A typical rule:
1212
1313
Let's say our minimum safe threshold is **−200 MW**. Here is the updated reactor (See [`src/Step2_Inconsistency.lf`](src/Step2_Inconsistency.lf)).
1414

15-
> **Note:** `MIN_SAFE_BALANCE`below is defined in a file-level [`preamble`](https://www.lf-lang.org/docs/writing-reactors/preambles/#preamble). LF preambles are used for target-language declarations such as includes, constants, or shared procedure declarations used by reaction code.
15+
> **Note:** `MIN_SAFE_BALANCE` below is defined in a file-level [`preamble`](https://www.lf-lang.org/docs/writing-reactors/preambles/#preamble). LF preambles are used for target-language declarations such as includes, constants, or shared procedure declarations used by reaction code.
1616
1717

1818
```lf

04-conservative.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Instead of guessing that all messages will arrive within some time budget, the *
2222
> A node must not process a message at tag `g` until it has proof that no message with tag `g` or less will later arrive.
2323
2424
In LF, messages on a connection from one federate to another are delivered reliably in order.
25-
Moreover, all messages on such a connection have strictly increasing tags, where a **tag** is a timestamp, microstep pair, `g = (t, m)`.
25+
Moreover, all messages on such a connection have strictly increasing tags, where a **tag** is a **(timestamp, microstep)** pair, `g = (t, m)`.
2626
Hence, when a message has arrived on an input port with some tag `g`, the receiving federate knows it has already received all messages with earlier tags on this input port.
2727

2828
The [Chandy-Misra approach (1979)](https://doi.org/10.1109/TSE.1979.230182), originally developed for distributed simulation, waits to advance to a tag `g` until a message has been received on **every** input port with tag at least `g`.

0 commit comments

Comments
 (0)