Welcome to the New Hospital Programme demand and capacity modelling tool. The methodology underpinning this model code is given in the documentation, along with a host of other technical information about the model and data that the model was built on.
Please note that it is important that the parameters of the model are set with great care and with proper support. It is important also that healthcare system partners are appropriately involved in parameter setting. For a description of the full process and support provision that is necessary to ensure the model functions well please see the NHS Futures workspace
This repo contains the model code but there are several other repositories which contain useful tools to set the parameters of and run the model, as well as to explore the output of the model.
The model is deployed to Azure Container Registry on pull requests, tagging the container as nhp_model:dev
, and on releases its deployed to nhp_model:v0.*.*
and nhp_model:latest
.
Parameters for the model are set in JSON format; an example can be seen in queue/params-sample.json
. As the model develops, requirements for this JSON file change over time. We use JSON schema to manage changes to the parameters file. From model v3.5 onwards, these are deployed to GitHub pages, following this pattern:
- on merge to
main
, the schema is deployed tohttps://the-strategy-unit.github.io/nhp_model/dev/params-schema.json
- on release of new model version vX.X, the schema is deployed to
https://the-strategy-unit.github.io/nhp_model/vX.X/params-schema.json