Book a Demo

Author Topic: No parameters in SysML simulation configuration  (Read 3839 times)

LLE

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
No parameters in SysML simulation configuration
« on: July 15, 2013, 04:52:10 pm »
Hallo,

I try to set up a basic simuation of a SysML model starting from a EA built-in pattern.

To do that I first create a new Project. Then in the Model Browser I create a "New Model From Pattern" "SysML 1.3" with "System Engineering Model", "Primitive Value Types", "Quantity Kinds and Units" checked. Then I go to "Systems Engingeering Model" > "Requirements Model" > "Constraints" > "constraintBlock Constraint 1" > Constraint 1 paramteric diagram.

When I right click in the diagram "SysML" > "Simulate Diagram" as discribed in the diagram, the "Simulation Configuration" window is displayed. But there are now parameters to select! Why don't they show up in the left pane?

I compared this model with the "EchoDSP Parametric Modeling Example" EAExample. There parameters and inputs do show up, and simulation works. I can also add new properties to the EchoDSP constraintBlock, and they show up in the simulation configuration window.

Although trying to configure the model generated from the pattern as like the EAExample, I am not able to make simualtion paramters show up?  
What makes EA accept a parameter for simulation?

Thanks for any sugestions

I am using EA 10 (10.0.1007)
« Last Edit: July 15, 2013, 04:52:37 pm by LLE »

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: No parameters in SysML simulation configuratio
« Reply #1 on: July 15, 2013, 07:54:32 pm »
Hello,

have you:
  • created the parameter of type property and connected them
  • create the element script


Well I have a working example. But it was some time ago when I worked with parametrics. I firstly also had problems with input/output parameters.

If you are interested I can send you my example. Just drop me a note. Starting from a working example often makes things easier.

Helmut

Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

LLE

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: No parameters in SysML simulation configuratio
« Reply #2 on: July 15, 2013, 08:33:34 pm »
Hello,

thanks, I do have the Systems Engineering model in the EAExample Project as a working example.

Still I don't see what is missing in the model generated from the pattern.
It contains properties, (inVal, t, f), there is a script behind the constraintProperty SineWave, they are connected, ...

Actually connections are not necessary. In the EAExample a new property is displayed in the Simulation Configuration even if it is not connected.

By the way, I think a model generated from a pattern delivered with sparx EA should work out of the box, at least if it is explicitly stated in the diagram, as it is the case here.



LLE

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: No parameters in SysML simulation configuratio
« Reply #3 on: July 16, 2013, 02:58:23 am »
Now I know how it works (not very intuitive to me):

rightclick on the parametric diagram of "Constraint 1" > Hide Diagram Frame


Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: No parameters in SysML simulation configuratio
« Reply #4 on: July 16, 2013, 04:31:35 am »
Congratulation!

I have a faint memory. Thanks for your hint.

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)