memilio icon indicating copy to clipboard operation
memilio copied to clipboard

Shortage in ICU Capacity is deactivated

Open HenrZu opened this issue 1 year ago • 0 comments

Bug description

When calculating the probability of transition from severe to critical state, we have the problem that:

// TODO: if this is used with vaccination model, it has to be adapted if CriticalPerSevere
// is different for different vaccination status. This is not the case here and in addition, ICUCapacity
// is set to infinity and this functionality is deactivated, so this is OK for the moment.
FP criticalPerSevereAdjusted = smoother_cosine(icu_occupancy, 0.90 * params.template get<ICUCapacity<FP>>(),
                                               params.template get<ICUCapacity<FP>>(),
                                               params.template get<CriticalPerSevere<FP>>()[i], 0);

This should be reworked and fixed to work in the future.

Version

Linux

To reproduce

see model.h files

Relevant log output

No response

Add any relevant information, e.g. used compiler, screenshots.

No response

Checklist

  • [X] Attached labels, especially loc:: or model:: labels.
  • [X] Linked to project

HenrZu avatar Nov 29 '24 09:11 HenrZu