This repository contains a Python-based simulation of user behavior in an office environment, designed to generate event logs for process mining.
The final and main script for this project is /simulation2/v4_simulationWithCases.py.
This simulation models the daily activities of users within a facility over multiple days. It captures events such as room changes, coffee consumption, and responses to AI-driven messages, logging everything into a CSV file with unique case IDs for each user-day.
πΉ Demo Video: https://vimeo.com/883906069/c506d45580
/simulation1: Contains the initial, exploratory development iterations. See the local README for more details./simulation2: Contains the final, refined simulation scripts. See the local README for a detailed breakdown.
- π§βπ» User: Represents an individual in the simulation, tracking their location, heart rate, and daily activity case.
- π€ AutonomousAgent: Monitors users and sends messages to encourage healthy behavior (e.g., drinking water).
- β CoffeeMachine: Acts as an interface for the agent to deliver messages to the users.
- β° Simulation Environment: A
simpyenvironment that manages the simulation clock and events.
user_activity_log.csv: A structured event log file.user_activity_simulation.png: A plot visualizing user movements over time.