aidotse / aidotse/PASEOS

Long update times could affect the correct activity flows

Abierto
#61 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug user-facing
Lenguaje dominante
Python
Estrellas
61
Forks
16
Merge medio
32 min
PR fusionados (30 d)
8

Descripción

# Issue
## Problem Description
By setting `cfg.sim.activity_timestep = 0.1` in #38, on my machine the first activity never stops. This is due to the fact that the update is so slow that the activity is never executed.

## Expected Behavior
The user needs to be informed when the `cfg.sim.activity_timestep` is not appropriate, so they can tune this parameter appropriately.

## What Needs to be Done
In the line:https://github.com/aidotse/PASEOS/blob/8b19aee132d42e91b0d7c34ad2c13ff4c46f7940/paseos/activities/activity_processor.py#L115
if the above condition is false, we need to raise a warning to inform the user.

## How Can It Be Tested or Reproduced
Lowering `cfg.sim.activity_timestep` until the warning is raised in #38.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.