Hi
I'm looking for a SysML / UML BDD / Class modeling of the following problem.
An Aircraft (AC) has one slot for a device. Either EO or Radar devices may be installed. One must be installed.
Two options as I see it (with some limitations):
Option 1:
The Attribute (Composition) name is Device (only one; due to merge between the two). However, it is not clear to me that this model represents Mutual-Exclusiveness between the two devices.
Option 2:

No it is almost clear that one of them is possible, however, also the "0" option is possible. Not exactly the definition of the problem.
From the Browser picture it is clear that only one Part exists:

Please comment on the two above or add your opinion.
Thanks
Eran
======================
Eran Peleg, CEO
Metaphor Vision Ltd.
Phone: +972545346060
Fax: 151545346060
eMail: epe...@metaphor.co.il
Skype: EranPelegMetaphor
======================
Hello Eran
I would propose to complete your drawing Option 1 with a dependency between the associations, a discontinued line between the association.
On the line you add a constraint labeled with the keyword XOR -> {XOR}.
Sincerely
Philippe Wolkowicz
ACTL Systems Ltd.
CEO & Senior consultant
217/5 Jaffa St. POB 8129,
Jerusalem, 91081, ISRAEL
Tel: +972-2-5376459
Fax: +972-2-5370425
Mobile: 972-52-2676647
email: phil...@actl.co.il
URL: www.actl.co.il
Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the in...@actl.co.il and destroy the original message.
Hi
I'm looking for a SysML / UML BDD / Class modeling of the following problem.
An Aircraft (AC) has one slot for a device. Either EO or Radar devices may be installed. One must be installed.
Two options as I see it (with some limitations):
Option 1:
<image001.jpg>
The Attribute (Composition) name is Device (only one; due to merge between the two). However, it is not clear to me that this model represents Mutual-Exclusiveness between the two devices.
Option 2:
<image002.jpg>
No it is almost clear that one of them is possible, however, also the "0" option is possible. Not exactly the definition of the problem.
From the Browser picture it is clear that only one Part exists:
<image003.jpg>
Please comment on the two above or add your opinion.
Thanks
Eran
======================
Eran Peleg, CEO
Metaphor Vision Ltd.
Phone: +972545346060
Fax: 151545346060
eMail: epe...@metaphor.co.il
Skype: EranPelegMetaphor
======================
--
You received this message because you are subscribed to the Google
Groups "SysML Forum" group.
Public website: http://www.SysMLforum.com
To post to this group, send email to sysml...@googlegroups.com
To unsubscribe from this group, send email to
sysmlforum+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sysmlforum?hl=en_US?hl=en
Hi Philippe
Nice suggestion …

But, as for Rhapsody (the tool I'm using), actually the two Associations are one, so Dependency can't run between the two (one) relations. So, I added the Dependency between the Blocks.
Is that what you mean?
Thanks
Eran
======================
Eran Peleg, CEO
Metaphor Vision Ltd.
Phone: +972545346060
Fax: 151545346060
eMail: epe...@metaphor.co.il
Skype: EranPelegMetaphor
======================

--
--
Hi,
I prefer previous answer.
Yet another way of expressing it is by writing an OCL constraint. I
would "draw" two associations (eodevice and radardevice) (or maybe
three, the last two being subelement of the former "device"). Then add
the OCL constraint:
invariant AC:
self.device->size() = 1
--
Salutations cordiales,
Loïc Fejoz
Follow our blog on building truly safe and optimized critical systems.
http://www.realtimeatwork.com/blog/
The OCL is part of (embedded in) the SysML model. See ConstraintBlock in
the SysML specification. It is perfectly standard. It is shown in the
"constraints" part on the block diagram for instance.
The first ten slides of this presentation might help understant what OCL
can provide:
http://www.realtimeatwork.com/2011/03/topcased-day-presentation-what-fuml-can-bring-to-mbse/
--
regards,
Loïc Fejoz
Follow our blog on building truly safe and optimized critical systems.
http://www.realtimeatwork.com/blog/
Le 20/04/2012 14:43, Jessie Ryan a écrit :
> Loic,
>
> interesting response. I have seen much discussion on OCL constraints,
> but they are typically associated with automatic generation of new
> variants - is that correct? I am a bit confused about WHERE the OCL
> constraints are captured - are they part of the UML/SysML model
> itself, or are they part of a specific model transformation tool/
> rules base?
>
> Thanks,
>
> Jessie


