Book a Demo

Author Topic: Quantities in SysML  (Read 3107 times)

mike08

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Quantities in SysML
« on: June 16, 2015, 11:48:00 pm »
Dear all,

this is more a SysML than a "how to do in EA" type of question. So I hope an expert in this forum can share his experience: I'd like to specify an Interface where a SW System uses an operation with a parameter that represents a physical quantity *and* has a specific encoding. Consider e.g. an parameter P to an operation setPower() which is of ValueType ElectricalPower and which has the Tags quantityKind set to Power and unit set to Watt. Now I'd like to let SW know that this parameter shall be encoded in fractional binary format. Is there a way I can model that? Right now I'm using a user-specific tag "Encoding" added to the ValueType ElectricalPower to carry that information. This requires me to add specific ValueTypes for every encoding to the Model (e.g. ElectricalPowerFB, ElectricalPowerFloat, ...) which seems odd to me.

Thanks for your input!
Best,
M.