Skip to content
Julia Tutorial Materials for the Grid Science Winter School 2019
MATLAB Jupyter Notebook
Branch: master
Clone or download
Latest commit 7a9b9b6 Jun 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
data
.gitignore
Class I - An introduction to Julia.ipynb
Class II - An introduction to JuMP.ipynb
Class III - An introduction to PowerModels.jl.ipynb
Class IV - An introduction to GasModels.jl.ipynb
Class V - Fun visualizations in JuMP.ipynb
LICENSE
Manifest.toml add cbc solver for class 3 and 4 Jun 7, 2019
Project.toml
README.md update julia version number in readme Jun 7, 2019

README.md

Grid Science Winter School Julia Tutorial

logo

This repository contains materials for the Julia/JuMP tutorial, held at the Los Alamos National Laboratory Grid Science Winter School, January 7-11, 2019.

This README will walk you through how to install Julia and IJulia.

Install Julia

To get started, you first need to install Julia.

Windows 7 Users: as instructed on the downloads page, you will need to install at least version 3.0 of the Windows Management Framework.

Download the materials

Next, you need to download a copy of these materials.

  • If you have git installed, (after cd'ing to an appropriate directory) run
git clone https://github.com/lanl-ansi/tutorial-grid-science-2019
  • If you don't have git installed (i.e., the above command fails), download this zip file. Once downloaded, unzip it to an appropriate location.

Open Julia

Now open Julia, either by typing julia at a terminal, or from where ever you installed it. Once open, you should be faced with the Julia REPL that looks like this:

Julia REPL

Install Jupyter

Now we need to install Jupyter. In the Julia REPL, run the following commands (this may take a little bit of time):

import Pkg
Pkg.add("IJulia")

Open a Jupyter notebook

Okay, last step, let's launch a Jupyter notebook! Open a Julia REPL and then run:

using IJulia
IJulia.notebook(dir="/path/to/tutorial-grid-science-2019")

Note: we've had some reports that dir="~" fails on some NIX machines. Use an absolute path instead.

If all goes well, a browser window will open that looks like this:

jupyer_notebook

To get started on the content portion of the tutorials, click on the first notebook entitled Class I - An introduction to Julia.

You can’t perform that action at this time.