Book a Demo

Author Topic: EA Requirement vs. SysML Requirement  (Read 5729 times)

adriaan

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
EA Requirement vs. SysML Requirement
« on: December 03, 2012, 09:46:40 pm »
there seem to be some minor differences between EA's built-in Requirement element and the SysML Requirement element.

1) this is of course horribly confusing to users

2) EA Requirement text is captured in "Note" while SysML Requirement text is captured in tagged value "text" <memo>

3) cannot use "quick links" on diagrams to establish "EA Requirement -> Block" even though it works for "SysML Requirement -> Block"

simply changing the EA Requirement's "Type" to "requirement" addresses the issue #3 above.

i) is there any way to automatically convert all EA Requirements to SysML Requirements?

ii) what other differences are there between the two elements?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EA Requirement vs. SysML Requirement
« Reply #1 on: December 03, 2012, 09:54:24 pm »
This is confusing indeed. But I only can advise to stick to one sort of requirement elements (in your case SysML). Unfortunately it is not so easy to convert a "normal" requirement to a SysML one. Unless you have hundreds of them you should convert them manually.

q.

adriaan

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: EA Requirement vs. SysML Requirement
« Reply #2 on: December 03, 2012, 10:04:16 pm »
if that's the official line then that is unfortunate.

i have 187 requirements created by importing from a requirements tool - all of which will have to be converted. and it is all too easy if one isn't careful to select the Requirement off the "Common" pallet instead of the "SysML Requirements" pallet. is there perhaps any way of limiting the set of NamedElements that can be used in a project?

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: EA Requirement vs. SysML Requirement
« Reply #3 on: December 04, 2012, 09:30:26 am »
If you just want to use SysML as the modeling language with (most of)the EA facilities, then select Settings > MDG Technologies and deselect the Enabled checkbox against the Basic UML, Simple UML Views, Core Extensions and MDG Technology Builder technologies. Do the same for any other technologies that might be loaded and that you have no interest in.

This still gives you the Common Toolbox page, but if you collapse it (click on the 'minus' box to the left of the name) you won't see the 'normal' Requirements element.

Does that help?
Best Regards, Roy

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: EA Requirement vs. SysML Requirement
« Reply #4 on: December 04, 2012, 11:38:15 am »
You could also try setting SysML as the "Active" technology - either using the list of technologies on the Default Tools toolbar, or using the Set Active button in Settings | MDG Technologies.

http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/getting_started/maintoolbar.html
http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/standard_uml_models/manage_mdg_technologies.html

Setting SysML 1.2 as the "active" technology for example will make a "SysML Common" group always visible in the toolbox which contains the SysML Requirement element, no matter what type of diagram you are currently viewing.

Regarding conversion of existing requirements - you can apply the SysML Requirement type to one element at a time by dragging the Requirement type from the SysML toolbox onto your existing Requirement in the diagram.  Unfortunately there is no easy way to perform a bulk change of all your Requirements at once that I can think of other than using Scripting.

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: EA Requirement vs. SysML Requirement
« Reply #5 on: December 04, 2012, 08:58:38 pm »
Hi - An easy way to covert Requirements like this is to export them into Excel using eaDocX, the do a bit of simple Excel copy & paste, then read them straight back into EA, either with the requirement description in the 'text' tagged value, or the normal 'notes' field, or maybe even both.
Have a go:  eadocx.com
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

RobCDeJong

  • EA User
  • **
  • Posts: 29
  • Karma: +4/-0
    • View Profile
    • Soltegro site
Re: EA Requirement vs. SysML Requirement
« Reply #6 on: December 04, 2012, 11:29:41 pm »
You can change the requirement to SysML requirement by export all requirements(including their GUID) to a CSV formatted file.  Change the Type from Requirement to ExtendedRequirement in this CSV file for all requirements and then import the requirements again.

Another solution is to make the change directly in the database via an update statement.

In EA you will now see the SysML1.2 properties.

BTW: we choose to use the notes field in stead of the SysML <text> field. The reason: the notes field is easier to work with (easy accessable).

cheers,
Rob