Skip to content

mousebrains/GliderSimulator

Repository files navigation

GliderSimulator

A detailed simulator for an AUV, including energy consumption.

Specifically this is designed with a TWR Slocum glider in mind.

The simulator is controlled by a set of JSON files, whose names are specified on the command line:

  1. glider.json is the main parameter file for how the glider will operate
  2. waypoints.json is a list of waypoints to fly, once the end of the list is hit, it wraps to the front.
  3. energy.json defines the energy usage for various phased of the flight
  4. current.json defines the depth averaged water currents the glider encounters
  5. wind.json defines the wind the glider encounters on the surface

The simulation is pretty detailed:

  1. Surface with the following included:
    1. Inflate the air bladder
    2. Get an initial GPS fix
    3. Iridium call setup
    4. Iridium data transfer (time dependent on previous dive duration)
    5. Iridium call take down
    6. Get final GPS fix
    7. Deflate the air bladder
    8. Adjust the position due to the winds
  2. Dive, normal climb, and climb to surface
    1. Dive speed specified in JSON file
    2. Horizontal speed is determined by Wg / tan(pitch + angleOfAttack)
    3. The bottom depth comes from bathymetry information. I use GEBCO.
    4. Dive time and distance are calculated.
    5. The dive time includes the inflection upwards at the bottom.
    6. A check is run to see if a waypoint was passed. If so then the glider advances to the next waypoint.
    7. A new location is estimated based on distance, heading, and currents.

About

A glider simulator which incorporates energy consumption, designed for a TWR Slocum glider

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors