Book a Demo

Author Topic: SimFunction  (Read 17303 times)

Wishmaster84

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
SimFunction
« on: March 04, 2023, 02:21:57 am »
Hi All,

I'm approaching to parametric diagrams and simulation. I'm following the guide about mathematical simulation provided by the Sparx Website. In particular I'm replicating the Two Tank example where it is explained how to create a function inside a constraint, stereotyping an operation as a "SimFunction".
I'm creating a new operation inside a constraint block but no stereotype SimFunction is applicable. Even if i see all perspectives the specific stereotype is not present.
I will appreciate any kind of help.
Thanks,

MP

fishy

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: SimFunction
« Reply #1 on: January 12, 2026, 10:29:19 pm »
I am facing exactly the same problem in EA 17.1.   My aim is to write a funtion that will be interpreted by OpenModelica.   How do I apply the <<SimFunction>> stereotype?
-Neil

fishy

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: SimFunction
« Reply #2 on: January 12, 2026, 10:41:24 pm »
It appears that you can do this by manually defining a new stereotype:   Press the 'New...' button in the Stereotype window, and simply type SimFunction.
This then blows through nicely into the SysMLSimConfiguration screen...
« Last Edit: January 12, 2026, 10:54:28 pm by fishy »
-Neil