SysPhS 1.1 RTF Avatar
  1. OMG Issue

SYSPHS11 — modelica port does not export special characters

  • Key: SYSPHS11-1
  • Status: closed  
  • Source: Pratt and Whitney ( Jay Lamphier)
  • Summary:

    I am trying to specify block connection through the modelica port interface and the port I am attempting to connect to within my library is named ports[1]. Upon exporting the SysMl code I am not able to generate the desired modelica text, resulting in the following code: connect(name.ports1,name2.port). Where name.ports1 is explicitly defined in the proxy port specification with the applied stereotype of ModelicaPort and ProxyPort with the tag name ports[1].

  • Reported: SysPhS 1.0 — Thu, 12 Mar 2020 16:02 GMT
  • Disposition: Closed; No Change — SysPhS 1.1
  • Disposition Summary:

    SYSPHS11-1 close

    Our guess is the implementation the filer is using removes square brackets from port names because those are reserved notation in Modelica. The specification could require translation to remove platform special characters (or replace them with a non-special character) from SysML names, but these characters might differ between platforms and causes naming conflicts on translation.

  • Updated: Wed, 6 Jan 2021 15:11 GMT