blockCDBlock
Continuous single input - discrete single output block
Extends from ModelicaDEVS.Templates.BlockIcon (Basic graphical layout of DEVS blocks).
Information
Continuous-Discrete BlockContinuous-discrete blocks have a real-type input port, connectable to the output ports of components in the Modelica/Blocks package, and a discrete DEVS output port, connectable to DEVS input ports.
Due to the different types of their input/output ports, the continuous-discrete blocks are used to connect non-DEVS blocks to DEVS blocks (SamplerLevel and SamplerTime) \\ The CDBlockSpecial is a partial model similar to the CDBlock, but with an additional input port -- it is only used for the SamplerTrigger block (see Section \ref{sec:samplerTrigger}).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | method | world.qss | Use QSS1, QSS2 or QSS3 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | inPort | ||
| ModelicaDEVS.Templates.DiscreteOutPort | outPort |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ModelicaDEVS.Miscellaneous.worldModel | world | ||
| Real[3] | yVal | ||
| Boolean | yEvent |