Disease simulation
This project was generated with Angular CLI version 18.1.3.
To be able to fully use application, spring boot server must be set up -> https://github.com/LukaszKrolicki/DiseaseSimulationRestApi
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
The user will create simulations by specifying initial parameters for each simulation:
N: Simulation name (string)
P: Population size
I: Initial number of infected individuals
R: Infection rate, indicating how many people one infected person infects (the COVID-19 news R rate)
M: Mortality rate, indicating how many of the infected individuals die
Ti: Number of days from infection to recovery
Tm: Number of days from infection to death
Ts: Number of days for which the simulation will be conducted
The simulation will be an object containing the following data (N, P, I, R, M, Ti, Tm, Ts).
Upon defining the simulation, the system will generate an initial population record containing information about:
Pi: Number of infected individuals
Pv: Number of healthy individuals susceptible to infection
Pm: Number of deceased individuals
Pr: Number of individuals who have recovered and acquired immunity
Includes form where user can specify parameters and create the simulation
it includes also the simulation list
In simulation list user can edit,delete or go to details section
User element deletion
Details page include data for all days and various charts to display it
Line chart:
Pie chart:
Bar chart:
Polar chart:
Data for day 20:
Data for day 21:
In edit section user can change parameters of simulation
Lets change simulation duration from 35 to 15
now in details we can see the change