{"id":19752715,"url":"https://github.com/thomasthelen/simulations","last_synced_at":"2025-02-28T01:20:06.249Z","repository":{"id":87031575,"uuid":"50375153","full_name":"ThomasThelen/Simulations","owner":"ThomasThelen","description":"A collection of simulations","archived":false,"fork":false,"pushed_at":"2017-09-21T22:52:53.000Z","size":25260,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-10T21:47:47.696Z","etag":null,"topics":["chemical-engineering","physics","process-controller","rocket-equation","simulation"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"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/ThomasThelen.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":"2016-01-25T19:28:49.000Z","updated_at":"2025-01-02T06:44:54.000Z","dependencies_parsed_at":"2023-05-30T07:15:14.651Z","dependency_job_id":null,"html_url":"https://github.com/ThomasThelen/Simulations","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasThelen%2FSimulations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasThelen%2FSimulations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasThelen%2FSimulations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasThelen%2FSimulations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThomasThelen","download_url":"https://codeload.github.com/ThomasThelen/Simulations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241084303,"owners_count":19907090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["chemical-engineering","physics","process-controller","rocket-equation","simulation"],"created_at":"2024-11-12T02:49:48.667Z","updated_at":"2025-02-28T01:20:06.225Z","avatar_url":"https://github.com/ThomasThelen.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tools\n\nThese are handy scripts/subroutine that may be used in other simulations.\n\n## Intertial to NonInertial\n\nThis script takes a set of parameters about two coordinate systems. Based on the information given, it will compute the position, velocity, and acceleration of a particle in the non-intertial frame.\n\n## Plot\n\nApython script that will plot a csv data file.\n\nusage: Plot.py filename.csv\n\n# Aero\n\nThis folder contains various simulations pertaining to aerodynamic \u0026 orbital mechanic simulations.\n\n### Ideal Rocket Equation\n\nThis python script explores the role mass plays on a rocket's delta v.\n\n![](https://github.com/ThomasThelen/Simulations/blob/master/Aero/Ideal%20Rocket%20Equation/DryWeight.png)\n\nOne way to use this graph is by asking the question:\n\nGiven a desired delta_v, what percent of my total mass has to be fuel? \n\nTo answer this, you would go to the delta_v value on the x-axis and move up to the curve, then move left to the y-axis.\n\nFor example, if you wanted a delta v of 3000, it would require your dry mass to be about 70% of the rocket's mass. Note that this is specific for the rocket's parameters, seen in the .py file.\n\n![](https://github.com/ThomasThelen/Simulations/blob/master/Aero/Ideal%20Rocket%20Equation/MassRatio.png?raw=true)\n\nNotice that the delta v gained after a ratio of around 50% becomes linear. \n\n\n### Non Ideal Rocket Equation\n\nIncludes gravitational drag in the computation of the delta v.\n\n### Satellite Motion\n\nThis models a satellite orbiting Earth as a function of distance from Earth. It can be used to find various orit parameters including velocity, acceleration, and period.\n\n\n\n![](https://github.com/ThomasThelen/Simulations/blob/master/Aero/Satellite%20Motion/figure_1.png?raw=true)\n\nIt is clear that as the orbit distance increases, the velociy of the satellite will decrease.\n\n![](https://github.com/ThomasThelen/Simulations/blob/master/Aero/Satellite%20Motion/figure_1-1.png)\n\nThe acceleration also decreases as the orbit distance increases.\n\n![](https://github.com/ThomasThelen/Simulations/blob/master/Aero/Satellite%20Motion/figure_1-2.png?raw=true)\n\nBecause the acceleration and velocity are decreasing as orbit distance increases, the period will increase. \n\n\n\n\n# Chemical\nIncludes simulations pertaining to chemical phenomena. Simulations include\n\n### Chapman Reaction\n\nSimulates atmospheric ozone chemistry. It uses the ODEINT numerical library to solve the system of equations. Each chemical reaction is described as a differential equation. Because some reactions depend on the concentration of species in other reactions, the system becomes coupled. ODEINT solved the system and subsequent concentration profiles are obtained.\n\n### CSTR Reaction\n\nThis simulates a single species reaction in a CSTR. The concentration profile is obtained by solving a mass balance on the specie's concentration. This was done by using the ODEINt numerical library.\n\n### Exothermic Water Cooled Reaction\n\nThis was a project for the senior process controls course MSU. The objective was to control the temperature of a CSTR with an exothermic reaction. This was achieved by insulating the reactor in a cooling jacked and controlling the temperature by modeling a feedback control loop. The system was modeled with a coupled system of diferential equations. finish talking about each equation\n\n![1 The temperature profile of the reactor. It reaches steady state as the concentration .](http://imgur.com/VPHMm1w.jpg)\n\nThe trend is a series of relaxations/compensations from the water controller. Once the temperature rises, the requested water temperature rapidly drops to account for the heat generation. This trend of relaxing/compensating continues until the control system reaches a steady state by damping the response.\n\n![The requested water temperature leveled off as the temperature reached steady state.](http://imgur.com/ltsVuBK.jpg)\n\nThe requested water temperature experiened fluctuations until the system was damped out. Its trend is opposite of the temperature profile.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasthelen%2Fsimulations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomasthelen%2Fsimulations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasthelen%2Fsimulations/lists"}