Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Personnel shared between patients is perfered over personnel of higher priority #858

Open
Nils1729 opened this issue Apr 13, 2023 · 0 comments
Labels
BP2022HG1 - Needs Discussion or Decisions shared Issues mainly related to shared simulation Issues related to the simulation logic

Comments

@Nils1729
Copy link
Contributor

This is an anomaly in the assignment of treatments in simulated regions.

How to reproduce

Given two simulated regions A and B with each one leadership behavior and one treatment behavior.

  • Add 2 yellow (SK II) patients to each region.
  • Personnel: Add 1 GF and x Notartz to each region with x >= 3.
  • To region B, add 1 RettSan
  • Start the exercise

Observed behavior

After some time, treatment will be secured in region A with GF as leader, 2 Notartz treating each patient 100% and one treating each 50%.

In region B, GF is leader, the RettSan is treating each patient with 50% and one Notarzt does the same. Despite the two excess Notarzt, treatment will never be secured because the SK II patients need exclusive treatment.

Expected behavior

Because region B has more personnel than region A, and the latter one has secured treatment, one could assume region B should also secure treatment.

The underlying problem is in the activities/reassign-treatment->findAssignablePersonnel function. Because yellow needs a RettSan, the partial RettSan is preferred over exclusive Notarzt, even when exclusive treatment is required for securing.

@Nils1729 Nils1729 added shared Issues mainly related to shared BP2022HG1 - Needs Discussion or Decisions simulation Issues related to the simulation logic labels Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BP2022HG1 - Needs Discussion or Decisions shared Issues mainly related to shared simulation Issues related to the simulation logic
Projects
None yet
Development

No branches or pull requests

1 participant