0% found this document useful (0 votes)
285 views

1.2 Installing Demo GridLAB D

The document provides instructions for installing GridLAB-D on Windows systems. It describes downloading the software from SourceForge, setting environment variables to configure the PATH and GLPATH, verifying a successful installation by running the GridLAB-D Console, and setting up the Textpad text editor with GridLAB-D syntax highlighting and command integration.

Uploaded by

GeorgeAru
Copyright
© © All Rights Reserved
Available Formats
Download as PPS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
285 views

1.2 Installing Demo GridLAB D

The document provides instructions for installing GridLAB-D on Windows systems. It describes downloading the software from SourceForge, setting environment variables to configure the PATH and GLPATH, verifying a successful installation by running the GridLAB-D Console, and setting up the Textpad text editor with GridLAB-D syntax highlighting and command integration.

Uploaded by

GeorgeAru
Copyright
© © All Rights Reserved
Available Formats
Download as PPS, PDF, TXT or read online on Scribd
You are on page 1/ 27

Installing GridLAB-D

This section provides instructions


to install and configure your
system for GridLAB-D use.

Windows Installation
SourceForge download
http://sourceforge.net/projects/gridlab-d

Two installation options


System install: available for all users
C:\Program Files\GridLAB-D
Usually requires admin privileges
Shares modules and runtime files

Single user install: only available to you


My Documents\My Programs\GridLAB-D
Doesnt require admin privileges
Keeps libraries and runtime files private

Installation
Student Demo build
Navigate to the folder where the course material
has been unzipped
Double click on
gridlabd-win32-2009_07_20-nightly.exe

Checking your installation


StartAll ProgramsGridLAB-DGridLAB-D Console

Structure of Installation
/bin executables
Includes gridlabd.exe

/etc text-based files and libraries


Includes weather data, configuration files, etc.

/lib binary files and libraries


Includes all runtime models

/samples sample models


Others: textpad, mingw, gnuplot, gdb, etc.

Windows Environment
PATH
Specifies path to executables and modules
Must be set before gridlabd start
Can be modified after gridlabd starts

GLPATH
Specifies path to libraries and runtime files
Must be set before gridlabd start
Can be modified after gridlabd starts

Can be changed from My Computer

Textpad install/setup
Textpad editor has helpful customizations
GridLAB-D syntax file
Highlights GridLAB Module syntax
Useful for detecting errors

Integrated development environment


Can run GridLAB-D command from editor
Gathers output and displays

Download the syntax file

If you are unable to download the file, copy the definitions


viewed in this page to C:\Program Files\TextPad5\system
as gridlabd.syn

Create a GridLAB-D hotkey


Open TextPad5. Click on Configure/Preferences

Define GridLAB-D hotkey action

Exercises 1.2
1. Install your system and run the
command:
host% gridlabd --dsttest
What happened?
2. Create a file with a bogus object and run
it. Use the F4 key to find the error.

You might also like