Author Topic: Help needed with SysML item flows!  (Read 5047 times)

Teemu P

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Help needed with SysML item flows!
« on: May 07, 2008, 04:21:35 pm »
Dear all,

could someone please help me with SysML flow modelling?

I cannot assign a flowProperty nor a flowSpecification to a information flow between two blocks. When I try to do the assignment (right click the itemFlow -> Advanced -> Information flows realized), selection list is always empty, no matter what I try.

I have created two blocks, both with ports of type "data" and a flowproperty which is also of type "data". How can I assign this flowproperty to itemFlow connecting the two blocks?

Could someone please help me?

Best regards, Teemu Parkkinen

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Help needed with SysML item flows!
« Reply #1 on: May 07, 2008, 10:12:41 pm »
Hi Teemu,

I've not tried this for a long time, so I don't remember all the details. The basic idea is that you have to define the messages - the actual 'flows' of information - first, and then reuse them in your flow properties and specifications.

[This approach is a common theme in Sparx add-ins. It helps to set up all the lower-level stuff before you get too far into your model. This makes it easier, and much less frustrating, when it you do the high-level stuff.]

I think you might need to do the definition on another diagram. [Where and what you use for this I simply don't remember.] Once you've got the appropriate messages defined, the flows realized list will be populated.

Unfortunately this is - or was back when I tried it out - not clearly documented (if it is covered at all) in the SysML add-in documentation. Unfortunately Sparx does not seem to publish the documentation for the add-ins on their site, so I cannot look it up for you without installing a trial kit, and I really don't want to do that.

--- OK, you can stop reading now if you want. ---

[This is another common situation with Sparx add-ins, weak documentation seems to be a common problem. Despite the tremendous improvements in core EA documentation, this remains a problem. My personal feeling is that the root cause of this problem is the way in which documentation is handled at Sparx, rather than the team behind the products and documentation.]

[IMHO (note the emphasis) the Sparx methodology for getting products out the door really lets us down here. During the beta period and at first release documentation is sketchy at best, and 'catching up' is often the best that can be done; this seems to be the reality for rapid product release across the bulk of the industry. But Sparx tends to release updates to documentation with new builds of products. The add-ins have extremely long cycle times compared to the core EA product, being the equivalent of major updates. This not only delays documentation updates but allows them to become lower priorities; there's no need to make updates for a release in the next few weeks. New documentation must wait until significant new features or changes warrant a major product revision. The cannot be done in advance of the decision to change the product - who knows what it will look like until then - and become subject to the same beta and new release issues that are the root problems.]

[For me - and this does not in any way suggest the same would hold true for anyone else - this is the single greatest common problem I have the the non-core EA software. To this point it has been sufficient to stop me from adding any of the 'options' to my standard configuration, even though I am enthusiastic about the features provided. I simply do not have the time to hunt down each idiosyncrasy every time a client needs advice on how a feature was implemented, let alone do so for myself.]

Sorry about the rant, but I tried to put the 'good stuff' at the beginning.

HTH, David
No, you can't have it!

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Help needed with SysML item flows!
« Reply #2 on: May 08, 2008, 11:08:50 am »
You make valid points, David, and we are on this case. Some, but not all, of the MDG product pages on the website have downloadable .pdf files for the MDG user guides.

Integration for Visual Studio and Integration for TcSE are bang up to date. I have updated the documents for other MDGs and we are gradually filtering their pdf files onto the website pages. In some cases the MDG product has not changed, but as the background EA has we had to update menu paths and screen examples.

SysML specifically is a work in progress, so for a little while longer we won't refresh that site.

Might that perhaps slot you in to Jan Glas' Happiness State diagram?
Best Regards, Roy

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Help needed with SysML item flows!
« Reply #3 on: May 09, 2008, 12:12:51 am »
Thanks for the update Roy.

Hopefully you noted that I specifically mentioned that I don't rest any blame for this on you and your colleagues.

As to the happiness state diagram, look up either of two obscure books by Stan Kelly-Bootle. The first was The Devil's DP Dictionary, circa 1975; the second was a major update in 1995 called The Computer Contradictionary.

If you can find a copy - no, you can't borrow my last copy - check the diagram in the Flow Chart entry. That's how to handle human happiness!

David
No, you can't have it!

Teemu P

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Help needed with SysML item flows!
« Reply #4 on: May 09, 2008, 07:55:34 pm »
Thank you for your help David, but it didn't work. Or maybe I misunderstood something.

I have tried this with as simple model I could:
Code: [Select]
 - <<block>> Block1
     - <<flowPort>> FlowPort :data
  - <<block>> Block2
     - <<flowPort>> FlowPort :data
  - <<dataType>> data
  - <<dataType>> FlowProperty1 :data

I connect Block's port to another block's port using ItemFlow-connector.  When I try to assign the flowProperty I just created to the ItemFlow-connector (right click the connector -> advanced -> information flows realized), the list shows nothing no matter how I describe the flowProperty and organize the model.

I have tried defining the flowProperty in all possible ways I can think of, but still I cannot assign anything to the flow. This is so frustrating as defining what flows between system modules is essential for my current project!

If someone has managed to assign items to itemflows, could you please let me know the steps how to do it?

Best regards, Teemu Parkkinen