... | ... | @@ -8,10 +8,10 @@ The `ConstantBus` is a simplified bus model that does not model the interaction |
|
|
|
|
|
| Entry | [Unit](/user-docs/JSON-scenarios-reference#units) | [Type](/user-docs/JSON-scenarios-reference#types) | Description | Default Value |
|
|
|
| :---- | :--- | :--- | :---------- | :------------ |
|
|
|
| `type` | - | S | Must be `constant_bus` for a `ConstantBus`. Must be the first entry. | |
|
|
|
| `mode` | - | S | `instant`, `constant_rate` or `constant_time`. | - |
|
|
|
| `time` | s | Duration | Time to transmit one message when in **constant_time** mode. | - |
|
|
|
| `rate` | bytes/sec | FP | The transmission rate when in **constant_rate** mode. | - |
|
|
|
| `type` | | S | Must be `constant_bus` for a `ConstantBus`. Must be the first entry. | |
|
|
|
| `mode` | | S | `instant`, `constant_rate` or `constant_time`. | |
|
|
|
| `time` | s | Duration | Time to transmit one message when in **constant_time** mode. | |
|
|
|
| `rate` | bytes/sec | FP | The transmission rate when in **constant_rate** mode. | |
|
|
|
|
|
|
## CAN Properties
|
|
|
|
... | ... | @@ -19,7 +19,7 @@ The `CAN` EE-component models a bus using the [CAN bus](https://en.wikipedia.org |
|
|
|
|
|
| Entry | [Unit](/user-docs/JSON-scenarios-reference#units) | [Type](/user-docs/JSON-scenarios-reference#types) | Description | Default Value |
|
|
|
| :---- | :--- | :--- | :---------- | :------------ |
|
|
|
| `type` | - | S | Must be `can_bus` for a `CAN` bus. Must be the first entry. | |
|
|
|
| `type` | | S | Must be `can_bus` for a `CAN` bus. Must be the first entry. | |
|
|
|
| `bit_rate` | bits/s | I | Transmission rate of the bus. | `10 Mbits/s` |
|
|
|
|
|
|
---
|
... | ... | |