{"id":16633477,"url":"https://github.com/aapeliv/simulation","last_synced_at":"2026-04-20T08:04:59.605Z","repository":{"id":68471965,"uuid":"452465807","full_name":"aapeliv/simulation","owner":"aapeliv","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-26T23:10:46.000Z","size":1292,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-11T22:42:37.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aapeliv.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-26T22:47:18.000Z","updated_at":"2022-01-26T23:11:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"52eaebce-e00b-4f74-a92e-38a32ced02f8","html_url":"https://github.com/aapeliv/simulation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aapeliv/simulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aapeliv%2Fsimulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aapeliv%2Fsimulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aapeliv%2Fsimulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aapeliv%2Fsimulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aapeliv","download_url":"https://codeload.github.com/aapeliv/simulation/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aapeliv%2Fsimulation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32038456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T05:23:39.214Z","updated_at":"2026-04-20T08:04:59.587Z","avatar_url":"https://github.com/aapeliv.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Recitations on Simulation using Python and Simpy\n\nThis [repo](https://github.com/aapeliv/simulation) contains recitations (hands-on lectures) on simulation. These were originally created for IEOR4404 *Simulation* at Columbia University in Fall 2021.\n\nSome of these lectures do not make much sense without the accompanying recordings. Feel free to [contact me](https://www.aapelivuorinen.com) and I'll be happy to send you links to those recordings.\n\n## Recitation 1: some sampling methods\n\n* Accept-reject sampling\n* Simple Monte-Carlo integration\n* The Box-Muller method for sampling normal RVs\n\n## Recitation 2: introduction to Python for Simulation\n\n* Variables, flow control, data structures\n* External libraries, numpy, matplotlib\n\n## Recitation 3: diving into randomness\n\n* 2D Monte Carlo integration\n* Three ways to sample from Homogeneous Poisson processes\n\n## Recitation 4: more Poisson processes and intro to queueing systems\n\n* Sampling from 1D and 2D Poisson processes\n* Simulating single-server queueing systems from scratch\n\n## Recitation 5: non-homogeneous Poisson processes\n\n* Sampling from non-homogeneous Poisson processes\n* Revision for the mid-term exam\n\n## Recitation 6: systems simulation with simpy\n\n* Life sim\n\n## Recitation 7: more systems simulation\n\n* Simulation of a web app\n\n## Recitation 8: antithetic systems simulation\n\n* Simulating a café with antithetic variance reduction\n\n## Recitation 9: variance reduction\n\n* When the antithetic method fails\n* Contorl variates\n* Importance sampling\n\n## Recitation 10: hyperparameter optimization\n\n* An example of hyperparameter optimization with `hyperopt`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faapeliv%2Fsimulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faapeliv%2Fsimulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faapeliv%2Fsimulation/lists"}