Book a Demo

Author Topic: Application of SysML parametric blocks  (Read 4005 times)

ags

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Application of SysML parametric blocks
« on: October 18, 2012, 04:42:53 am »
I'm building a model using EA SysML of the automobile design in chapter 3 of the book "A Practical Guide to SysML."  The depiction of the constraint blocks is different in EA than in the book.  I've built the model using both approaches.  For the EA approach I'm using the audio player example that comes with the tool.  

I don't see in the EA example where in the constraint blocks the equations are actually formally defined.  There is a great writeup of the equation in the notes section.  I guess I was also expecting the equations to be in the constraints compartment, but I don't see them at all.  

The parametric diagram of the constraint block EchoDSP wires together the constraintproperty blocks to execute the constraints.  In the constraintproperty blocks is a property field that identifies constraint block for the type.  

I'm assuming the definition of the constraints is somewhere in the model, I just can't find it where I would expect it.  It looks like the book and the EA example deviate here.  

I am stuck on this.  Does anyone know where the constraints are actually defined?

Thanks ahead.

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Application of SysML parametric blocks
« Reply #1 on: October 18, 2012, 07:39:27 am »
They are modelled as Javascript statements attached to ConstraintBlocks

The best way to find out about SysML parametric simulation is to explore EAExample.eap, where the DSP example is included.

Open the example and select the Systems Engineering package, then double click Constraint Models and finally double click Constraint Blocks

Right click on a Constraint Block and select SysML > Edit Constraint Script to view an example script.

Have fun and hope this helps you on your way.
Models are great!
Correct models are even greater!

ags

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Application of SysML parametric blocks
« Reply #2 on: October 18, 2012, 09:55:40 am »
Hi Phil,

I get all the way to this step in your instructions: "Right click on a Constraint Block and select SysML > Edit Constraint Script to view an example script"

When I right click on a Constraint Block the list does not include SysML > Edit Constraint Script

I have the SysML add on loaded.  Maybe that's interferring somehow.

Thanks, Art

MMA

  • EA User
  • **
  • Posts: 63
  • Karma: +3/-0
    • View Profile
Re: Application of SysML parametric blocks
« Reply #3 on: October 18, 2012, 01:46:43 pm »
What is the editions of your EA?
You might need "Systems Engineering" edition or "Ultimate" edition.