***********************************************************************
* Flexible Energy Scheduling Tool for Integrating Variable generation *
***********************************************************************
** FFFFFF EEEEEE SSSSSS TTTTTTTT IIIIII VV VV **
** FF EE SS TT II VV VV **
** FFFFFF EEEEEE SSSSSS TT II VV VV **
** FF EE SS TT II VVV **
** FF EEEEEE SSSSSS TT IIIIII V **
***********************************************************************
**************** National Renewable Energy Laboratory ****************
***********************************************************************
Welcome to the FESTIV GitHub Repo!
Required Tools
- MATLAB
- GAMS with MILP solver (CPLEX or Gurobi)
Note: these directions tested under Mac OSX
-
Make sure the MATLAB-GAMS link is in your MATLAB path
-
Open MATLAB
-
From the
>>
prompt typewhich wgdx
-
You should see the path to the GAMS-MATLAB connector such as `
>>which wgdx /Applications/GAMS25.0/sysdir/wgdx.mexmaci64
In which case go on to the next step.
-
if instead you get ``'wgdx' not found` then you need to add the GAMS-MATLAB library:
-
From the GUI "Home" tab press the
Set Path
button. -
Press
Add Folder...
-
Select the location of the appropriate compiled wgdx library. This is typically the
sysdir/
directory within your GAMS install -
Press the
Save
button to close the GUI -
Double check that it works:
>>which wgdx /Applications/GAMS25.0/sysdir/wgdx.mexmaci64
-
-
-
-
Change to the FESTIV directory in MATLAB. e.g.:
cd ~/repos/FESTIV
-
Double check FESTIV is in the path (b/c it is local file):
>> which FESTIV /Users/bpalmint/repos/FESTIV/FESTIV.m
- run
FESTIV
at the MATLAB prompt. This will bring up a dialog box allowing you to select the input files and configure the simulation- As an example, in the dialog select
Browse
- Slect the desired input file (in HDF5 format, *.h5), such as
FESTIV_DIR/Input/PJM_5_BUS.h5
- Press the 'Go!' button
- Contrary to the name, this simply creates all of the required variables to the local MALAB workshopace
- As an example, in the dialog select
- Actually Start
- Back at the MATLAB command prompt, start:
>> FESTIV
- If all goes well you see
- Back at the MATLAB command prompt, start: