Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshniemela/tunedmassdamper
Various programs to visualise, simulate and interact with 2 degrees of freedom tuned mass damper systems.
https://github.com/joshniemela/tunedmassdamper
interactive julia makie ordinary-differential-equations raspberry-pi simulation vl1680x
Last synced: 13 days ago
JSON representation
Various programs to visualise, simulate and interact with 2 degrees of freedom tuned mass damper systems.
- Host: GitHub
- URL: https://github.com/joshniemela/tunedmassdamper
- Owner: joshniemela
- License: mit
- Created: 2022-05-25T15:16:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-25T19:42:52.000Z (about 2 years ago)
- Last Synced: 2024-12-08T02:07:02.226Z (2 months ago)
- Topics: interactive, julia, makie, ordinary-differential-equations, raspberry-pi, simulation, vl1680x
- Language: Python
- Homepage:
- Size: 408 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TunedMassDamper
![Visualisation](Simulation.jl/interactive.png)
Repo contains multiple scripts used in conjunction with a project attempting to acquire an insight into the coupling of a mass damper to an oscillating object and the resulting mechanisms to dissipate energy.## dataCollection
Contains python code to be used with an R-Pi and two VL6180X sensors.XSHUT to the second sensor is pulled low to prevent it from interfering with the first sensor at the start of the program, and then pulled high to allow it to be used.
Wiring diagram:
![Wiring diagram](dataCollection/wiringDiagram.png)
## plotting
Code to process data acquired by R-Pi, contains two scripts:
* plotData.py - plots the data from the R-Pi with residual plots and regression models to determine the best fit for the coupled tuned mass damper system.* mechEnergy.py - plots the mechanical energy of the system as a function of time, and the mechanical energy of the system as a function of the displacement of the mass, here it can be seen that the mechanical energy is dissipated by the damper.
Visualisation from plotData.py:
![Visualisation](plotting/plotData.png)Visualisation from mechEnergy.py:
![Visualisation](plotting/mechEnergy.png)## Simulation.jl
Contains code to simulate the coupled tuned mass damper system, and to plot the results. Written in Julia with GLMakie for gpu accelerated plotting. Folder contains two scripts:
* simTMD.jl - contains the code to simulate the coupled tuned mass damper system, and returns the results in a gif.
* interactive.jl - contains the code to simulate the coupled tuned mass damper system with an interactive session in GLMakie, allowing the user to change the parameters of the system and see the results.interactive.jl:
![Visualisation](Simulation.jl/interactive.png)