aidotse / aidotse/PASEOS

Long update times could affect the correct activity flows

Ouverte
#61 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug user-facing
Langage dominant
Python
Étoiles
61
Forks
16
Merge moyen
32 min
PR mergées (30 j)
8

Description

# 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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.