SysPhS 1.2 RTF Avatar
  1. OMG Issue

SYSPHS12 — Switch: Use of RealSignalInElement for u2 inconsistent with BooleanInput u2 of control port for Modelica.Blocks.Logical.Switch

  • Key: SYSPHS12-5
  • Status: open  
  • Source: Webel IT Australia ( Dr. Darren Kelly)
  • Summary:

    The table for Routing components implies a RealSignalInElement for u2 for Switch.

    A Modelica.Blocks.Logical.Switch has a control port u2 of type BooleanInput.

    In at least one Modelica tool it is not permitted to connect from a RealOutput to a BooleanInput.

    This also renders the use of 'Criteria = u2~=0' for the Simulink Switch inconsistent w.r.t. the Modelica Switch, because there is no way to check whether the control input is nonzero.

    Also, the Modelica and Simulink equivalents for Switch are not made explicit (they appear to be missing from the table row).

  • Reported: SysPhS 1.1 — Thu, 11 Feb 2021 10:12 GMT
  • Updated: Fri, 12 Feb 2021 00:20 GMT