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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file smoking-simulation-0.0.1.tar.gz.

File metadata

  • Download URL: smoking-simulation-0.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for smoking-simulation-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5646ffa562651903f380ad0ed15e761bf26dc731cd4173b6b04386a8a314e270
MD5 46f007a7494114876238b6a7ddf3b72a
BLAKE2b-256 bf9803799b72b29521aa68abb996da5d5249ff6537c5352ffd81511ea32af6f5

See more details on using hashes here.

File details

Details for the file smoking_simulation-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: smoking_simulation-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for smoking_simulation-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21a8a67d8dfd988173d52c6b2d16bf4d899bd6bcb83eefdc644741608554ec84
MD5 325a51112d978477b992def427715bf1
BLAKE2b-256 d57b621414f8b83804c545aac82588d1fc01f0da54c6e7ede825928d8777350a

See more details on using hashes here.

Supported by

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