Long update times could affect the correct activity flows
- Vorherrschende Sprache
- Python
- Sterne
- 61
- Forks
- 16
- Ø Merge
- 32 Min.
- Gemergte PRs (30 T.)
- 8
Beschreibung
# 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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.