How simulacionudec2026-02/simulacion_trabajofinal works
This repository is a Python discrete-event queueing simulator with a Streamlit configuration interface. The intended workflow is to define a scenario, validate its input contract, simulate customer arrivals and service, then validate the event result and compute queueing metrics for review. The sampled UI currently presents placeholder results and does not show a call into the engine or metrics; the engine excerpt also documents support narrower than the README’s eight variants. The graph preserves those documented capability areas without implying they are all implemented or wired together.
Main entry points: app.py Streamlit interface · engine.py Customer event results · config.py Input validation · contrato_salida.py Output validation
Components 8
User interface
- Streamlit interface
src/app.py
Scenario definition
- Input validation
src/config.py - Queue topologies
src/topologias.py
Simulation runtime
- Discrete-event engine
src/engine.py - Customer event results
src/engine.py
Result analysis
- Output validation
src/contrato_salida.py - Queueing metrics
src/metrics.py
Other components
- Scenario user
Connections 9
- Scenario user → Streamlit interface: configures scenario
README.md - Streamlit interface → Input validation: imports validator
src/app.py - Streamlit interface → Queue topologies: selects variants
- Discrete-event engine → Input validation: validates input
src/engine.py - Discrete-event engine → Customer event results: produces events
src/engine.py - Output validation → Input validation: checks against config
src/contrato_salida.py - Customer event results → Output validation: validates result
src/contrato_salida.py - Customer event results → Queueing metrics: calculates metrics from
src/metrics.py - Queueing metrics → Streamlit interface: displays results