Skip to content

LukaszKrolicki/disease-simulation-angular

Repository files navigation

😖 Topic of the project:

Disease simulation

DiseaseSimulApp

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

Development server

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.

Simulation System Description

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

User documentation

Home page

Includes form where user can specify parameters and create the simulation

image

it includes also the simulation list

image

In simulation list user can edit,delete or go to details section

User element deletion

image

Details

Details page include data for all days and various charts to display it

image

Line chart:

image

Pie chart:

image

Bar chart:

image

Polar chart:

image

When clicking on different day, it regenerates charts

Data for day 20:

image

Data for day 21:

image

Edit

In edit section user can change parameters of simulation

Lets change simulation duration from 35 to 15

image

now in details we can see the change

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published