Author Topic: SysML Block Operation and Action Allocation  (Read 101 times)

Solomon

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
SysML Block Operation and Action Allocation
« on: October 15, 2019, 09:49:52 pm »
What is the difference between allocating actions from activity diagrams to a block versus defining operations for blocks. From my understanding, an operation seems to be a behaviour that a block can perform which seems to be the same as an action allocation to a block. Is there any specific modelling use case on when action allocation should be used over operation of a block and vice versa?

PeterHeintz

  • EA User
  • **
  • Posts: 818
  • Karma: +49/-17
    • View Profile
Re: SysML Block Operation and Action Allocation
« Reply #1 on: October 15, 2019, 10:21:15 pm »
Well, if you use things like operations, receptions, or classifier Behaviour the coupling between structure and behaviour is strong/fixed.
If you use allocation the coupling is weaker and you can have many different behaviour of the same structure.
Example: You can have processor like a intel core and you can allocate linux or windows on it. The processor is not fix coupled to windows only.
Best regards,

Peter Heintz

Solomon

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: SysML Block Operation and Action Allocation
« Reply #2 on: October 15, 2019, 11:12:21 pm »
Well, if you use things like operations, receptions, or classifier Behaviour the coupling between structure and behaviour is strong/fixed.
If you use allocation the coupling is weaker and you can have many different behaviour of the same structure.
Example: You can have processor like a intel core and you can allocate linux or windows on it. The processor is not fix coupled to windows only.

Thanks for the answer! Makes a lot of sense.
Is there an example where operation is appropriate? Or should we just stick to allocation over operation all the time?