Long update times could affect the correct activity flows
- Ngôn ngữ chính
- Python
- Star
- 61
- Fork
- 16
- Merge trung bình
- 32 phút
- Pull request đã merge (30 ngày)
- 8
Mô tả
# 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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.