1

I am having trouble correctly identifying the actor and system for a use case diagram.

I am developing sensors that interact with an already existing system, specifically four different sensors. I have tried using the sensors as secondary actors, which would usually make sense but this presents another issue. Actors are considered external and the sensor hardware cannot be described in a block definition diagram using SysML since it is not a part of the system, as far as I know. Am I overthinking?

Instead I was wondering if I should use the sensors as a system, and use the already existing system as a secondary actor? This is for a school project so I have to make sure I document my work the correct way.

Thanks

Whippet
  • 13
  • 2
  • To give a sensible answer, we'd need more concrete information about the type of system you want to describe. Who is using the system as a whole for which purpose? Also, the scope of the system you describe plays a role. E.g. if its purpose is to display the current air temperature, the sensor issuing signals about this temperature might be considered an actor. However, if the sensor sits in a touch display, the users fumbling on this display are most probably the actors to consider. – TAM Dec 05 '20 at 16:13
  • Think of the system as LabQuest and LoggerPro from Vernier. So the user would be a student in high school. In my project I am developing the sensors for what would be the LabQuest. – Whippet Dec 06 '20 at 02:07

1 Answers1

2

Yes by definition an actor is external to the system they react with, then all depends on what the system is, this is a matter of perspective

I was wondering if I should use the sensors as a system, and use the already existing system as a secondary actor?

exactly, when the system you describe is your sensors the already existing ones are out of it and they can be represented as actor, and even as primary actor if they activate your use cases.

If you describe the already existing sensors the roles are reversed and your sensors becomes actor


[edit from your remark]

If the overall system includes the already existing system and your sensors, the already existing system becomes a sub system of the overall system, and your sensors is also a sub system of the overall system.

When you describe your sub system, the sensors from the already existing sub system can be still actor etc, nothing change. A sub system is a system.

bruno
  • 32,421
  • 7
  • 25
  • 37
  • Thank you, this makes sense. The project description includes the system the sensors connect to, but a prototype already exists from before I started. I have thought of using the main system as the system and the cloud backend as an actor along with the user. This way the sensors are part of the system. – Whippet Dec 06 '20 at 02:09