-
Notifications
You must be signed in to change notification settings - Fork 31
Home
IMPORTANT NOTICE: As of 1/6/2020 slacgismo/gridlabd is no longer a fork of gridlab-d/gridlab-d.
As of 11/13/19, this wiki is only for project administration. The user manuals for HiPAS GridLAB-D are deployed at HiPAS GridLAB-D Documentation. This documentation uses the SLAC-Gismo Docs-Browser, which allows developers to manage the documentation of each branch separately.
Developer manuals, troubleshooting guides, and module guides are version specific and compiled when the application is build on a target host. You must start a web server instance on that target host to view those documents, e.g., using python3 -m http.server.
If you are looking for documentation for the PNNL versions of GridLAB-D, please use the ShoutWiki GridLAB-D Documentation.
- The
masterbranch is the default branch. - The
developbranch is used for active development targeted for the next merge intomaster. - Please make all changes in new or existing branches and submit a new Draft Pull Request. Pull Requests must including documentation changes, which must be made in the
docsfolder of the same branch in which the code changes are introduced. Documentation changes will be reviewed at the same time that code changes are reviewed after you submit your Draft Pull Request for review. - You may view the Pull Requests to determine the status of a branch. All branches are automatically validated using CircleCI and you may monitor validation progress at the CircleCI GridLAB-D Workflow or by viewing the status of the Pull Request. You may submit your Pull Request for review when it pass validation.
- The
masteranddevelopbranches are automatically built on Docker Hub. The resulting containers are stored in the GridLAB-D docker repositories. - Only the project administrators may tag master commits. These will by automatically tagged in Docker Hub at that time. Docker images are named after major power plants.
To build the master branch and any branch from master, you must first manually prepare your system (which is host dependent). For a rough guide see the build-aux/setup*.sh files of the develop branch.
If you never installed HiPAS GridLAB-D on your system, you will need to run the install script:
bash$ git clone https://github.com/slacgismo/gridlabd
bash$ cd gridlabd
bash$ ./install.sh
This might take a few minutes. At this time, only a few platforms are supported, e.g., Mac OS X (Darwin 17 and 18), Linux (Centos 7, Ubuntu 16 and 18, and Amazon 2). If you are using a different platform, please use the install script of the system that most closely resembles yours. The install scripts are located in the build-aux folder and use the naming convention setup-<type>-<version>.sh. For developers, these scripts are fairly self-explanatory.
The regular build process is usually the following:
bash$ make reconfigure && make -j30 system
bash$ gridlabd --version=install
<check the version>
bash$ gridlabd --validate
<check that it works ok>
To rebuild and install your code after making local changes, you should run the following command:
bash$ make reconfigure && make -j30 system
again, and running validation
bash$ gridlabd --validate
The develop version can manage multiple versions of HiPAS GridLAB-D on the same host running concurrently. For more information use the command
bash$ gridlabd version help
Copyright © 2020-2022, Regents of the Leland Stanford Junior University
This site is maintained by SLAC GISMo at SLAC National Accelerator National Laboratory, which is operated by Stanford University for the US Department of Energy under Contract DE-AC02-76RL00515.