Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - RealPecho

Pages: [1]
1
Hi,

In my MDG Technology, I created a stereotype SignalSpecification with a generalization to SysML1.4::FlowProperty in EA 16.1. I added several tagged values:

  • Physical (Type: QuantityKind, enumeration)
    Unit (Type: SI_Unit, enumeration)
    MaxValue (Type: int)
    MinValue (Type: int)
    Accuracy (Type: int)
    Resolution (Type: int)

I also added _tagGroupings (Type: <none>, Initial Value):
Code: [Select]
Unit=PhysicalAttributes;Physical=PhysicalAttributes;MaxValue=SignalProperties;MinValue=SignalProperties;Accuracy=SignalProperties;Resolution=SignalProperties;
Following the Sparx example: https://sparxsystems.com/enterprise_architect_user_guide/17.1/modeling_frameworks/define_tag_groupings.html

After regenerating the Technology, the tagged values appear, but the grouping is ignored.

Question: How can tagged values be properly grouped in a Technology stereotype in EA 16.1?


2
In a state machine i'm using to describe the transition some signal names to describe the guard.
The signals are already in the model defined with an element of type "Signal".
Is there any way to create using SysML or UML a relationship between?
Because in my model the signal are defined, but they doesn't have a relationship link

3
why the name of the action is in the middle of the element and not in the top?
I use the same stereotype twice, but the position of the name is ddifferent. how can I control this?



4
Hi, when I insert an ActivitParameter in my model it will created with the attribute (parameter) Type: Integer.

I would like to create en extended stereotype of the ActivityParameter with the default type: none

I don't find this option in the manual. it is possible to make this change? with the profile helper?

5
I created my own technology extending UML and SysML and I have defined various Diagrams. This is working fine.

When I use the tecnology during modelling and i want to add a diagram, i get the list of possible diagrams. The list of diagrams is sorted randomly, how can i do in my own technology to get the desired order for the diagrams?

6
Hi guys, how can i configure my own technology to be allocated together with the others system engineering technologies?

Toolbox -> Change Perspective -> SystemEngineering -> xx

https://github.com/RealPecho/MDG/blob/main/toolbox.png

7
I create my first MDG and try to apply some ideas from my last company. Most of the things are already working but i have problems with the instances.

I define stereotype that extends an activity. I added some tagged values from type enumeration to the stereotype and configured the instance behavior as "instance" and give the name of another stereotype. (see screenshots)

I create also the stereotype for the instance with the same tagged values.

Problem:

I add to a diagram an activity element with the defined stereotype and change the value of the tagged value. Then I add an instance of this element to the diagram, but the instance doesn't take over the new value for the tagged values of the element.

I know, that this is possible because is working in my last company, but i don't know what i am doing wrong. i compared the 2 xml-files, but they are identical




https://github.com/RealPecho/MDG

Stereotype for activity:

Code: [Select]
<Stereotype name="BWSysDevActivity" instanceMode="Instance" instanceType="BWSysDev::BWSysDevActionCallBehavior" notes="" cx="0" cy="0" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
<AppliesTo>
<Apply type="Activity">
<Property name="_HideStype" value="BWSysDevActivity"/>
<Property name="isReadOnly" value="false"/>
<Property name="isSingleExecution" value=""/>
<Property name="parameterName" value=""/>
<Property name="postcondition" value=""/>
<Property name="precondition" value=""/>
<Property name="_makeComposite" value="false"/>
<Property name="_UCRect" value="0"/>
</Apply>
</AppliesTo>
<TaggedValues>
<Tag name="ElementType" type="enumeration" description="" unit="" values="Mechatronical,Electrical,Mechanical,Software,Unknown" default="Unknown"/>
...
</TaggedValues>
</Stereotype>

Stereotype for instance:

Code: [Select]
<Stereotype name="BWSysDevActionCallBehavior" instanceMode="Instance" notes="" cx="0" cy="0" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
<AppliesTo>
<Apply type="Action">
<Property name="context" value=""/>
<Property name="effect" value=""/>
<Property name="kind" value="CallBehavior"/>
<Property name="_HideStype" value="BWSysDevActionCallBehavior"/>
</Apply>
</AppliesTo>
<TaggedValues>
<Tag name="ElementType" type="enumeration" description="" unit="" values="Mechatronical,Electrical,Mechanical,Software,Unknown" default="Unknown"/>
...
</TaggedValues>
</Stereotype>

Pages: [1]