Skip to main content

Simulation of smoking spreading in society.

Project description

Smoking Simulation

Smoking Simulation is an app to simulate the spreading of smokers and non-smokers, their interactions and population during certain amount of time.

Description

The application allows users to observe simulation of spreading smokers and their behavior among given population parameters (3 different cases provided). Simulation rules and scenarios are based on real-life researches on smokers in the USA, EU and Ukraine. After closing the simulation window, users can inspect 4 different plots showing the amount of smokers in different age categories during the period of simulation.

The main engine of the project is finite state machine algorithms that run the logical part of the application. All the visuals are provided with Python libraries Matplotlib and Seaborn.

Visuals

The simulation process looks like this:

Simulation

When the simulation is over, you can watch statistics plots representing data collected during simulation

Result

Usage

To run the application, clone this repository locally and run the main module:

python3 main.py

Support

In case you need some help, feel free to visit an issue tracker, a chat room, or connect us via email address.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Authors and acknowledgment

The project was developed by:

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smoking-simulation-0.0.1.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

smoking_simulation-0.0.1-py3-none-any.whl (2.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page