Skip to content

PrincetonZEROLab/Path-to-Zero

Repository files navigation

Documenter dev

Path To Zero

The Electricity Decarbonization Game

Path To Zero is a multi-stage planning under deep uncertainy strategy game designed to help players understand the challenges of decarbonizing the electricity sector. The objective of the game is to develop a portfolio of resources that can meet the demand at the lowest cost while also achieving stringent environmental goals.

The game simulates electricity system operations, allowing players to test out their strategies, build intuition about how power systems operate, and develop a plan to create a portfolio of resources that meets both their reliability and clean energy goals, which are two of the three objectives for which they are scored in the game.

How to Play

For detailed game instructions, please refer to the game play instructions and getting started sections of the manual.

How to Run Path To Zero on GitHub Codespaces (GitHub account required)

  1. Navigate to the following GitHub page and click the "Code" button.
  2. Click the "Codespaces" tab.
  3. Click the "Create codespace on main" button.
  4. Once the codespace is created, you can start the game by running the following command in the command line:
bash run_game.sh

or

make start_game
  1. Navigate to localhost:8000 in your web browser to access the game, or use ctrl+click (cmd+click on Mac) on the URL that appears in the terminal.

Note: All personal GitHub accounts are limited to 120 hours of compute time and 15GB of storage per month. You can learn more about the limitations here and here.

How to Install Path To Zero (local installation)

  1. Install Julia: We recommend following the Julia installation guide.

  2. Clone the repository: You can clone the repository by typing the following command in your command line:

git clone https://github.com/PrincetonZEROLab/Path-to-Zero.git
cd Path-to-Zero

or, if you do not have git installed, you can download the repository as a zip file by clicking the "Code" button on the GitHub page and then clicking the "Download ZIP" button.

  1. Install the game: To install the game, type the following command in your command line:
julia -e 'import Pkg; Pkg.activate("."); Pkg.instantiate()'
  1. Run the game: To run the game, use the following commands: On Linux/MacOS:
bash run_game.sh

On Windows:

julia --project -q -i -e "using Pkg; Pkg.precompile(); using GenieFramework; Genie.loadapp(); up();" 
  1. Launch the game: Open your web browser and go to http://localhost:8000/ to access the game.

The Team

The game was created and designed by Jesse D. Jenkins and developed by the Princeton ZERO Lab and the Princeton RSE Group at Princeton University.

Troubleshooting

If you encounter any issues, please open an issue on the GitHub page or contact Luca Bonaldo ([email protected]).

png

About

Path to Zero: The Electricity Decarbonization Game. Created and designed by Jesse D. Jenkins https://mae.princeton.edu/people/faculty/jenkins

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages