Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Wishmaster84 on March 04, 2023, 02:21:57 am

Title: SimFunction
Post by: Wishmaster84 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
Title: Re: SimFunction
Post by: fishy 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?
Title: Re: SimFunction
Post by: fishy 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...