blockDivider
Divides the first input by the second one.
Extends from ModelicaDEVS.Templates.DoubleDDBlock (Discrete double input - discrete single output block).
Information
The Divider BlockParameters:
| none |
Description:
The Divider block belongs to the binary operators and devides the first input value by the second: y=u0/u1.
Just like the Switch block it is not programmed explicitly, but it uses two other blocks, namely the Multiplier and the Inverse block.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | method (from DoubleDDBlock) | world.qss | Use QSS1, QSS2 or QSS3 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ModelicaDEVS.Templates.DiscreteInPort | inPort1 (from DoubleDDBlock) | ||
| ModelicaDEVS.Templates.DiscreteInPort | inPort2 (from DoubleDDBlock) | ||
| ModelicaDEVS.Templates.DiscreteOutPort | outPort (from DoubleDDBlock) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ModelicaDEVS.Miscellaneous.worldModel | world (from DoubleDDBlock) | ||
| Multiplier | Multiplier1 | ||
| Inverse | Inverse1 |