This repository contains the logic for converting NHP Demand model results, which have been aggregated into functional areas, into capacity requirements.
This is currently a work in progress and intended for internal use only.
This section is aimed at maintainers of the package who work for The Strategy Unit Data Science team.
Prerequisites for running this model are on the team wiki.
This package is built using uv. If you have uv installed, run the capacity conversion pipeline using:
uv run -m nhp.capacity_conversion GUID # Run all settings
uv run -m nhp.capacity_conversion.op GUID # Run Outpatient setting
uv run -m nhp.capacity_conversion.aae GUID # Run Accident and Emergency setting
```.
Running the pipeline will create a `results/GUID/RUNTIME` folder, with a `capacity_conversion_results.xlsx` file within it.