Oscillator Dynamics Simulator Software
Here you can find compiled versions of the software used throughout my Thesis. The software is built to run simulations of coupled oscillators using a custom written RK4 integrator. The software has a minimal GUI that depicts the current phases of the oscillators but has a lot of functionality through the command line interface.
Binary Version
Binary Version: OscillatorDynamics.jar. Once you have downloaded and installed the Java Runtime Kit (which you more than likely already have installed), download this file to your computer, load up a terminal or command prompt and run the software with;
java -jar oscillatordynamics.jar
By default, this software will run a simulation of our Modified Hansel, Mato and Meunier model with predefined parameters. These can be set during run-time using a set of predefined commands as defined in the Appendix of my Thesis or using a script.
A sample script can be downloaded here; detuning-script.zip. Unzip this file so that the two text files and the empty folder is in the same place as oscillatordynamics.jar. When the simulator is run with this script, the system runs with inputs applied as constant detunings of the natural frequencies of the oscillators. The script runs for t<2000 and then discards any data it has saved so far (removing a transient). The software then outputs data to the directory 'detuned'.
Run the above script with the command;
java -jar oscillatordynamics.jar generateDetuned.txt
The software will display the current phases of the oscillators in the left window, and the states visited in the right window. The data produced by the simulation is more interesting however, and will be found in the 'detuned' sub-directory when the simulation has finished.
Source Code
The source code for this project is available; oscillatordynamics-src.zip. Compile the project using the 'make.bat' script orwith the following command;
javac -target 1.5 -d out -Xlint:deprecation -Xlint:unchecked OscillatorDynamics.java