Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: s_eauser on January 02, 2020, 10:51:58 pm
-
I am confused about value types. I understand that quantity kind could mean a physical quantity like temperature and the unit is the SI unit of measure degree centigrade. What exactly is value type here? Is it the description of the value I am trying to measure?
For example:
Value Type: Micro-controller Temperature
Quantity Kind: Temperature
Unit: Degree Celsius
-
A ValueType is used, typically, as a typing mechanism for Value Properties (in a Block), Flow Property (in an Interface Block), or for a Port (most likely a Proxy Port)
So yes, it can represent what you are trying to measure. For example, a Block that is monitoring temperature could have a Value Property named currentTemperature, typed to a ValueType named AmbientTemperature with Quantity Kind = temperature and Units = degree Celsius. This Block could also have a Proxy Port named Temperature In typed to ValueType named AmbientTemperature
Hope this helps
Phil
-
Hello, is there actually a SI Unit library available?
Anyway I tried to model Units , quantiykind and value types.
Why do Units not have the stereotype "Unit" but the "Type" = Object in EA? This is different to the description of SYSML Specification
(https://i.imgur.com/qdd0wth.png)
-
How about starting one and placing that on github to have it expanded by the community? I don't think there is one outside already.
q.
-
Sorry, I dont get your hint. Do you wnat me to create always a new post, even if there is the same topic in the past. Anyway. Maybe you can help me again qwerty.
How can I make the type of Unit visible, as seen in the screenshot of the ea model example hsuv?
(https://i.imgur.com/UAd4uyl.png)
-
Ok I copied the Package <<ModelLibrary>> Unit and Qunatity Kind Library
from the EA Example
and than I choose the Property Tab and changed the field Object/Classifier to <<block>>Unit
Hope it helps someone.
I checked to model example HSUV from EA.
They dont use quantity kinds.
But why do they add following association?
(https://i.imgur.com/29LSi1X.png)
-
Why do I have to set the Classifier? What is the purpose and why does EA is not doing it on itself?
(https://i.imgur.com/69FS8y9.png)
-
If you drag the block Unit on a diagram as an instance you won't have to set the classifier manually.
Geert
-
aah, ok,
And is this really necessary to model like this? Do you still need to model quantityKind, too?
Is it enough to use Unit and at the Value to the Variable in the Propertie/Run State Tab?
-
If you drag the block Unit on a diagram as an instance you won't have to set the classifier manually.
Geert
Hello again Geert,
i have noticed, that using the instance instead of changing the Classifier, "quantityKind" value is missing in Run States.
How did they manage to have quantityKind in the Unit Instance?
(https://i.imgur.com/YBS1B9h.png)
https://www.sparxsystems.com/forums/smf/index.php/topic,40033.0.html#msg246055 (https://www.sparxsystems.com/forums/smf/index.php/topic,40033.0.html#msg246055)
I just try to learn from these examples, but is there a book, that describes how to model SysML with Enterprise Architect? It is a bit frustrating, that I feel I have to use more effort for Enterprise Architect than for SysML modeling. Sometimes I wished, that my boss had trusted me with Windchil Modeler or NoMagic
-
Which approach is correct?
(https://i.imgur.com/fDI0fT2.png)
-
Hello, is there actually a SI Unit library available?
In the model wizard you'll find a couple of libraries that define the classes for Unit and QuantityKind.
If you look at https://www.omg.org/spec/SysML/1.5/About-SysML/ (https://www.omg.org/spec/SysML/1.5/About-SysML/), you'll see the QUDV and ISO-80000 packages which can be imported into EA for a very large collection of predefined types.
-
I randomly stumbled on his thread and wanted to try the ISO 80000 Library.
But I get an error message, when selecting it in the Model Builder.
-
I randomly stumbled on his thread and wanted to try the ISO 80000 Library.
But I get an error message, when selecting it in the Model Builder.
Pro tip. It helps you to get useful replies when you provide the error message instead of just saying you got one.
-
The Error Message is:
Unable to connect to service
Http Status Code: 403 Forbidden
So far, everyone in my company gets this error.
-
Just for your information,
On my machine (environment), I can download and use the library.
So, I guess that the reason is your network configuration (e.g., Your network administrator does not allow to access the page.)
-
Good to know!
I guess I'll have to the network config.
Thanks for the answer.