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 (nsow...@cisco.com) - Technical Leader, NMTG XMP -
+34-638-083-675
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):
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
Is there anything that we can read to learn more?
Regards
Nathan
> --
>
> You received this message because you are subscribed to the Google Groups
> "SysML Forum" group.
> 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.
>
>