Use of swim lanes in activity diagram

Systems engineering related questions and discussions.

Moderator: Moderators

Use of swim lanes in activity diagram

Postby amit.kalhapure@gmail.com » Wed Sep 01, 2021 11:48 pm

Hello,
I have made a small model of Air compressor. Please see the attachment.
The issue here is, the signal is not getting transmitted from swimlanes of control room to swimlanes of pumping station.
Please find below the snapshots of the model..
pic1.png

pic2.png

Kindly help.
Thanks in Advance,
Amit.
You do not have the required permissions to view the files attached to this post.
amit.kalhapure@gmail.com
Forum Beginner
Forum Beginner
 
Posts: 29
Posts Rating:0
Joined: Sun Aug 30, 2020 12:24 am

Re: Use of swim lanes in activity diagram

Postby saulius_p » Thu Sep 02, 2021 9:03 am

Hello Amit,

Good to talk to you.

Do not use swimlanes to change context of the behavior on receiving side. Use classifier behavior of the block in which you are sending signal, in you case it is pump. See sample at https://youtu.be/Il3V3KOFvTM.

Let us know if more help would be needed.

Sincerely,
Saulius
Best regards,
Saulius Pavalkis
User avatar
saulius_p
No Magic
No Magic
 
Posts: 326
Posts Rating:12
Joined: Fri Dec 04, 2009 5:37 am
Full name: Saulius Pavalkis

Re: Use of swim lanes in activity diagram

Postby amit.kalhapure@gmail.com » Thu Sep 02, 2021 9:37 am

Thanks a lot Saulius,
In my opinion if I use classifier behavior everytime, then I have to deal with so many activity diagrams.
Instead if I use swimlanes then I can bring all the activities in a single activity diagram, and allocate activities to their respective blocks using swimlanes.
Could you suggest any other solution for this?
What if the system has 100+ parts/components ?

thanks again,
Amit.
amit.kalhapure@gmail.com
Forum Beginner
Forum Beginner
 
Posts: 29
Posts Rating:0
Joined: Sun Aug 30, 2020 12:24 am

Re: Use of swim lanes in activity diagram

Postby saulius_p » Thu Sep 02, 2021 10:26 am

Thank you for your suggestion and notice. We will consider this for future improvements.

The problem in current case is that we have two places were behavior of the block can be defined. One is owned by system and through swimlanes we can change context to specific block second is owned as classifier behavior by block itself. Only classifier behavior is treated as main behavior of the system.

Kind regards,
Saulius
Best regards,
Saulius Pavalkis
User avatar
saulius_p
No Magic
No Magic
 
Posts: 326
Posts Rating:12
Joined: Fri Dec 04, 2009 5:37 am
Full name: Saulius Pavalkis

Re: Use of swim lanes in activity diagram

Postby amit.kalhapure@gmail.com » Wed Sep 08, 2021 3:24 am

Dear Saulius,

I have one more question.
In the IBD as shown in pic 2, how to control input and output ports of pump.
I am doubtful whether signals can be used for controlling the flow through interface blocks?
Basically I want to restrict the operation of pump wherein input port in functioning whereas output port is not functioning.
Thanks in Advance.
Amit.
amit.kalhapure@gmail.com
Forum Beginner
Forum Beginner
 
Posts: 29
Posts Rating:0
Joined: Sun Aug 30, 2020 12:24 am

Re: Use of swim lanes in activity diagram

Postby saulius_p » Fri Sep 10, 2021 1:46 pm

Hello Amit,

Good to talk to you. Could you give more details what logic is required?

Sincerely,
Saulius
Best regards,
Saulius Pavalkis
User avatar
saulius_p
No Magic
No Magic
 
Posts: 326
Posts Rating:12
Joined: Fri Dec 04, 2009 5:37 am
Full name: Saulius Pavalkis

Re: Use of swim lanes in activity diagram

Postby amit.kalhapure@gmail.com » Sun Sep 12, 2021 9:28 pm

Thanks Saulius,
Assume the pump gets air from the environment at 15deg C and 1 Bar irrespective of pump is on or off. This is at the inlet port.
When pump gets on signal, it should start functioning and delivering the air at 40 deg C and 2 bar at both the outlet ports (i.e tank 1 and tank2).
How to model this? This is just an example for my understanding. You can suggest something better if you want to.
My objective is towards understanding and using the ports + interface blocks + signals in one block.
Thanks in advance.

Amit.
amit.kalhapure@gmail.com
Forum Beginner
Forum Beginner
 
Posts: 29
Posts Rating:0
Joined: Sun Aug 30, 2020 12:24 am

Re: Use of swim lanes in activity diagram

Postby saulius_p » Mon Sep 13, 2021 6:05 pm

Hello Amit,

Good to talk to you.

Thank you for the case. Indeed now it looks like clear.

you need to ignore signals by pump when you do not need them and handle when you need them. This is pump behavior acting in different way in different states.

Please find sample attached.

Run simulation config as shown in screenshot

Capture.PNG


Let me know if you need more help or have more questions.

Kind regards,
Saulius
You do not have the required permissions to view the files attached to this post.
Best regards,
Saulius Pavalkis
User avatar
saulius_p
No Magic
No Magic
 
Posts: 326
Posts Rating:12
Joined: Fri Dec 04, 2009 5:37 am
Full name: Saulius Pavalkis

Re: Use of swim lanes in activity diagram

Postby amit.kalhapure@gmail.com » Wed Sep 15, 2021 3:45 am

Thanks Saulius for the reply.
The model is working fine, but the issue here is there is no inlet and outlet port.
I have attached another model of a Refrigeration system. Here I am interested in capturing the state of refrigerant at every port it flows through.
I want flow properties i.e Temp, Press at each port as output.
What is the best way to do it?
Thanks you.

Amit.

pic1.png

pic2.png
You do not have the required permissions to view the files attached to this post.
amit.kalhapure@gmail.com
Forum Beginner
Forum Beginner
 
Posts: 29
Posts Rating:0
Joined: Sun Aug 30, 2020 12:24 am


Return to Model Based Systems Engineering (MBSE)

Who is online

Users browsing this forum: No registered users and 1 guest

cron