Use V-Table Reinforcement Learning to plan your next clean energy powered vacation to Mars for you and a thousand of your closest friends!
-
Set up your environment with an installation of Python 3. This as designed and tested using Ubuntu. Windows and Mac may be viable choices, but they have not been tested and will be harder to set up the Mars Climate Database with.
-
You'll need access to the full version of the Mars Climate Database version 5.3. Download and extract it to a location of your choice.
martian-trail
also utilizes the synthetic dust storm scenario available as an addon from the MCD server asstrm.tar.gz
, so be sure to get that as well and extract it to the MCDdata/
folder.You'll also need to get NetCDF and the MCD python interface working; the installation scripts over at mcd-python are most helpful for this.
Make sure the
martian-trail/
directory has access to the generatedfmcd.so
that results from generating the python interface. -
Run
setup.py
. It will automatically test to see if your MCD installation is up to snuff. If the tests pass, it will begin the pickling process for the primary time-series thatmartian-trail
needs by default.
-
Run
agent.py
to begin the simulation. The program will output the agent's decisions at each time step. -
Tweak the parameters in
params.py
to model whatever specifications you want!