trivial epidemiological model set up as an example and a first attempt to use docker
440
To run, use the command
docker run --publish 80:80 --detach --name epimodel wtzbzdev/epimodel:1.16
This will start a web server based on the Java jdk.httpserver module, which will provide a single web page containing a description and a table containing parameters (which can be edited) and a graph. The graph is the solution to a system of differential equations that describe a simple epidemiological model. The behavior is very sensitive to the value of a parameter called the basic reproduction number, denoted as R0. The web server can be controlled with five environment variables, each set with a 'docker run' --env option:
To access the web page, use the URL http://localhost:/ if docker was started as shown, and localhost should be replaced with the actual host name when run remotely. The web page's descriptive content defines the parameters that can be set and shows the differential equations that are solved to generate the graph. Input errors are handled by the server, and if one occurs, an error message will be printed on the graph . The docker image was created for AMD64 (x86-64) systems.
To request the graph alone (an SVG image), use the following URL:
http://localhost/servlet/adapter?QUERY_STRING
where QUERY_STRING is
XMax=...&YMax=...&N=...&N0=...&NE0=...&NI0=...&R0=...&TAU_E=....&TAU_I=...&NV0=...&V_MAX=...&TAU_V=...
or
XMax=...&YMax=...&N=...&NR0Percent=...&NE0Percent=...&NI0Percent=...&R0=...&TAU_E=....&TAU_I=...&NV0Percent=...&V_MAXPercent=...&TAU_V=...
where '...' denotes a value and where the value are defined as follows:
The values NV0, NV0Percent, V_MAX, and V_MAXPERCENT assume vaccines that are 100% effective. The values should be scaled down for cases in which the vaccine is not 100% effective.
The source code for the model (but not a Java class library it uses) is available at https://github.com/BillZaumen/epimodel .
Content type
Image
Digest
sha256:d86c25812…
Size
89.6 MB
Last updated
5 months ago
docker pull wtzbzdev/epimodel:1.16