-
Notifications
You must be signed in to change notification settings - Fork 5
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are stereotypes for software, hardware, and generic elements expendables? #25
Comments
Hi Alex, Cheers, |
A tagged value, referencing one or more elements stereotyped by SAF_EngineeringDiscipline for example would work, yes. |
One reason why using the stereotypes PhysicalHardwareElement and PhysicalSoftwareElement was the ability to assign different tagged values via the stereotape to those elements. For SW you probably have Version Numbers, Build Number while for HW you for example talk about revisions or even code the revision in the partnumber. |
Am 14. Oktober 2023 17:40:45 MESZ schrieb mleute ***@***.***>:
One reason why using the stereotypes PhysicalHardwareElement and PhysicalSoftwareElement was the ability to assign different tagged values via the stereotape to those elements. For SW you probably have Version Numbers, Build Number while for HW you for example talk about revisions or even code the revision in the partnumber.
This is not possible if you only use a tagged value or at least it make the things more complicated.
--
Reply to this email directly or view it on GitHub:
#25 (comment)
You are receiving this because you were assigned.
Message ID: ***@***.***>
True, but i doubt that we can standardize Attributes Like those you mentioned.
An other Option would be a pattern where the blocks inherit from a discipline specific block with a stereotype from SAF.
Users could put own Attributes on those.
And Override them in the specialisation.
I Like this better.
--
Gruß,
Alexander
|
Am 14. Oktober 2023 17:40:45 MESZ schrieb mleute ***@***.***>:
One reason why using the stereotypes PhysicalHardwareElement and PhysicalSoftwareElement was the ability to assign different tagged values via the stereotape to those elements. For SW you probably have Version Numbers, Build Number while for HW you for example talk about revisions or even code the revision in the partnumber.
This is not possible if you only use a tagged value or at least it make the things more complicated.
--
Reply to this email directly or view it on GitHub:
#25 (comment)
You are receiving this because you were assigned.
Message ID: ***@***.***>
And - while we're at it, i really really want to get rid of the different stereotypes for Physical system and Physical system Element.
There shall be only a system stereotype, nothing else.
Every system is also a system element - in an upper system.
We have already a special stereotype for the role of a system as Part of an upper system.
…--
Gruß,
Alexander
|
I favor keeping stereotypes to a minimum. The disciplines are better handled with views. Several disciplines work with the same systems or system elements but from their own point of view, hence the convenience of keeping systems discipline-neutral. |
SW and HW are always physical. I'd rename them to hardware and software same as OOSEM. |
Am 14. Oktober 2023 21:36:57 MESZ schrieb Hugo Ormo ***@***.***>:
I favor keeping stereotypes to a minimum. The disciplines are better handled with views. Several disciplines work with the same systems or system elements but from their own point of view, hence the convenience of keeping systems discipline-neutral.
A discipline may be Safety, that would take into consideration several systems and impose constrains on them. The very same systems will be constrained by other disciplines e.g. ergonomy/UI.
The final system is the result of superimposing all those discipline-views over the same set of physical Systems.
--
Reply to this email directly or view it on GitHub:
#25 (comment)
You are receiving this because you were assigned.
Message ID: ***@***.***>
The Idea is assigning a certain class of Things to the Block. Perhaps the Term discipline was misleading.
E.g. Settings it to be a Software Item.
--
Gruß,
Alexander
|
Let's let it be a value property. The type of it can be named e.g. Settings and it be as structured a type as needed. No need to build a template for the containing block at the framework level. Some teams may do it in the implementation and some others will specialize from an element's library. Then again, settings are part of the SW architecture that need be not in a system model in the first place. I like the approach of OOSEM with SW: just be an empty ref part as a placeholder for an element of the software architecture |
But how does OOSEM specify that it there will be a Software, or hardware ? IIRC it does by using an additional stereotypes as they come along, without specifying Rules. The OOSEM WG hasn't releases any Docs about that, AFAIK. Only some references, e.g. to friedenthals book. An other aspect is, that we already know that software typically runs on hardware. |
Following your arguments, in addition to a generic physical type a differentiation of physical sub-types (usual suspects: SW, HW,...) is deemed helpful. With those sub-types additional information may be adivisable to be captured. Why not to have a generic physical type (block) and then a number of spezialisations, which can hold additional pieces of information (tag or value prop is TBD). So no problem to enhance by adding more specialisations are needed in a domain specific application of SAF. (as an alternative to adding stereotypes) |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
We should not use stereotypes to classify physical blocks belonging to a certain engineering discipline.
See https://github.com/GfSE/SAF-Specification/blob/main/vp-examples/Physical-Structure-Viewpoint-secondary-example-1.svg for a diagram depicting the issue.
(i favored this a long time but now i think it was an error)
Instead of this, i propose to use a relationship to an "engineering discipline" element. This should carry a stereotype, e.g. SAF_EngineeringDiscipline.
Users of SAF create their own disciplines and assign physical blocks to one or more disciplines.
(We can provide some well known disciplines as library elements in the profile, e.g. mechanical, electrical, software..)
This should result in using only one stereotype for any kind of physical block.
The text was updated successfully, but these errors were encountered: