Adding 'Information Science & Technology' Unit to Constraint

Discussions about systems engineering product SysML functionalities

Moderator: Moderators

Adding 'Information Science & Technology' Unit to Constraint

Postby piccolocanadesevolante@gmail.com » Sat Jul 29, 2017 11:25 am

How do I add units like Megabit per second etc to constraints please? I was able to find 'bit' as a type in the value properties but whenever it was evaluated in the constraint, I got an error saying 'bit' was undefined. Thank you.
Last edited by piccolocanadesevolante@gmail.com on Fri Aug 11, 2017 10:22 am, edited 1 time in total.
piccolocanadesevolante@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 10
Posts Rating:0
Joined: Tue Jun 20, 2017 2:33 pm

Re: Adding 'Information Science & Technology' Units to Contraint

Postby zilvinas.strolia@nomagic.com » Wed Aug 02, 2017 12:33 am

Dear Piccolocanadesevolante,

In the tool we offer ISO80000 standard library: https://docs.nomagic.com/display/SYSMLP ... el+library

In this library such digital information units can be found - kibibit, mebibit, gibibit, etc. These unit has been accepted by all major standard organizations and in the tool you can find them in ISO80000 library.

For the moment we do not provide JEDEC standard unit library which describes units like kilobit, megabit, gigabit, etc.

This means that you need to create your own custom value type. In your case this would be megabit.
In the links below you will find information of how to create value types in the tool. Also take a notice that value type could have unit and quantity defined:

https://docs.nomagic.com/display/SYSMLP185/Value+Type
https://docs.nomagic.com/display/SYSMLP185/Unit
https://docs.nomagic.com/display/SYSMLP ... ntity+Kind

Best Regards,
No Magic Inc. Customer Support
zilvinas.strolia@nomagic.com
Forum Beginner
Forum Beginner
 
Posts: 35
Posts Rating:3
Joined: Fri Dec 04, 2015 2:18 am

Re: Adding 'Information Science & Technology' Units to Contraint

Postby piccolocanadesevolante@gmail.com » Wed Aug 02, 2017 2:09 pm

zilvinas.strolia@nomagic.com wrote:Dear Piccolocanadesevolante,

In the tool we offer ISO80000 standard library: https://docs.nomagic.com/display/SYSMLP ... el+library

In this library such digital information units can be found - kibibit, mebibit, gibibit, etc. These unit has been accepted by all major standard organizations and in the tool you can find them in ISO80000 library.

For the moment we do not provide JEDEC standard unit library which describes units like kilobit, megabit, gigabit, etc.

This means that you need to create your own custom value type. In your case this would be megabit.
In the links below you will find information of how to create value types in the tool. Also take a notice that value type could have unit and quantity defined:

https://docs.nomagic.com/display/SYSMLP185/Value+Type
https://docs.nomagic.com/display/SYSMLP185/Unit
https://docs.nomagic.com/display/SYSMLP ... ntity+Kind

Best Regards,
No Magic Inc. Customer Support


Thanks very much, I realised later that the JEDEC standard unit library was not available in the ISO80000 library but I was unaware of how to create custom units sot hanks for showing me. I'll try it.
piccolocanadesevolante@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 10
Posts Rating:0
Joined: Tue Jun 20, 2017 2:33 pm

Re: Adding 'Information Science & Technology' Unit to Constraint

Postby piccolocanadesevolante@gmail.com » Sat Aug 12, 2017 9:39 am

This is what I've tried to do: I created a new value type called Bitrate, then I created a QuantityKind called 'data transfer rate' (with a classifier of SimpleQuantityKind). I then created a unit called 'megabit per second' (classifier is SimpleUnit). I added the quantitykind and unit to the Bitrate value type specifications. It seems to make logical sense when they are displayed on my block diagram but I'm not sure of the technical correctness of doing this from a SysML viewpoint.

The problem I'm having now is that, I have a constraint I'm trying to evaluate and I've tried to add units to the value of the constraint i.e. constraint == 1 megabit per second. When I execute the simulation, I get the following error: WARN:Undefined variable 'megabitpersecond.

Any help would be greatly appreciated. I'm sure it's something silly I'm doing due to a lack of in-depth understanding.
piccolocanadesevolante@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 10
Posts Rating:0
Joined: Tue Jun 20, 2017 2:33 pm

Re: Adding 'Information Science & Technology' Unit to Constraint

Postby zilvinas.strolia@nomagic.com » Mon Aug 21, 2017 4:53 am

Dear Piccolocanadesevolante,

Unfortunately, we are unable to reproduce the problem with the information you provided. Please give us more details.
If possible, send us the project. That would be the fastest way to identify the problem.


Best regards,
No Magic, Inc. Customer Support
zilvinas.strolia@nomagic.com
Forum Beginner
Forum Beginner
 
Posts: 35
Posts Rating:3
Joined: Fri Dec 04, 2015 2:18 am


Return to SysML

Who is online

Users browsing this forum: No registered users and 0 guests