Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Ports and instances
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
nsowatsk  
View profile  
 More options Oct 21, 12:44 pm
From: nsowatsk <nsowa...@cisco.com>
Date: Wed, 21 Oct 2009 18:44:06 +0200
Local: Wed, Oct 21 2009 12:44 pm
Subject: Ports and instances
Hi all

I am working on a project to see if I can use SysML/UML to define network
elements, and then use instances of network elements in a network design.

Creating network elements as blocks with ports with types like "Switch" and
"Ethernet" port is relatively straightforward.

I then create instances of those Switch types, expecting to see aninstance
of the Switch that has the Ports (defined on the Switch type) to which I can
connect Associations representing cables.

What I have discovered, with help from my colleagues at MagicDraw, is that
Ports are not instantiated, so they do not appear in the instances, so I
can't do what I want.

If that doesn't work in this case, then I expect that others will have
similar examples. Lots of things have connections/Ports to which specific
kinds of connectors should attach, and to which other types of connectors
should not.

If we can't actually create instances of such things it would seem that
SysML/UML has a hole in it when it comes to representing such physical
things.

What do you all think?

Many thanks

Nathan

--
Nathan Sowatskey (nsowa...@cisco.com) - Technical Leader, NMTG XMP -
+34-638-083-675


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Loïc Fejoz  
View profile  
 More options Oct 22, 2:23 am
From: Loïc Fejoz <loic.fe...@realtimeatwork.com>
Date: Thu, 22 Oct 2009 08:23:41 +0200
Local: Thurs, Oct 22 2009 2:23 am
Subject: Re: [SysML Forum] Ports and instances

Hi,

You certainly can do what you want in an "Internal Block Diagram".
See <http://www.realtimeatwork.com/?page_id=683> (or slide 10 on the
same page) where there is such an example of electronic network.

Indeed it is not an instance of flow port but a flow port again. Still
you can represent what you seem to want.

--
regards,
Loïc Fejoz

nsowatsk a écrit :

  loic_fejoz.vcf
< 1K Download

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dragos DOBRE  
View profile  
 More options Oct 22, 3:45 am
From: "Dragos DOBRE" <dobre.dra...@gmail.com>
Date: Thu, 22 Oct 2009 09:45:47 +0200
Local: Thurs, Oct 22 2009 3:45 am
Subject: RE: [SysML Forum] Ports and instances
Hello Nathan,

Have you seen the SysML FAQ (http://www.sysmlforum.com/FAQ.htm)? As Cris
Kobryn has explained in an earlier email, there is a lack of complete
Instance semantics in SysML. As a matter of fact, if you look in the SysML
specification you will not find (I didn't in any case) information about
instances of blocks. In SysML these instances are called Parts and they are
used in IBD to define the internal composition of a block. This way you can
use the ports to connect the Parts with Connectors and not with
Associations. You can even use FlowPorts and ItemFlow to define what you are
sending between ports.

In my opinion, you must define the switch block and then you have to
specialize this block in 4 ports switch, 8 ports switch, etc., and to
describe for each switch the ports (4 ports, 8 ports, etc.). After this, you
only have to reuse the specialized switches in your architecture and to
connect the desired ports between them.

What you describe is more related to the modeling tool. Normally, because of
the lack of instances, the modeling tool, MagicDraw in your case, should not
let you use instances of a block in a diagram. Other tools do that so you
couldn't mistake with the SysML semantics.

Best regards,

Dragos DOBRE
Doctorant - Nancy Université - Université Henri Poincaré
Centre de Recherche en Automatique de Nancy - CRAN
Faculté des Sciences, BP 70239
54506 Vandoeuvre-lès-Nancy
Tél: +33 (0) 3.83.68.40.00 P81450
Fax: +33 (0) 3.83.68.44.59


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ralph N Hains  
View profile  
 More options Oct 22, 6:59 am
From: "Ralph N Hains" <ralphnoel.ha...@physics.org>
Date: Thu, 22 Oct 2009 11:59:55 +0100
Local: Thurs, Oct 22 2009 6:59 am
Subject: RE: [SysML Forum] Ports and instances

Hi Nathan,

This looks to be a similar question to that just asked by Paul, and I
suspect has a similar answer - these are tool issues (or tool usage
issues?), rather than holes in SysML or UML per se. However, you should be
careful of using the word "Instance" with respect to SysML, as much
discussed!

You can, in SysML, define a blocks with ports as you did.
You can give the ports types as you did.
You can then, in SysML, create another block "System1" and define parts of
it typed by the blocks defining your network elements. These are parts, not
instances!
Similar to my explanation in my earlier post, the ports on the network
element parts will not necessarily (tool dependent) show by default, but any
proper SysML tool will provide a mechanism to show them on request. In
Artisan Studio you would right click a part and select "Populate>Ports" if
you want to show all of them, there are other mechanisms that are more
selective (see my earlier post - the same applies here). I am surprised by
your comment re your colleagues at MagicDraw, I'd double check if I were
you.
You can then join the ports using Connectors (not associations - to a first
approximation associations join classifiers, connectors join parts and
ports, links join instances and so can be directly modeled in UML but not
SysML - though their existence outside of the modeling environment is
implied by both connectors and associations)

The following diagram from Artisan Studio shows the effect (I think) you are
after - two parts in my system, both typed by Switch (defined outside of the
System so reusable between and within systems), both with the ports defined
on Switch, being used in different ways (so whereas the ports come from the
Switch definition, the connectors are specific to System1 context). Here is
the diagram but I don't know if this will make it to the group (posts are
usually plain text):

Notes:
1. This shows SysML/Studio capabilities - I know it isn't a real network
2. I usually use nice engineering straight lines but am feeling arty today!
3. Consistency checks will tell you if you connect incompatible ports -
though it is possible to customize Studio so it prevents this in the first
place.

Cheers,

Ralph

  winmail.dat
700K Download

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Ebert  
View profile  
 More options Oct 22, 10:42 am
From: Paul Ebert <a2ex...@gmail.com>
Date: Thu, 22 Oct 2009 10:42:24 -0400
Local: Thurs, Oct 22 2009 10:42 am
Subject: Re: [SysML Forum] Ports and instances

Nathan, it seems to me that we are running into the same problem - in your
case with ports and in mine with composite parts.  The question seems to be
if these aspects of a block are treated as part of the block (class)
definition and, therefore, are included when an instance is created.  It
seems to me to be a significant flaw if this is not how it works.

Is it only block attributes and operations that are included in
instantiation?

Paul


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nsowatsk  
View profile  
 More options Nov 6, 9:58 am
From: nsowatsk <nsowa...@cisco.com>
Date: Fri, 06 Nov 2009 15:58:38 +0100
Local: Fri, Nov 6 2009 9:58 am
Subject: Re: [SysML Forum] Re: Ports and instances

Ralph

Many thanks for your help here. Hopefully you will see my other post where I
have submitted a worked example of this in MagicDraw, and a write up also.

I would have liked, and still would like, to try this with Artisan also.
Unfortunately the free Uno edition is not really supported, so I couldn¹t
even get off the ground with Artisan :-/

Regards

Nathan

On 22/10/2009 12:59, "Ralph N Hains" <ralphnoel.ha...@physics.org> wrote:

  image.png
8K Download

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ralph N Hains  
View profile  
 More options Nov 12, 11:20 am
From: "Ralph N Hains" <ralphnoel.ha...@physics.org>
Date: Thu, 12 Nov 2009 16:20:47 -0000
Local: Thurs, Nov 12 2009 11:20 am
Subject: RE: [SysML Forum] Re: Ports and instances

Hi Nathan,

Artisan host a support forum for Uno at
http://artisanstudiouno.4forum.biz/index.htm -  should be worth a try if you
are having install problems,

Cheers,

Ralph

From: sysmlforum@googlegroups.com [mailto:sysmlforum@googlegroups.com] On
Behalf Of nsowatsk
Sent: 06 November 2009 14:59
To: sysmlforum@googlegroups.com; ralphnoel.ha...@physics.org
Subject: [SysML Forum] Re: Ports and instances

Ralph

Many thanks for your help here. Hopefully you will see my other post where I
have submitted a worked example of this in MagicDraw, and a write up also.

I would have liked, and still would like, to try this with Artisan also.
Unfortunately the free Uno edition is not really supported, so I couldn't
even get off the ground with Artisan :-/

Regards

Nathan

On 22/10/2009 12:59, "Ralph N Hains" <ralphnoel.ha...@physics.org> wrote:

Hi Nathan,

This looks to be a similar question to that just asked by Paul, and I
suspect has a similar answer - these are tool issues (or tool usage
issues?), rather than holes in SysML or UML per se. However, you should be
careful of using the word "Instance" with respect to SysML, as much
discussed!

You can, in SysML, define a blocks with ports as you did.

You can give the ports types as you did.

You can then, in SysML, create another block "System1" and define parts of
it typed by the blocks defining your network elements. These are parts, not
instances!

Similar to my explanation in my earlier post, the ports on the network
element parts will not necessarily (tool dependent) show by default, but any
proper SysML tool will provide a mechanism to show them on request. In
Artisan Studio you would right click a part and select "Populate>Ports" if
you want to show all of them, there are other mechanisms that are more
selective (see my earlier post - the same applies here). I am surprised by
your comment re your colleagues at MagicDraw, I'd double check if I were
you.

You can then join the ports using Connectors (not associations - to a first
approximation associations join classifiers, connectors join parts and
ports, links join instances and so can be directly modeled in UML but not
SysML - though their existence outside of the modeling environment is
implied by both connectors and associations)

The following diagram from Artisan Studio shows the effect (I think) you are
after - two parts in my system, both typed by Switch (defined outside of the
System so reusable between and within systems), both with the ports defined
on Switch, being used in different ways (so whereas the ports come from the
Switch definition, the connectors are specific to System1 context). Here is
the diagram but I don't know if this will make it to the group (posts are
usually plain text):

Notes:

1. This shows SysML/Studio capabilities - I know it isn't a real network

2. I usually use nice engineering straight lines but am feeling arty today!

3. Consistency checks will tell you if you connect incompatible ports -
though it is possible to customize Studio so it prevents this in the first
place.

Cheers,

Ralph

  image001.png
8K Download

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google