Use Case Diagram – Weather Station System
Actors:
Administrator
- Responsible for managing system settings, calibrating sensors, and overseeing overall system health.
End User / Observer
- Interested in viewing current weather data, historical reports, and receiving weather alerts.
Sensor Device
- Autonomous system that continuously sends data (e.g., temperature, humidity, wind speed) to the Weather Station system.
Data Consumer
- External systems (such as third-party apps) that consume weather data via APIs or data exports.
Maintenance Technician
- Involved in physically maintaining and repairing the hardware components of the system, including sensors.
Use Cases:
Configure Weather Station
- Actor: Administrator
- Description: The Administrator configures the weather station’s settings, including sensor types, calibration parameters, and alert thresholds.
Calibrate Sensors
- Actor: Administrator, Maintenance Technician
- Description: Sensors are calibrated to ensure accurate data readings. Calibration may occur automatically or be triggered manually.
Collect Weather Data
- Actor: Sensor Device
- Description: The sensors collect weather data such as temperature, humidity, wind speed, and rainfall at set intervals and send it to the system.
View Live Weather Data
- Actor: End User / Observer
- Description: The End User can view the real-time weather data via a web interface, mobile app, or physical display.
Generate Reports
- Actor: End User / Observer
- Description: The End User can generate weather reports (daily, weekly, monthly) and visualize data trends using charts and graphs.
Receive Weather Alerts
- Actor: End User / Observer
- Description: The End User receives automated notifications or alerts about extreme weather conditions, such as high winds or temperature changes.
Consume Weather Data
- Actor: Data Consumer
- Description: External systems or applications can consume weather data by calling APIs or downloading exportable data files (e.g., CSV).
Perform System Maintenance
- Actor: Maintenance Technician
- Description: The Technician performs routine maintenance, repairs, and upgrades on the physical weather station hardware.
Diagram Representation:
While I cannot directly generate a visual diagram here, I can describe how to draw it.
Actors:
- Draw stick figures for Administrator, End User, Sensor Device, Data Consumer, and Maintenance Technician on the left side of the diagram.
System Boundary:
- Draw a rectangle to represent the Weather Station System. The actors will be outside this boundary, while the use cases will be inside.
Use Cases:
Inside the rectangle, draw ovals for each use case. Label them as:
- Configure Weather Station
- Calibrate Sensors
- Collect Weather Data
- View Live Weather Data
- Generate Reports
- Receive Weather Alerts
- Consume Weather Data
- Perform System Maintenance
Relationships:
Connect the actors to the relevant use cases using solid lines. For example:
- The Administrator is connected to Configure Weather Station and Calibrate Sensors.
- The Sensor Device is connected to Collect Weather Data.
- The End User is connected to View Live Weather Data, Generate Reports, and Receive Weather Alerts.
- The Data Consumer is connected to Consume Weather Data.
- The Maintenance Technician is connected to Perform System Maintenance.
Explanation for Students:
Actors interact with the system through use cases.
- The Administrator manages the system configuration, calibrates sensors, and oversees general system health.
- End Users interact with the system to view live data, generate reports, and receive alerts.
- Sensor Devices autonomously collect and send data to the system.
- Data Consumers are external systems that pull weather data for further use, such as weather apps or third-party services.
- Maintenance Technicians ensure the hardware components are working correctly and maintain the system.
Use Cases represent the specific actions or processes that each actor performs with the system.
- For example, View Live Weather Data allows the End User to see current weather information, while Perform System Maintenance is a key task for the Maintenance Technician.