Skip to content

Commit

Permalink
Fix repo name (arras-energy#1296)
Browse files Browse the repository at this point in the history
* Remove gldcore (again)

* Update version.h

* Change version to 4.3.1 (chiba-1) and fix resulting autotest errors

* Add Windows gridlabd.bat to README

* Fixing typo in cooling_cop units (#1152)

* Add support for module template folder (#1159)

* Add support for module template folder

* Add support for blocking load of module template files

* Update gridlabd-template

* Update gridlabd-geodata (#1153)

* Remove deprecated variables (#1151)

* Fix bad autotest timezones

* Fix generators module deprecated properties

* Update recorder.cpp

* Fix powerflow deprecations

* Fix market deprecations

* Fix autotests with deprecated usage

* Fix powerflow autotests

* Fix reliability autotests

* Fix source autotest

* Fix powerflow autotest failures

* Update triplex_node.cpp

* Add missing powerflow switch autotests (#1156)

* Add switch tests

* Update powerflow switch coordinator autotest

* Change slacgismo to hipas (#1155)

* Fix build folder (#1154)

* Update main.cpp (#1147)

* Add powerflow violation detection (#1164)

* Update property.cpp

* Add module global variable and node property to set voltage violation threshold

* Add default continuous and emergency ratings

* Add DER voltage fluctuation test implementation to powerflow now

* Update docs

* Add node voltage violation watch test

* Fix node voltage fluctuation DER test

* Create test_node_voltage_fluctuation.glm

* Update powerflow_object.cpp

* Rename test_node_voltage_violation

* Add powerflow commits for all links

* Add test_link_overcurrent to powerflow module

* Add actual voltage values to violation reports

* Fix current violation detection

* Fix voltage fluctuation checks

* Fix timezones in violation tests

* Update test_node_voltage_fluctuation.csv

* Fix incorrect timezone usage in violation record

* Update test results

* Fix switch_coordinator precommit definition

* Fix violation counter

* Update gridlabd-version (#1166)

* Add support for spidacalc equipment (#1160)

* Create test_xls-spida2csv-network.csv

* Create test_xls-spida2csv-network.glm

* Update xls-spida2csv-geodata.py

* Update xls-spida2csv-geodata.py

Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>
Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Add service_level flag to powerflow meters (#1162)

* Add is_critical flag to powerflow meter

* Update Meter.md

* Change to service_level instead of is_critical

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Fix python solver (#1058)

* Update solver_py.cpp

* Update solver_py.cpp

* Added numpy array creation support

* Implement MLE solver bus mapping

* Fix busdata mapping errors

* Change output to dataframe for improved readability

* Update test_IEEE_13_MLE.glm

* Update setup-Linux-amzn-2.sh

* Create setup-Linux-ubuntu-20.sh

* Update setup-Linux-ubuntu-20.sh

* Update setup-Linux-ubuntu-20.sh

* Update setup-Darwin-20.sh

* Update setup-Linux-ubuntu-20.sh

* Update version.sh

* Update setup-Linux-amzn-2.sh

* Update setup-Linux-ubuntu-20.sh

* Update solver_py.cpp

* Update test_IEEE_13_MLE.glm

* Update solver_py.cpp

* Update solver_py.cpp

* Update solver_nr.cpp

* Update solver_py.cpp

* Fix python solver copyback NR initialization error

* Update solver_nr.cpp

* Update solver_nr.cpp

* Fix NR profiler formatting

* Create Solver_profile_csv.md

* Update solver_nr.cpp

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Fix voltage violation detection implementation errors (#1170)

* Update gridlabd-version

* Fix missing voltage_fluctuation_threshold global in powerflow

* Fixes to variable names

* Fix voltage violation logic

* Add hosting capacity documentation

* Add DER_violation_test global

* Fix child node voltage fluctuation test

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Update nsrdb_weather.py (#1168)

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Add fire danger tool (#1146)

* Create fire_danger.py

* Update Makefile.mk

* Update fire_danger.py

* Update fire_danger.py

* Update fire_danger.py

* Update fire_danger.py

* Update fire_danger.py

* Update fire_danger.py

* Update fire_danger.py

* Update fire_danger.py

* Add show option to fire_danger tool

* Update fire_danger.py

* Update requirements.txt

* Adding geodata_firerisk package

* Modified unit test & general clean up

* Rename geodata_fireRisk.py to geodata_firerisk.py

* Create Fire_danger.md

* Add fire_danger autotest and documentation

Co-authored-by: ktehranchi <83722342+ktehranchi@users.noreply.github.com>
Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Update gridlabd-version

* Add fire incident report tool (#1143)

* Add fire report tool

* Update setup.py

* Update fire_report.py

* Update fire_report.py

* Update fire_report.py

* Create Fire_report.md

* Create test_fire_report.csv

* Create test_fire_report.glm

* Update fire_report.py

* Update fire_report.py

* Update geodata_vegetation.py

* Update geodata_vegetation.py

* Update Fire_report.md

Co-authored-by: Fuhong Xie <fxie2@slac.stanford.edu>
Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Update gridlabd-version

* Update gridlabd-version

* Develop fix voltage violation detection (#1173)

* Update gridlabd-version
* Fix missing voltage_fluctuation_threshold global in powerflow
* Fixes to variable names
* Fix voltage violation logic
* Add hosting capacity documentation
* Add DER_violation_test global
* Fix child node voltage fluctuation test
* Update node.cpp

* Update Dockerfile

* Update load.cpp (#1177)

* Add missing default fuse replacement time (#1176)

* Fix copyright dates/info on splash screen

* Update version number in docs

* Update json2md.py

* Update load.cpp

* Update market documentation

* Update node.cpp

* Add support for reverse geocode (#1182)

* Add airport lookup (#1181)

* Add meteostat tool (#1180)

* Add session 1 tutorials (#1185)

* Add session 1 tutorials

* Update Resources.md

* Update tutorial landing page

* Update Makefile.mk

* Update tutorial player

* Update to use library.csv data

* Update Makefile.mk

* Update and rename Datetime.md to Timestamp.md

* Update load.cpp

* Fix meteostat autotest

* Update load.cpp

* Update object.cpp

* Update gridlabd-template

* Update gridlabd-template

* Create README.md

* Fix meteostat autotest

* Update gridlabd-template

* Stop meteostat instability from causing autotest failures

* Fix class event handlers (#1192)

* Add xlsx-workbook2csv-table converter (#1191)

* Add 'read_dlp' tool (#1188)

* Add setup for version.gridlabd.us server (#1178)

* Update library.csv

* Update gridlabd-template

* Fix node undervoltage violation limit (#1199)

* Update node.cpp

* Update node.cpp

* Update Node.md

* Removing print statement from test_class_event_handler.py

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Update python.cpp

* Update object.cpp

* Fix sprintf vulnerabilities (#1195)

* Fix core sprintf vulnerabilities

* Update climate.cpp

* Fix battery module

* Fix market module

* Fix powerflow module

* Fix revenue module

* Fix tape module

* Update test_table2glm.glm

* Update test_table2glm_noclass.glm

* Update test_assert.glm

* Fix tape flush validation procedure

* Update convert.cpp

* Update test_class_event_handler.py

* Update climate.h

* Fix improper use of return value from snprintf

* Finished fixing the sprintf problems.

* Update test_assert.glm

* Update assert.cpp

* Update test_assert.glm

* Update gridlabd.h

* Update assert.cpp

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Enhance pole analysis (#1186)

* Create test_xls-spida2csv-network.csv

* Create test_xls-spida2csv-network.glm

* Update xls-spida2csv-geodata.py

* Update xls-spida2csv-geodata.py

* Update xls-spida2csv-geodata.py

* Update pole.cpp

* Update pole.h

* Update pole_configuration.cpp

* Update pole_configuration.h

* Update pole_mount.cpp

* Update pole_mount.h

* Update pole.cpp

* Update pole.h

* Update pole_mount.cpp

* Update pole_mount.h

* Update test_pole.csv

* Update pole.cpp

* Update pole_mount.cpp

* Update pole_mount.h

* Update Makefile.mk

* Create pole_analysis.py

* Update pole_analysis.py

* Create test_pole_analysis.glm

* Create test_pole_analysis_opt.csv

* Create test_pole_analysis_opt.glm

* Update pole_analysis.py

* Update pole_analysis.py

* Fixed Pandas read_excel xlsx issue

* Fix pandas version across all requirements.txt

* Changed autotests affected by pandas rounding

Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>
Co-authored-by: Mitchell Victoriano <mitchell.victoriano@gmail.com>

* Update Meter.md (#1207)

* Updating docker image base (#1208)

* Update Dockerfile

* Update develop.yml

* Update master.yml

* Fix expansions for loader (#1206)

* Update load.cpp

* Create Expansion.md

Co-authored-by: David P. Chassin <david.chassin@me.com>

* Update requirements.txt (#1209)

* Update requirements.txt
* Upgrading to py 3.9.6
* Updating base from slacgismo to hipas for github actions
* Upgrade shapely

* Develop fix template load errors (#1215)

* Update README.md (#1217)

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Fix deferred initialization in python on_init event handlers (#1219)

* Update object.cpp
* Update python.cpp

* Update README.md

* Update LICENSE

* Fiona requirements.py update (#1222)

* Fix json error in version output (#1223)

* Fix tmy32glm (#1229)

* Update requirements.txt
* Update tmy32glm.py

* Add gridlabd-model subcommand (#1230)

* Add gridlabd-model subcommand
* Add validation test

* Add create_meters tool (#1226)

* Fix 'gridlabd help' command output

* Pole module fixes for validation (#1221)

* Fix subcommand and tool help data

* Update fit_filter.py

* Update gridlabd-job

* Fix json save (#1235)

* Add global variable initialization support

* Fix json globals to include initial value

* Add support for fast install (#1017)

* adjusted subcommand syntax due to unknown autoscan error

* tested restoring relevant shebang line

* adjusted script call method

* readjusted remaining subcommands

* reversed missed changes

* test variable useage

* adjusted shell subcommands python to use GLD_BIN variable for path

* Adjusted setup to track version build in each versions directory

* Updated build script for easier maintenance, readability, and error checking

* Updated Python Version to 3.9.13 to see if patch fixes occasional build bugs

* adjusted make commands for potential fix in script python build

* potential make fix

* added check to see if requirements is installing correctly

* changed test

* changed platform.h to error if PYTHON_EXEC is undefined

* adjusted python build to properly overwrite top bin links on new sourcebuild

* adjusted python hashbang for testing

* tweaked configure.ac

* added PYTHON_EXEC to CFLAGS

* updated configure, added check test notices

* adjusted variables and declaration order in configure

* changed to correct variable

* updated exec call

* Restored original hashbang point to opt/gridlabd/bin/python3

* additional python adjustments

* adjusted reference to python3-config location

* adjusted variable call in python3 script

* added echo to check output of various variables

* testing alternative variable

* adjusted variable call

* updated python makefile variables

* updated reference format for variable

* adjusted variables again

* adjusted additional variables

* more adjustments

* tweaked makefile

* testing variables

* further tests

* corrected syntax

* fixed additional makefile python references

* fixed another hardcoded python reference

* testing define

* adjusted calling command for python selector script

* appropriate replacement for python hashbang

* Implemented fix for variable python execution path

* added missed exec line in convert

* Corrected autotests to use version specific python version

* corrected more improper python references

* Final tweaks for dynamic python implementation.

* fully finished code cleanup for darwin installers

* updated missed improper python3 call format

* Cleaned up debian installers to use new variable system for faster script updates

* Minor version adjustments for packages in debian, updated ubuntu install script

* Updated documentation and made minor edits

* various tweaks

* added installs for docker containers, adjusted ldconfig for linux

* updated m4sh file to dynamically adjust between linux and darwin python installs

* bugfix

* fixed minor typo

* tweaked test

* updated linux images to only build from docker containers

* removed unused variable

* minor tweak to install-dev

* updated reference to find docker if in docker container

* added -r for cp, and rm for system files

* updated build-image to remove all default libraries from saved libs

* tweaked libraries linux fast install

* added link to /usr/local/bin for current gridlabd executable

* ensured g++ is installed for debian docker

* added autoconf build for debian 9 docker

* update ubuntu 20 install

* tweaks

* updated pandas version

* Updated install.sh script for web install to include latest updates from dev

* removed test output to prevent adding to repository

* created readme for fast-install

* updated readme, tweaked scripts

* Updated install to allow user to submit version for fast install

* added flags section to readme

* adjusted autoconf version

* minor adjustments to update autoconf version used in actions runner

* adjusted syntax

* added install for sudo package on runner

* attempting with apt-get instead of apt

* potential fix for github actions

* modified actions to use ubuntu container

* adjusted apt install order to circumvent tzdata location issue

* modified tzdata install line

* potential tzdata workaround

* potential workaround for git repository issue

* fix git repo owner issue on runner

* adjusted linux scripts for fast builds using a prepared container

* testing container for faster builds

* removed environment updates as not used in new container

* minor tweaks to enable faster builds

* adjusted check path for doxygen so test can actually work

* updated monterey x86 installer

* updated chown command for site packages

* added missing logic to make home/temp directory

* Added check for $USER variable to exist, to work around docker container bug

* updated fast install scripts with potential fix for python package issues

* added potential script for ubuntu 22

* minor tweak

* Adjusted chown for all gridlabd package dirs

* Added link to /usr/local/bin for installed gridlabd

* removed 22

* readd with permissions

* fixed minor missed element from build-aux

* fixed openssl install on arm to use arm Configure

* Added checks to update ownership for install in case of multi-user computers.

* Change file permissions/update readme

* Removed line from develop workflow due to fixed bug

* homebrew deprecated old install command, replaced

* testing

* adjusted

* brought install up to date with install-dev

* corrected a pair of bugs in the install script.

* minor tweak to optimize build image script

* Removed unnecessary extra install script

* Directory overhaul and major variable additions

* added creation of directory

* updated m4sh

* fixed minor structural issue

* fixed variable

* reorganized declarations

* adjusted definition method for vars

* reformatted to fix char and char const concat

* updated strcat for gld var

* adjusted syntax

* restructured getenv again

* adjusted var

* changed to braces?

* adjusted braces

* potential fix

* other fix?

* adjusted again

* adjustment

* use getenv without std

* other method

* wild fix attempt

* this hurts

* maybe?

* maybe?

* new version

* test

* added braces

* mirror potential fix

* hmmm

* test

* now? pls?

* chance?

* try

* hum?

* hoh?

* new try

* hmm

* giving up after this

* updated method for quick test

* updated install-dev, added brace

* more directory updates

* tried removing the -1 for testing

* adjusted char types

* additional char type mod

* removed the *

* ugh

* adjusted char type

* this?

* i

* minor adjust

* PLEASE

* test more fixes

* and awaaaaaay we go!

* additionals

* test configname fix

* probably wont work

* this wont work

* test fixies

* potential billing library fix

* test

* revert

* mayhaps

* revert

* adjusted script find function for ca-certs

* corrected ca-cert install to account for package version updates

* potential fix for module implementation

* test fix test for cert.pem

* change to -f

* corrected implementation in powerflow

* theoretical fix to gridlabd version subcommand

* corrected link typo in install.sh

* test

* changed basename to dirname

* potential fix install.sh

* changed from os.environ to os.getenv

* corrected python string syntax

* fixed remaining string needing f"

* fix path issue

* added updated cert check to all darwin installs

* fixed bug in change to fast install image build

* final fix install-dev

* bringing install.sh current with dev

* fixed build image for linux

* syntax correction

* adjust name

* potential fix to image build script bug on docker systems

* updated ldconfig command install-dev

* updated chown to default to root when user undefined

* adjusted fast install and build image to separate system libs from package libs

* made minor adjustments to scripts

* added procps to docker fast install. changed default branch for dev install to develop.

* updated readme documentation

* fixed mismatch

* updated docs, added -r to mac cp commands

* test variable passthrough to subshell

* retest

* test with export

* Added prefix support to script install

* potential fix install for configure

* adjusted directory issue with prefix settings

* testing configure update

* corrected syntax

* fixed minor bug

* adjusted variables for dynamic use

* potential configure fix

* corrected non-variable line in fire danger test

* adjusted darwin cp command to darwin standards

* updated install.md instructions

* updated cloud documentation

* fixed typo

* tweaked configure.ac to set minimum default python as 3.9

* removed link to python pymalloc

* updated ca-cert check to account for multiple directories available at one time

* adjusted unnecessary basename

* updated installation scripts to clean out unecessary code, package missing dependencies in intel macs

* link gettext to lib for dependency resolution

* updated install to match dev, and et defaults appropriately

* added error check to build image to exit out and prevent strange bugs if version does not exist when run

* added ownership update to install script

* tweaked command for install and tweaked message for post-install user actions

* updated installer scripts

* added extra ownership line to ensure smooth install

* tweaked install script

* tweaked install script

* Added a couple tweaks for m1 install and version.sh bug

* Update requirements.txt

Added pymysql to requirements per the TESS API tech transfer to-do list.

* added automated clean before install script runs

Co-authored-by: Thistleman <codes5096@gmail.com>
Co-authored-by: Duncan Ragsdale <88173870+Thistleman@users.noreply.github.com>

* Update load.cpp (#1239)

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Add install tool (#1237)

* Add gridlabd install tool

* Update Makefile.mk

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Update cmdarg.cpp (#1211)

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Develop update dockerbase (#1245)

* Updating base image to an ubuntu based image

* Update Dockerfile

* Revert "Merge branch 'develop' into develop-fix-help"

This reverts commit 675cbb17784958716e0ea0aabbf2f994696ce8ab, reversing
changes made to 2f0faab2346d8fae6f19572ad965149bcb324bea.

* Bump ipython from 7.31.1 to 8.10.0 in /module/resilience/docs (#1249)

* Bump pillow from 9.0.1 to 9.3.0 in /converters (#1224)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.0.1 to 9.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/9.0.1...9.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ipython from 7.31.1 to 8.10.0 in /module/resilience/docs

Bumps [ipython](https://github.com/ipython/ipython) from 7.31.1 to 8.10.0.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](https://github.com/ipython/ipython/compare/7.31.1...8.10.0)

---
updated-dependencies:
- dependency-name: ipython
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Cleaning up double-entered requirements

* More dependency clean up

* Update test_fire_danger.tif

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Fix ICA violation test speed issues (#1183)

* Move node violation scan from sync to commit

* Update node.cpp

* Add check to avoid unneeded bus voltage fluctuation tests

---------

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Fix error message when branch is not found in repo (#1214)

* Fix error message when branch is not found in repo

* Update gridlabd-template

* Pole module fixes for validation (#1221)

* Fix json save (#1235)

* Add global variable initialization support

* Fix json globals to include initial value

* Add support for fast install (#1017)

* adjusted subcommand syntax due to unknown autoscan error

* tested restoring relevant shebang line

* adjusted script call method

* readjusted remaining subcommands

* reversed missed changes

* test variable useage

* adjusted shell subcommands python to use GLD_BIN variable for path

* Adjusted setup to track version build in each versions directory

* Updated build script for easier maintenance, readability, and error checking

* Updated Python Version to 3.9.13 to see if patch fixes occasional build bugs

* adjusted make commands for potential fix in script python build

* potential make fix

* added check to see if requirements is installing correctly

* changed test

* changed platform.h to error if PYTHON_EXEC is undefined

* adjusted python build to properly overwrite top bin links on new sourcebuild

* adjusted python hashbang for testing

* tweaked configure.ac

* added PYTHON_EXEC to CFLAGS

* updated configure, added check test notices

* adjusted variables and declaration order in configure

* changed to correct variable

* updated exec call

* Restored original hashbang point to opt/gridlabd/bin/python3

* additional python adjustments

* adjusted reference to python3-config location

* adjusted variable call in python3 script

* added echo to check output of various variables

* testing alternative variable

* adjusted variable call

* updated python makefile variables

* updated reference format for variable

* adjusted variables again

* adjusted additional variables

* more adjustments

* tweaked makefile

* testing variables

* further tests

* corrected syntax

* fixed additional makefile python references

* fixed another hardcoded python reference

* testing define

* adjusted calling command for python selector script

* appropriate replacement for python hashbang

* Implemented fix for variable python execution path

* added missed exec line in convert

* Corrected autotests to use version specific python version

* corrected more improper python references

* Final tweaks for dynamic python implementation.

* fully finished code cleanup for darwin installers

* updated missed improper python3 call format

* Cleaned up debian installers to use new variable system for faster script updates

* Minor version adjustments for packages in debian, updated ubuntu install script

* Updated documentation and made minor edits

* various tweaks

* added installs for docker containers, adjusted ldconfig for linux

* updated m4sh file to dynamically adjust between linux and darwin python installs

* bugfix

* fixed minor typo

* tweaked test

* updated linux images to only build from docker containers

* removed unused variable

* minor tweak to install-dev

* updated reference to find docker if in docker container

* added -r for cp, and rm for system files

* updated build-image to remove all default libraries from saved libs

* tweaked libraries linux fast install

* added link to /usr/local/bin for current gridlabd executable

* ensured g++ is installed for debian docker

* added autoconf build for debian 9 docker

* update ubuntu 20 install

* tweaks

* updated pandas version

* Updated install.sh script for web install to include latest updates from dev

* removed test output to prevent adding to repository

* created readme for fast-install

* updated readme, tweaked scripts

* Updated install to allow user to submit version for fast install

* added flags section to readme

* adjusted autoconf version

* minor adjustments to update autoconf version used in actions runner

* adjusted syntax

* added install for sudo package on runner

* attempting with apt-get instead of apt

* potential fix for github actions

* modified actions to use ubuntu container

* adjusted apt install order to circumvent tzdata location issue

* modified tzdata install line

* potential tzdata workaround

* potential workaround for git repository issue

* fix git repo owner issue on runner

* adjusted linux scripts for fast builds using a prepared container

* testing container for faster builds

* removed environment updates as not used in new container

* minor tweaks to enable faster builds

* adjusted check path for doxygen so test can actually work

* updated monterey x86 installer

* updated chown command for site packages

* added missing logic to make home/temp directory

* Added check for $USER variable to exist, to work around docker container bug

* updated fast install scripts with potential fix for python package issues

* added potential script for ubuntu 22

* minor tweak

* Adjusted chown for all gridlabd package dirs

* Added link to /usr/local/bin for installed gridlabd

* removed 22

* readd with permissions

* fixed minor missed element from build-aux

* fixed openssl install on arm to use arm Configure

* Added checks to update ownership for install in case of multi-user computers.

* Change file permissions/update readme

* Removed line from develop workflow due to fixed bug

* homebrew deprecated old install command, replaced

* testing

* adjusted

* brought install up to date with install-dev

* corrected a pair of bugs in the install script.

* minor tweak to optimize build image script

* Removed unnecessary extra install script

* Directory overhaul and major variable additions

* added creation of directory

* updated m4sh

* fixed minor structural issue

* fixed variable

* reorganized declarations

* adjusted definition method for vars

* reformatted to fix char and char const concat

* updated strcat for gld var

* adjusted syntax

* restructured getenv again

* adjusted var

* changed to braces?

* adjusted braces

* potential fix

* other fix?

* adjusted again

* adjustment

* use getenv without std

* other method

* wild fix attempt

* this hurts

* maybe?

* maybe?

* new version

* test

* added braces

* mirror potential fix

* hmmm

* test

* now? pls?

* chance?

* try

* hum?

* hoh?

* new try

* hmm

* giving up after this

* updated method for quick test

* updated install-dev, added brace

* more directory updates

* tried removing the -1 for testing

* adjusted char types

* additional char type mod

* removed the *

* ugh

* adjusted char type

* this?

* i

* minor adjust

* PLEASE

* test more fixes

* and awaaaaaay we go!

* additionals

* test configname fix

* probably wont work

* this wont work

* test fixies

* potential billing library fix

* test

* revert

* mayhaps

* revert

* adjusted script find function for ca-certs

* corrected ca-cert install to account for package version updates

* potential fix for module implementation

* test fix test for cert.pem

* change to -f

* corrected implementation in powerflow

* theoretical fix to gridlabd version subcommand

* corrected link typo in install.sh

* test

* changed basename to dirname

* potential fix install.sh

* changed from os.environ to os.getenv

* corrected python string syntax

* fixed remaining string needing f"

* fix path issue

* added updated cert check to all darwin installs

* fixed bug in change to fast install image build

* final fix install-dev

* bringing install.sh current with dev

* fixed build image for linux

* syntax correction

* adjust name

* potential fix to image build script bug on docker systems

* updated ldconfig command install-dev

* updated chown to default to root when user undefined

* adjusted fast install and build image to separate system libs from package libs

* made minor adjustments to scripts

* added procps to docker fast install. changed default branch for dev install to develop.

* updated readme documentation

* fixed mismatch

* updated docs, added -r to mac cp commands

* test variable passthrough to subshell

* retest

* test with export

* Added prefix support to script install

* potential fix install for configure

* adjusted directory issue with prefix settings

* testing configure update

* corrected syntax

* fixed minor bug

* adjusted variables for dynamic use

* potential configure fix

* corrected non-variable line in fire danger test

* adjusted darwin cp command to darwin standards

* updated install.md instructions

* updated cloud documentation

* fixed typo

* tweaked configure.ac to set minimum default python as 3.9

* removed link to python pymalloc

* updated ca-cert check to account for multiple directories available at one time

* adjusted unnecessary basename

* updated installation scripts to clean out unecessary code, package missing dependencies in intel macs

* link gettext to lib for dependency resolution

* updated install to match dev, and et defaults appropriately

* added error check to build image to exit out and prevent strange bugs if version does not exist when run

* added ownership update to install script

* tweaked command for install and tweaked message for post-install user actions

* updated installer scripts

* added extra ownership line to ensure smooth install

* tweaked install script

* tweaked install script

* Added a couple tweaks for m1 install and version.sh bug

* Update requirements.txt

Added pymysql to requirements per the TESS API tech transfer to-do list.

* added automated clean before install script runs

Co-authored-by: Thistleman <codes5096@gmail.com>
Co-authored-by: Duncan Ragsdale <88173870+Thistleman@users.noreply.github.com>

* Update load.cpp (#1239)

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Add install tool (#1237)

* Add gridlabd install tool

* Update Makefile.mk

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

* Update install.py

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Update cmdarg.cpp (#1211)

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Develop update dockerbase (#1245)

* Updating base image to an ubuntu based image

* Update Dockerfile

* Bump ipython from 7.31.1 to 8.10.0 in /module/resilience/docs (#1249)

* Bump pillow from 9.0.1 to 9.3.0 in /converters (#1224)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.0.1 to 9.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/9.0.1...9.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ipython from 7.31.1 to 8.10.0 in /module/resilience/docs

Bumps [ipython](https://github.com/ipython/ipython) from 7.31.1 to 8.10.0.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](https://github.com/ipython/ipython/compare/7.31.1...8.10.0)

---
updated-dependencies:
- dependency-name: ipython
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Cleaning up double-entered requirements

* More dependency clean up

* Update test_fire_danger.tif

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Fix ICA violation test speed issues (#1183)

* Move node violation scan from sync to commit

* Update node.cpp

* Add check to avoid unneeded bus voltage fluctuation tests

---------

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Reverting unwanted commit to develop 9f68226

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>
Co-authored-by: Thistleman <codes5096@gmail.com>
Co-authored-by: Duncan Ragsdale <88173870+Thistleman@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Resetting to develop-add-ductbank branch due to merge issues (#1254)

* Add link to ductbank from underground lines

* Add ductbank to underground line class

* Update underground_line.cpp

* Add cable temp calcs

* Ductbank work in progress

* Update Ductbank model.ipynb

* Update Ductbank model.ipynb

* Ductbank implementation substantially complete

* Update Ductbank.md

* Update test_ductbank_1of6.glm

* Create test_ductbank_2of6.glm

* Update test_ductbank.glm

* Update Ductbank model.ipynb

* Create ductbank.py

* Update Underground_line_conductor.md

* Update Underground_line.md

* Update Ductbank.md

* Create box3x2.png

* Create Ductbank model reduction.ipynb

* Update ductbank work

* Update ductbank model reduction docs

---------

Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>

* Develop add aws install (#1255)

* tested restoring relevant shebang line

* adjusted script call method

* readjusted remaining subcommands

* reversed missed changes

* test variable useage

* adjusted shell subcommands python to use GLD_BIN variable for path

* Adjusted setup to track version build in each versions directory

* Updated build script for easier maintenance, readability, and error checking

* Updated Python Version to 3.9.13 to see if patch fixes occasional build bugs

* adjusted make commands for potential fix in script python build

* potential make fix

* added check to see if requirements is installing correctly

* changed test

* changed platform.h to error if PYTHON_EXEC is undefined

* adjusted python build to properly overwrite top bin links on new sourcebuild

* adjusted python hashbang for testing

* tweaked configure.ac

* added PYTHON_EXEC to CFLAGS

* updated configure, added check test notices

* adjusted variables and declaration order in configure

* changed to correct variable

* updated exec call

* Restored original hashbang point to opt/gridlabd/bin/python3

* additional python adjustments

* adjusted reference to python3-config location

* adjusted variable call in python3 script

* added echo to check output of various variables

* testing alternative variable

* adjusted variable call

* updated python makefile variables

* updated reference format for variable

* adjusted variables again

* adjusted additional variables

* more adjustments

* tweaked makefile

* testing variables

* further tests

* corrected syntax

* fixed additional makefile python references

* fixed another hardcoded python reference

* testing define

* adjusted calling command for python selector script

* appropriate replacement for python hashbang

* Implemented fix for variable python execution path

* added missed exec line in convert

* Corrected autotests to use version specific python version

* corrected more improper python references

* Final tweaks for dynamic python implementation.

* fully finished code cleanup for darwin installers

* updated missed improper python3 call format

* Cleaned up debian installers to use new variable system for faster script updates

* Minor version adjustments for packages in debian, updated ubuntu install script

* Updated documentation and made minor edits

* various tweaks

* added installs for docker containers, adjusted ldconfig for linux

* updated m4sh file to dynamically adjust between linux and darwin python installs

* bugfix

* fixed minor typo

* tweaked test

* updated linux images to only build from docker containers

* removed unused variable

* minor tweak to install-dev

* updated reference to find docker if in docker container

* added -r for cp, and rm for system files

* updated build-image to remove all default libraries from saved libs

* tweaked libraries linux fast install

* added link to /usr/local/bin for current gridlabd executable

* ensured g++ is installed for debian docker

* added autoconf build for debian 9 docker

* update ubuntu 20 install

* tweaks

* updated pandas version

* Updated install.sh script for web install to include latest updates from dev

* removed test output to prevent adding to repository

* created readme for fast-install

* updated readme, tweaked scripts

* Updated install to allow user to submit version for fast install

* added flags section to readme

* adjusted autoconf version

* minor adjustments to update autoconf version used in actions runner

* adjusted syntax

* added install for sudo package on runner

* attempting with apt-get instead of apt

* potential fix for github actions

* modified actions to use ubuntu container

* adjusted apt install order to circumvent tzdata location issue

* modified tzdata install line

* potential tzdata workaround

* potential workaround for git repository issue

* fix git repo owner issue on runner

* adjusted linux scripts for fast builds using a prepared container

* testing container for faster builds

* removed environment updates as not used in new container

* minor tweaks to enable faster builds

* adjusted check path for doxygen so test can actually work

* updated monterey x86 installer

* updated chown command for site packages

* added missing logic to make home/temp directory

* Added check for $USER variable to exist, to work around docker container bug

* updated fast install scripts with potential fix for python package issues

* added potential script for ubuntu 22

* minor tweak

* Adjusted chown for all gridlabd package dirs

* Added link to /usr/local/bin for installed gridlabd

* removed 22

* readd with permissions

* fixed minor missed element from build-aux

* fixed openssl install on arm to use arm Configure

* Added checks to update ownership for install in case of multi-user computers.

* Change file permissions/update readme

* Removed line from develop workflow due to fixed bug

* homebrew deprecated old install command, replaced

* testing

* adjusted

* brought install up to date with install-dev

* corrected a pair of bugs in the install script.

* minor tweak to optimize build image script

* Removed unnecessary extra install script

* Directory overhaul and major variable additions

* added creation of directory

* updated m4sh

* fixed minor structural issue

* fixed variable

* reorganized declarations

* adjusted definition method for vars

* reformatted to fix char and char const concat

* updated strcat for gld var

* adjusted syntax

* restructured getenv again

* adjusted var

* changed to braces?

* adjusted braces

* potential fix

* other fix?

* adjusted again

* adjustment

* use getenv without std

* other method

* wild fix attempt

* this hurts

* maybe?

* maybe?

* new version

* test

* added braces

* mirror potential fix

* hmmm

* test

* now? pls?

* chance?

* try

* hum?

* hoh?

* new try

* hmm

* giving up after this

* updated method for quick test

* updated install-dev, added brace

* more directory updates

* tried removing the -1 for testing

* adjusted char types

* additional char type mod

* removed the *

* ugh

* adjusted char type

* this?

* i

* minor adjust

* PLEASE

* test more fixes

* and awaaaaaay we go!

* additionals

* test configname fix

* probably wont work

* this wont work

* test fixies

* potential billing library fix

* test

* revert

* mayhaps

* revert

* adjusted script find function for ca-certs

* corrected ca-cert install to account for package version updates

* potential fix for module implementation

* test fix test for cert.pem

* change to -f

* corrected implementation in powerflow

* theoretical fix to gridlabd version subcommand

* corrected link typo in install.sh

* test

* changed basename to dirname

* potential fix install.sh

* changed from os.environ to os.getenv

* corrected python string syntax

* fixed remaining string needing f"

* fix path issue

* added updated cert check to all darwin installs

* fixed bug in change to fast install image build

* final fix install-dev

* bringing install.sh current with dev

* fixed build image for linux

* syntax correction

* adjust name

* potential fix to image build script bug on docker systems

* updated ldconfig command install-dev

* updated chown to default to root when user undefined

* adjusted fast install and build image to separate system libs from package libs

* made minor adjustments to scripts

* added procps to docker fast install. changed default branch for dev install to develop.

* updated readme documentation

* fixed mismatch

* updated docs, added -r to mac cp commands

* test variable passthrough to subshell

* retest

* test with export

* Added prefix support to script install

* potential fix install for configure

* adjusted directory issue with prefix settings

* testing configure update

* corrected syntax

* fixed minor bug

* adjusted variables for dynamic use

* potential configure fix

* corrected non-variable line in fire danger test

* adjusted darwin cp command to darwin standards

* updated install.md instructions

* updated cloud documentation

* fixed typo

* tweaked configure.ac to set minimum default python as 3.9

* removed link to python pymalloc

* updated ca-cert check to account for multiple directories available at one time

* adjusted unnecessary basename

* updated installation scripts to clean out unecessary code, package missing dependencies in intel macs

* link gettext to lib for dependency resolution

* updated install to match dev, and et defaults appropriately

* added error check to build image to exit out and prevent strange bugs if version does not exist when run

* added ownership update to install script

* tweaked command for install and tweaked message for post-install user actions

* updated installer scripts

* added extra ownership line to ensure smooth install

* tweaked install script

* tweaked install script

* Added a couple tweaks for m1 install and version.sh bug

* Update requirements.txt

Added pymysql to requirements per the TESS API tech transfer to-do list.

* added automated clean before install script runs

---------

Co-authored-by: Thistleman <codes5096@gmail.com>
Co-authored-by: Duncan Ragsdale <88173870+Thistleman@users.noreply.github.com>

* Restoring missing commits (#1256)

* Move node violation scan from sync to commit

* Update node.cpp

* Add check to avoid unneeded bus voltage fluctuation tests

---------

Co-authored-by: David P. Chassin <david.chassin@me.com>
Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>

* Add ductbank thermal model (#1257)

* Add link to ductbank from underground lines

* Add ductbank to underground line class

* Update underground_line.cpp

* Add cable temp calcs

* Ductbank work in progress

* Update Ductbank model.ipynb

* Update Ductbank model.ipynb

* Ductbank implementation substantially complete

* Update Ductbank.md

* Update test_ductbank_1of6.glm

* Create test_ductbank_2of6.glm

* Update test_ductbank.glm

* Update Ductbank model.ipynb

* Create ductbank.py

* Update Underground_line_conductor.md

* Update Underground_line.md

* Update Ductbank.md

* Create box3x2.png

* Create Ductbank model reduction.ipynb

* Update ductbank work

* Update ductbank model reduction docs

---------

Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>

* Update vegetation geodata package to include contact (#1205)

* Add vege contact

Add the vege contact model

* Update geodata_vegetation.py

start to add strike model

* Update geodata_vegetation.py

Add a single tree strike function

* Update geodata_vegetation.py

Update the tree strike model consider tree numbers

* Block template load of non-GLM files when module is loaded

* Fix missing filename and bad line numbering when loading template GLM files

* Update geodata_powerline.py

Add vegetation contact and tree strike model

* Update geodata_vegetation.py

Recover the vegetation file

---------

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Updating documentation to reflect config.csv converter use (#1259)

* Add json2glm converter options to ignore the clock (#1233)

* Add create_meters tool

* Update create_meters.py

* Update create_meters.py

* Update load.cpp

* Adding no clock option for json2glm

* Update load.cpp

* Update globals.cpp

* Update globals.cpp

* Update gridlabd-convert

* Update json2glm.py

* Update json2glm.py

* Update load.cpp

* Fixed meter creation issues

* Update node.cpp

* Fixing merge error

* Update json2glm.py

* Adding documentation

* Update ieee13-meters.glm

---------

Co-authored-by: David P. Chassin <david.chassin@me.com>
Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>

* Add cyme converter (#1204)

* Create test_xls-spida2csv-network.csv

* Create test_xls-spida2csv-network.glm

* Update xls-spida2csv-geodata.py

* Update xls-spida2csv-geodata.py

* Update xls-spida2csv-geodata.py

* Update pole.cpp

* Update pole.h

* Update pole_configuration.cpp

* Update pole_configuration.h

* Update pole_mount.cpp

* Update pole_mount.h

* Update pole.cpp

* Update pole.h

* Update pole_mount.cpp

* Update pole_mount.h

* Update test_pole.csv

* Update pole.cpp

* Update pole_mount.cpp

* Update pole_mount.h

* Update Makefile.mk

* Create pole_analysis.py

* Update pole_analysis.py

* Update json2png.py

* Update Mdb_files.md

* Update mdb-cyme2glm.py

* Update mdb2glm.py

* change test case IEEE-13-cyme to IEEE-13-cyme-object

* add testcase for cyme converter

Add autotest case for converter from CYME MDB to gridlabd GLM network

* Update Mdb_files.md

* Added options to MDB converter doc

* Fixed small errors

* Updated requirements txt for cyme converter

* Removed duplicate dependency

---------

Co-authored-by: Fuhong Xie <fxie2@slac.stanford.edu>
Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>
Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>
Co-authored-by: Mitchell Victoriano <mvicto@slac.stanford.edu>
Co-authored-by: Mitchell Victoriano <mitchell.victoriano@gmail.com>
Co-authored-by: Mitchell Victoriano <47313912+MitchellAV@users.noreply.github.com>

* Develop implement venv (#1253)

* potential venv test 1

* corrected typos

* additional modifications

* modified routing

* tweaked config test fix

* testing fix

* tweaked more

* potential path fix for use with venv

* refined pythonpath

* debian 11 test version

* fix for instance where home temp folder does not exist

* testing change

* adjusted pathing

* fixed ldconfig

* fixed

* test using system python

* tweaked script

* fixed incorrect variable

* tweak

* uncommented python build

* added exports for library paths to test build on debian

* bugfixes and typo corrections

* fixed typos for initial setup

* corrected run order

* added /usr/local to paths

* test flags

* potential loader fix

* testing fix

* tweaked syntax for intended meaning

* adjusted c reference to bindir

* Fixed m4sh python3 config reference

* moved debian process to config.ac

* adjusted command scripts

* tweak for logging directory

* fixed command

* YEAST

* tweaking commands

* modified scripts

* tweaked script for errors

* adjusted prefix checks

* tweaked script

* adjusted configure script

* testing rewrites

* adjusted script

* adjusted config.ac and linux build scripts for new process

* removed case format due to bug with configure

* removed -q flag from grep command for conditional tests

* potential fix for version check bug

* adjusted host_os check due to aarch64 particularities

* testing

* test this

* more testing

* alternative implementation

* added missing ")"

* bug/typo

* testing alternate implementation

* testing alternate implementation

* updated for POSIX shell

* testing

* removed testing syntax checks

* removed unnecessary code that occasionally wiped cloned directory

* potential m1 setup venv

* m1 install setup

* adjusted config

* potential fix

* added venv support for mac

* fixed reference in script

* tweaks

* fixed make system

* retest tweaked fix

* Create setup-Darwin-22.sh

* testing

* try 3

* fixed makefile.am

* Update setup-Linux-debian-11.sh (#1269)

* Update setup-Linux-debian-11.sh

* Update setup-Linux-debian-10.sh

* Update setup-Linux-debian-9.sh

* Update setup-Linux-ubuntu-22.sh

* Update setup-Linux-ubuntu-20.sh

* Update setup-Linux-ubuntu-18.sh

* Update setup-Linux-ubuntu-16.sh

* Update setup-Linux-debian-11.sh (#1270)

* Update setup-Linux-debian-11.sh

* Update setup-Linux-debian-10.sh

* Update setup-Linux-debian-9.sh

* Update setup-Linux-ubuntu-22.sh

* Update setup-Linux-ubuntu-20.sh

* Update setup-Linux-ubuntu-18.sh

* Update setup-Linux-ubuntu-16.sh

* fixed arm brew rference in intel

* Update develop.yml

* Update develop.yml

* Update develop.yml

---------

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Update python.cpp (#1261)

* Update unitfile.txt (#1263)

* Fix issue with CYME converter for CYME 9 Rev 6 MDB files (#1271)

* Create test_xls-spida2csv-network.csv

* Create test_xls-spida2csv-network.glm

* Update xls-spida2csv-geodata.py

* Update xls-spida2csv-geodata.py

* Update xls-spida2csv-geodata.py

* Update pole.cpp

* Update pole.h

* Update pole_configuration.cpp

* Update pole_configuration.h

* Update pole_mount.cpp

* Update pole_mount.h

* Update pole.cpp

* Update pole.h

* Update pole_mount.cpp

* Update pole_mount.h

* Update test_pole.csv

* Update pole.cpp

* Update pole_mount.cpp

* Update pole_mount.h

* Update Makefile.mk

* Create pole_analysis.py

* Update pole_analysis.py

* Update json2png.py

* Update Mdb_files.md

* Update mdb-cyme2glm.py

* Update mdb2glm.py

* change test case IEEE-13-cyme to IEEE-13-cyme-object

* add testcase for cyme converter

Add autotest case for converter from CYME MDB to gridlabd GLM network

* Update Mdb_files.md

* Added options to MDB converter doc

* Fixed small errors

* Updated requirements txt for cyme converter

* Removed duplicate dependency

---------

Co-authored-by: Fuhong Xie <fxie2@slac.stanford.edu>
Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>
Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>
Co-authored-by: Mitchell Victoriano <mitchell.victoriano@gmail.com>

* Fixing test_datasets.glm (#1267)

* Update geodata_powerline.py

* Update geodata_powerline.py

* Update README.md

Identify US Government Right per the original GridLAB-D license.

* Update user manuals (#862)

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Fix date/time handling in create_players tool (#1236)

Co-authored-by: David P. Chassin <david.chassin@me.com>

* (#1277) Added additional check and errors for non-SPCT transformers that are connected to triplex_node objects, or have an "S" phase. (#1281)

Migration of fix from gridlabd issue 1432

* Fix build warnings (#1279)

* Fix warnings on Mac

* Fix dg control error

* Fix linux warning in source

* Fixed incorrect buffer format limits

* Fixed module warnings on linux

* Update requirements

* Update configure.ac

* Update requirements.txt

* Fix validation errors

* Fix python config

* Move configure commands that change environment to makefile

* Fix makefile

* Update gridlabd.in

* Fix python clean

* Update test_plot.png

* Update makefiles

* Update requirements.txt

* Update requirements process

* Added python requirements for alternate systems

* Charge Darwin ARM64 requirements filename

* Move python os/cpu requirements to python folder

* Update version.sh

* Add Darwin 19 python requirements

* Add requirements.txt generator

* Update develop.yml

* Update version.sh

* Update develop.yml

* Update requirements-debian11-x86_64.txt

* Delete requirements.txt

* Update .gitignore

* Remove static requirements

* Update makefile to build requirements.txt

* Update develop.yml

* Move requirements.csv to python folder

* Update python venv support

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update requirements.csv

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update Makefile.am

* Update Makefile.am

* Update Makefile.am

* Update develop.yml

* Update Makefile.am

* Update develop.yml

* Update develop.yml

* Update develop.yml

* fixed setuptools install

* testing required installs before requirements can be run in batch....

* testing complete format import

* if this works, I will cry inside

* testing changing gdal version based on newer API available for debian 11

* testing unpinned raserio install

* fixed rasterio, required newer version compatible with python3.10

* adjusted version

* Move explicit pip installs to requirements.csv

* Update requirements.py

* Update requirements.py

* Update requirements.csv

* Fix test_fire_report autotest

* Update develop.yml

* Update Makefile.am

* Fix Darwin 20 validation errors

* Update gridlabd-plot

* Update create_player.py

* Update fit_filter.py

* Update test_fit_filter_opt.glm

* Update Makefile.am

* Update market_model.py

* Update test_market_model_opt.glm

* Update requirements.csv

* Update requirements.csv

* Update README.md

* Update README.md

* Update requirements.py

* Fix source error

* Fix filename buffer overruns

* Update Makefile.mk

* Update metrics_collector_writer.cpp

* Update requirements.csv

* Update Makefile.am

* Update Makefile.am

* Update requirements.csv

* Update requirements.py

* Update requirements.py

* Update requirements.py

* Update requirements.csv

* Update requirements.py

* Update requirements.csv

* Update requirements.py

* Update develop.yml

* Update Makefile.mk

* Fix python-install

* Update requirements.py

* Update Makefile.am

* Update Makefile.mk

* Update Makefile.am

* Update Makefile.mk

* Update Makefile.mk

* Update Makefile.mk

* Update Makefile.mk

* Update Makefile.mk

* Update globals.cpp

* Update globals.cpp

* Update globals.cpp

* Update Makefile.mk

* Update globals.cpp

* Update globals.cpp

* Update cmdarg.cpp

* Update gridlabd.m4sh

* Update gridlabd.in

* Fix pythonpath

* Update globals.cpp

* Update globals.cpp

* Update globals.cpp

* Fix pythonpath initialization

* Update globals.cpp

* Update requirements.csv

* Update gridlabd.m4sh

* Update gridlabd.in

* Update globals.cpp

---------

Co-authored-by: Duncan Ragsdale <127135808+Stanford-CVX-group@users.noreply.github.com>

* Add advanced load model class to powerflow (#1216)

* Add building class to powerflow

* Add inputs to building

* Simplify model

* Update building implementation

* Update building

* Add building autotest

* Fix main gridlabd build error from python setup

* Add building subcommand

* Update gridlabd-building

* Update gridlabd-building

* Update building subcommand and docs

* Update gridlabd-building

* Update Building.md

* Update Building.md

* Update Building.md

* Update Building.md

* Update building.h

* Add jama125

* Add tnt126

* Work progress on building load model

* Create tnt.h

* Initial general building load model working

* Update test_building.glm

* Add building load autotest

* Update building.h

* Update Building.md

* Update Building.md

* Update Building.md

* Update Building.md

* Update test_building.glm

* Update test_building.csv

* Add power factor/fractions for phases

* Update test_building.glm

* Update building.cpp

* Link weather to building loads

* Create test_building_loadshapes.csv

* Update building.cpp

* Update meter interval implementation

* Update test_building_10.glm

* Create test_building_tmy.glm

* Update building.cpp

* Update gridlabd.h

* Update building.cpp

* Update test_building_tmy.glm

* Create test_building_tmy.csv

* Update tnt_array2d.h

* Update tnt_cmat.h

* Update building.cpp

* Update building autotests

* Update gridlabd.h

* Update Makefile.mk

* Create building_defaults.csv

* Update building.h

* Update building.cpp

* Update test_building_1.glm

* Update test_building_1.csv

* Create .gitignore

* Update building.h

* Add CEUS loadshape data

* Create .gitignore

* Delete ceus_loadshapes.csv

* Update README.md

* Update README.md

* Update data files

* Add loadshape reader

* Update building.cpp

* Update loadshape

* Fix loader error reporting of filename and line number

* Update loadshape data

* Update building docs

* Update building model

* Update loadshapes for Btu to kWh conversion of gas enduses

* Add electrification and correct ZIP component units

* Update building.cpp

* Add occupancy support

* Delete ceus_loadshapes 2.csv

* Remove HVAC from enduse loadshape data

* Update load calcs

* Fixed electric heating flag

* Finish occupancy model

* Fix schedule

* Stub in dynamic solver

* Create .gitignore

* Update Building.md

* Update Building.md

* Add PV export limits

* Update autotests for power factor correction

* Add support for energy storage and release

* Add VAR controllers to support common DER interconnection standards

* Update documentation

* Finalize autotests

* Code cleanup

* Add industrial load model

* Fix industrial module autotest conflicts with powerflow module

* Create Advanced loads.md

* Update Advanced loads.md

* Add public_service loads

* Update advanced load docs

* Add agricultural loads

* Update advanced loads

* Update Advanced_loads.md

* Update Public_service.md

* Update public service code and autotest

* Add house model for performance comparison to building model

* Complete agricultural load implementation and autotesting

* Update public_service.h

* Update Agricultural.md

* Start work on enduse load composition data

* Update configure.ac

* Update Building model.ipynb

* Update Enduse load composition.ipynb

* Update Enduse load composition.ipynb

* Update building_defaults.csv

* Change building_defaults.csv to provide thermal properties per unit floor area

* Fix object_isa for buildings are detected as loads

* Update object.cpp

* Fix load update function for new loads

* Add building data validation scripts and images

* Correct CEUS gas loadshapes

* Update resstock data

* Update test_building_1.csv

---------

Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>

* Add loaddata subcommand (#1272)

* Create get_resstock.py

* Create gridlabd-loaddata

* Delete get_resstock.py

* Update gridlabd-loaddata

* Update gridlabd-loaddata

* Update gridlabd-loaddata

* Update Makefile.mk

* Add autotest for loaddata

* Update gridlabd-loaddata

* Create Loaddata.md

* Update to docs and glm output

* Add docs

* Add create_schedule tool (#1278)

* Fix setup/build/install scripts (#1282)

* Update gridlabd.h

* Update setup.cpp

* Update property.h

* Update Makefile.am

* Update Linux-ubuntu-20.sh

* Create Linux-ubuntu-22.sh

* Update Linux-ubuntu-22.sh

* Update Linux-ubuntu-20.sh

* Update Makefile.am

* Update Makefile.am

* Update README.md

* Update Makefile.am

* Update configure.ac

* Add install folder

* Update tape_plot.cpp

* Update controller.cpp

* Update tape_plot.cpp

* Create Linux-debian-11.sh

* Create debian-11.sh

* Update Linux-debian-11.sh

* Update Linux-ubuntu-20.sh

* Update Linux-ubuntu-22.sh

* Update setup.sh

* Update setup.sh

* Update README.md

* Change to GRIDLABD_ORIGIN usage

* Update setup.sh

* Add no-cache option to curl calls

* Work on fast install

* Work progress on linux install images

* Update Makefile.am

* Work progress

* Update build_number

* Work progress

* Work progress

* Work progress

* Update Linux.sh

* Update Linux.sh

* Update Linux.sh

* Update Linux.sh

* Update Darwin.sh

* Update create.sh

* Update Makefile.am

* Update setup-dev.sh

* Update Makefile.am

* Update Makefile.am

* Update Makefile.am

* Update Makefile.am

* Update version.sh

* Update requirements.py

* Update Makefile.am

* Update build_number

* Update Makefile.am

* Update Makefile.am

* Update build_number

* Update Makefile.am

* Update README.md

* Update install.sh

* Update ubuntu_22-x86_64.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Clean up root folder

* More cleanup

* Update install.sh

* Update install.sh

* Update build.sh

* Update setup.sh

* Update install.sh

* Update README.md

* Update build.sh

* Update README.md

* Update Makefile.am

* Update build_number

* Update Makefile.am

* Update ubuntu_20-x86_64.sh

* Update Makefile.am

* Create ubuntu_20.sh

* Update ubuntu_22.sh

* Update Makefile.am

* Update README.md

* Change ~/.venv/gridlabd to ~/.gridlabd

* work update

* Update version.sh

* Fix version name

* Fix macos build on ventura

* Fix additional ventura build errors

* Update ubuntu_22-x86_64.sh

* Update ubuntu_20-x86_64.sh

* Update configure.ac

* Fix python3.10-config link

* Update configure.ac

* Update Makefile.am

* Update README.md

* Work progress

* Update setup scripts

* Fix setup filename

* Update darwin_22-x86_64.sh

* Update setup.sh

* Update darwin_22-x86_64.sh

* Update darwin_22-x86_64.sh

* Update darwin_22-x86_64.sh

* Update darwin_22-x86_64.sh

* Update darwin_22-x86_64.sh

* Update darwin_22-x86_64.sh

* Update darwin_22-x86_64.sh

* Update darwin_22-x86_64.sh

* Update darwin_22-x86_64.sh

* Update darwin_22-x86_64.sh

* Update darwin_22-x86_64.sh

* Update darwin_22-x86_64.sh

* Update darwin_22-x86_64.sh

* Update frequency_gen.cpp

* Create darwin_20-x86_64.sh

* Create darwin_21-x86_64.sh

* Update ubuntu_20-x86_64.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update init.cpp

* Update install.sh

* Install script update

* Update Makefile.am

* Update Makefile.am

* Fix system target links

* Update setup scripts

* Update setup scripts

* Update scripts

* Update scripts

* Update build.sh

* Update installer

* Update .gitignore

* Delete config.cache

* Update README.md

* Remove old setup scripts

* Update README.md

* Update README.md

* Fix setup issues

* Update build and setup help and options

* Update Makefile.am

* Update README.md

* Update Linux.sh

* Update build.sh

* Update build.sh

* Changed all instances of "hipas" to "slacgismo" in preparation for transfer to LF Energy

* Update setup.sh

* Update Makefile.am

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update workflows to use new setup/build process

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Update workflows

* Fix tnt_126 warnings

* Fix tools/test_create_schedule.py

* Update .gitignore

* Update .gitignore

* Reorganize .gitignore

* Fix brackets in tnt_126 fortran headers

* Undo erroneous namespace updates

* Cosmetic updates

* Documentation updates

* Create README.md

* Update .gitignore

* D…
  • Loading branch information
15 people authored and David P. Chassin committed Jul 28, 2023
1 parent 69a175a commit 622a468
Show file tree
Hide file tree
Showing 40 changed files with 102 additions and 68 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/develop-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ jobs:
- name: Run CF invalidation
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.DEV_CF_ID }} --paths '/*'

- name: Set output
run: |
echo "VERSION=Arras Energy HiPAS GridLAB-D $(./build-aux/version.sh --version) (Developer)" >> $GITHUB_ENV
echo "TAGNAME=gridlabd/$(./build-aux/version.sh --version)-$(./build-aux/version.sh --number)-$(./build-aux/version.sh --branch)" >> $GITHUB_ENV
- name: Install Packer
run: |
wget https://releases.hashicorp.com/packer/1.7.6/packer_1.7.6_linux_amd64.zip
Expand All @@ -195,6 +200,8 @@ jobs:
-var "aws_secret_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" \
-var "aws_region=${{ secrets.AWS_REGION }}" \
-var "dev_s3_url=${{ secrets.DEV_S3_URL }}" \
-var "version=${{ env.VERSION }}" \
-var "tagname=${{ env.TAGNAME }}" \
./docker/packer/templateDevelop.pkr.hcl
buildUbuntuDockerhub:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/master-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ jobs:
- name: Run CF invalidation
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.PROD_CF_ID }} --paths '/*'

- name: Set output
run: |
echo "VERSION=Arras Energy HiPAS GridLAB-D $(./build-aux/version.sh --version)" >> $GITHUB_ENV
echo "TAGNAME=gridlabd/$(./build-aux/version.sh --version)-$(./build-aux/version.sh --number)-$(./build-aux/version.sh --branch)" >> $GITHUB_ENV
- name: Install Packer
run: |
wget https://releases.hashicorp.com/packer/1.7.6/packer_1.7.6_linux_amd64.zip
Expand All @@ -169,6 +174,8 @@ jobs:
-var "aws_secret_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" \
-var "aws_region=${{ secrets.AWS_REGION }}" \
-var "prod_s3_url=${{ secrets.PROD_S3_URL }}" \
-var "version=${{ env.VERSION }}" \
-var "tagname=${{ env.TAGNAME }}" \
./docker/packer/prod.pkr.hcl
buildUbuntuDockerhub:
Expand All @@ -184,7 +191,7 @@ jobs:
- name: Set output
run: |
echo "VERSION=$(./build-aux/version.sh --version)" >> $GITHUB_ENV
- name: Login to DockerHub
uses: docker/login-action@v1
with:
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ This is the last release of HiPAS GridLAB-D before it is transferred to LF Energ

| Repository | Build | Deploy |
| :---: | :---: | :---: |
| [GridLAB-D](https://github.com/slacgismo/gridlabd) | ![master](https://github.com/slacgismo/gridlabd/actions/workflows/master.yml/badge.svg?branch=master) ![develop](https://github.com/slacgismo/gridlabd/workflows/develop/badge.svg?branch=develop) | [![master-images](https://github.com/slacgismo/gridlabd/actions/workflows/master-image.yml/badge.svg)](https://github.com/slacgismo/gridlabd/actions/workflows/master-image.yml) [![develop-images](https://github.com/slacgismo/gridlabd/actions/workflows/develop-image.yml/badge.svg)](https://github.com/slacgismo/gridlabd/actions/workflows/develop-image.yml) |
| [Templates](https://github.com/slacgismo/gridlabd-template) | [![master](https://github.com/slacgismo/gridlabd-template/actions/workflows/master.yml/badge.svg)](https://github.com/slacgismo/gridlabd-template/actions/workflows/master.yml) [![develop](https://github.com/slacgismo/gridlabd-template/actions/workflows/develop.yml/badge.svg)](https://github.com/slacgismo/gridlabd-template/actions/workflows/develop.yml)
| [Weather](https://github.com/slacgismo/gridlabd-weather) | [![validate](https://github.com/slacgismo/gridlabd-weather/actions/workflows/validate.yml/badge.svg)](https://github.com/slacgismo/gridlabd-weather/actions/workflows/validate.yml)
| [Library](https://github.com/slacgismo/gridlabd-library) | [![validate](https://github.com/slacgismo/gridlabd-library/actions/workflows/master.yml/badge.svg)](https://github.com/slacgismo/gridlabd-library/actions/workflows/master.yml) [![validate](https://github.com/slacgismo/gridlabd-library/actions/workflows/develop.yml/badge.svg)](https://github.com/slacgismo/gridlabd-library/actions/workflows/develop.yml)
| [Models](https://github.com/slacgismo/gridlabd-models) | [![validate](https://github.com/slacgismo/gridlabd-models/actions/workflows/validate.yml/badge.svg)](https://github.com/slacgismo/gridlabd-models/actions/workflows/validate.yml)
| [Benchmarks](https://github.com/slacgismo/gridlabd-benchmarks) | Manual test (see [README.md](https://github.com/slacgismo/gridlabd-benchmarks/blob/main/README.md))
| [Examples](https://github.com/slacgismo/gridlabd-examples) | Manual test (see [README.md](https://github.com/slacgismo/gridlabd-examples/blob/master/README.md))
| [GridLAB-D](https://github.com/arras-energy/gridlabd) | ![master](https://github.com/arras-energy/gridlabd/actions/workflows/master.yml/badge.svg?branch=master) ![develop](https://github.com/arras-energy/gridlabd/workflows/develop/badge.svg?branch=develop) | [![master-images](https://github.com/arras-energy/gridlabd/actions/workflows/master-image.yml/badge.svg)](https://github.com/arras-energy/gridlabd/actions/workflows/master-image.yml) [![develop-images](https://github.com/arras-energy/gridlabd/actions/workflows/develop-image.yml/badge.svg)](https://github.com/arras-energy/gridlabd/actions/workflows/develop-image.yml) |
| [Templates](https://github.com/arras-energy/gridlabd-template) | [![master](https://github.com/arras-energy/gridlabd-template/actions/workflows/master.yml/badge.svg)](https://github.com/arras-energy/gridlabd-template/actions/workflows/master.yml) [![develop](https://github.com/arras-energy/gridlabd-template/actions/workflows/develop.yml/badge.svg)](https://github.com/arras-energy/gridlabd-template/actions/workflows/develop.yml)
| [Weather](https://github.com/arras-energy/gridlabd-weather) | [![validate](https://github.com/arras-energy/gridlabd-weather/actions/workflows/validate.yml/badge.svg)](https://github.com/arras-energy/gridlabd-weather/actions/workflows/validate.yml)
| [Library](https://github.com/arras-energy/gridlabd-library) | [![validate](https://github.com/arras-energy/gridlabd-library/actions/workflows/master.yml/badge.svg)](https://github.com/arras-energy/gridlabd-library/actions/workflows/master.yml) [![validate](https://github.com/arras-energy/gridlabd-library/actions/workflows/develop.yml/badge.svg)](https://github.com/arras-energy/gridlabd-library/actions/workflows/develop.yml)
| [Models](https://github.com/arras-energy/gridlabd-models) | [![validate](https://github.com/arras-energy/gridlabd-models/actions/workflows/validate.yml/badge.svg)](https://github.com/arras-energy/gridlabd-models/actions/workflows/validate.yml)
| [Benchmarks](https://github.com/arras-energy/gridlabd-benchmarks) | Manual test (see [README.md](https://github.com/arras-energy/gridlabd-benchmarks/blob/main/README.md))
| [Examples](https://github.com/arras-energy/gridlabd-examples) | Manual test (see [README.md](https://github.com/arras-energy/gridlabd-examples/blob/master/README.md))


The documentation for this project is located at http://docs.gridlabd.us/.
Expand All @@ -25,18 +25,18 @@ This respository contains the source code to HiPAS GridLAB-D, which is being dev

# Quick start using Docker

The preferred method for running HiPAS GridLAB-D is to download the master image from docker hub (see https://hub.docker.com/repository/docker/slacgismo/gridlabd). You must install the docker daemon to use docker images. See https://www.docker.com/get-started for details.
The preferred method for running HiPAS GridLAB-D is to download the master image from docker hub (see https://hub.docker.com/repository/docker/arras-energy/gridlabd). You must install the docker daemon to use docker images. See https://www.docker.com/get-started for details.

Once you have installed docker, you may issue the following commands to run GridLAB-D at the command line:

~~~
docker run -it -v $PWD:/model slacgismo/gridlabd:latest gridlabd -W /model [LOADOPTIONS] [FILENAME.EXT] [RUNOPTIONS]
docker run -it -v $PWD:/model arras-energy/gridlabd:latest gridlabd -W /model [LOADOPTIONS] [FILENAME.EXT] [RUNOPTIONS]
~~~

On many systems, an alias can be used to make this a simple command that resembles the command you would normally issue to run a host-based installation:

~~~
alias gridlabd='docker run -it -v $PWD:/tmp slacgismo/gridlabd:latest gridlabd'
alias gridlabd='docker run -it -v $PWD:/tmp arras-energy/gridlabd:latest gridlabd'
~~~

Note that this alias will interfere with any host-based installation. You may use the `gridlabd docker` command to manage the use of docker images concurrently with host-based installations.
Expand Down Expand Up @@ -103,7 +103,7 @@ If you want to clone an alternate repository, use the following `git` command in
git clone https://github.com/ORG/REPO [-b BRANCH] gridlabd
~~~

If you do not specify the `--local` then by default the `setup.sh` source will match the `git` repository origin and branch if any. Otherwise the default source will be `slacgismo/gridlabd/master`. If you want to setup from a different origin, use the command `export GRIDLABD_ORIGIN=ORG/REPO/BRANCH` to specify an alternate source for `setup.sh`. The `build.sh` will also match the current `git` repository.
If you do not specify the `--local` then by default the `setup.sh` source will match the `git` repository origin and branch if any. Otherwise the default source will be `arras-energy/gridlabd/master`. If you want to setup from a different origin, use the command `export GRIDLABD_ORIGIN=ORG/REPO/BRANCH` to specify an alternate source for `setup.sh`. The `build.sh` will also match the current `git` repository.

*Do not* run the `setup.sh` and `build.sh` scripts with `sudo`, as that will usually create a broken install. If necessary, you should give yourself permission to write `/usr/local` and `brew`'s install folder. If you have not already done so, add `brew` to your path.

Expand Down
2 changes: 1 addition & 1 deletion autotest/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Autotest

This folder contains the DOE taxonomy feeder tests of GridLAB-D's powerflow solver. For more information on the feeder models, see https://github.com/slacgismo/gridlabd-models.
This folder contains the DOE taxonomy feeder tests of GridLAB-D's powerflow solver. For more information on the feeder models, see https://github.com/arras-energy/gridlabd-models.

To run a validation test using this folder on, run the command `gridlabd -W autotest -T 0 --validate`.
2 changes: 1 addition & 1 deletion build-aux/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
## --python the python version, e.g., 3.10
## --parse INSTALL parses an install name into its constituents
## --docker the docker tag name, e.g., 4.3.1-230701-master-ubuntu_22-x86_64
## --origin the origin of the source code, e.g., slacgismo/gridlabd/master
## --origin the origin of the source code, e.g., arras-energy/gridlabd/master
##
## This file is used by autoconf to generate the version string.
## It is assumed that this script is run from the top-level srcdir.
Expand Down
2 changes: 1 addition & 1 deletion cloud/servers/version.gridlabd.us/install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# EC2 server build script
#
# See github:/slacgismo/gridlabd/cloud/servers/version.gridlabd.us/README.md for details
# See github:/arras-energy/gridlabd/cloud/servers/version.gridlabd.us/README.md for details

#
# Clone gridlabd
Expand Down
4 changes: 2 additions & 2 deletions cloud/websites/docs.gridlabd.us/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<HTML>
<HEAD>
<META HTTP-EQUIV="refresh" CONTENT="0,url=http://docs.gridlabd.us/index.html?owner=slacgismo&project=gridlabd" />
<META HTTP-EQUIV="refresh" CONTENT="0,url=http://docs.gridlabd.us/index.html?owner=arras-energy&project=gridlabd" />
</HEAD>
<BODY>
Redirecting to <A HREF="http://docs.gridlabd.us/index.html?owner=slacgismo&project=gridlabd">http://docs.slacgismo.org/index.html?owner=slacgismo&project=gridlabd</A>...
Redirecting to <A HREF="http://docs.gridlabd.us/index.html?owner=arras-energy&project=gridlabd">http://docs.arras-energy.org/index.html?owner=arras-energy&project=gridlabd</A>...
</BODY>
</HTML>
2 changes: 1 addition & 1 deletion cloud/websites/geodata.gridlabd.us/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<HTML>
<HEAD>
<META HTTP-EQUIV="refresh" CONTENT="0;URL=https://docs.gridlabd.us/index.html?owner=slacgismo&project=gridlabd&branch=master&folder=/Subcommand&doc=/Subcommand/Geodata.md">
<META HTTP-EQUIV="refresh" CONTENT="0;URL=https://docs.gridlabd.us/index.html?owner=arras-energy&project=gridlabd&branch=master&folder=/Subcommand&doc=/Subcommand/Geodata.md">
</HEAD>
<BODY>
Redirecting...
Expand Down
2 changes: 1 addition & 1 deletion cloud/websites/status.gridlabd.us/active.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@

start = new Date(prompt("Enter report start date (yyyy-mm-dd): ",stop.getFullYear() + "-" + (stop.getMonth()+1) + "-01"));

r = run_query("/repos/slacgismo/gridlabd/issues?state=open&per_page=100&sort=updated&direction=asc&since="+start+"T00:00:00Z");
r = run_query("/repos/arras-energy/gridlabd/issues?state=open&per_page=100&sort=updated&direction=asc&since="+start+"T00:00:00Z");
item_number = 1;
if ( r.status == 200 )
{
Expand Down
2 changes: 1 addition & 1 deletion cloud/websites/status.gridlabd.us/issues-open.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
set_default("token",token);
}

r = run_query("/repos/slacgismo/gridlabd/issues?state=open&per_page=100&sort=updated&direction=desc");
r = run_query("/repos/arras-energy/gridlabd/issues?state=open&per_page=100&sort=updated&direction=desc");
if ( r.status == 200 )
{
report = "GridLAB-D Open Issues as of " + stop.getFullYear() + "-" + (stop.getMonth()+1) + "-" + stop.getDate() + "\n";
Expand Down
2 changes: 1 addition & 1 deletion cloud/websites/status.gridlabd.us/pulls-closed.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@

start = new Date(prompt("Enter report start date (yyyy-mm-dd): ",stop.getFullYear() + "-" + (stop.getMonth()+1) + "-01"));

r = run_query("/repos/slacgismo/gridlabd/pulls?state=closed&per_page=100&sort=updated&direction=desc");
r = run_query("/repos/arras-energy/gridlabd/pulls?state=closed&per_page=100&sort=updated&direction=desc");
if ( r.status == 200 )
{
report = "GridLAB-D Pull Requests Completed for period " + start.getFullYear() + "-" + (start.getMonth()+1) + "-" + start.getDate() + " - " + stop.getFullYear() + "-" + (stop.getMonth()+1) + "-" + stop.getDate() + "\n";
Expand Down
2 changes: 1 addition & 1 deletion cloud/websites/status.gridlabd.us/pulls-open.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
set_default("token",token);
}

r = run_query("/repos/slacgismo/gridlabd/pulls?state=open&per_page=100&sort=updated&direction=desc");
r = run_query("/repos/arras-energy/gridlabd/pulls?state=open&per_page=100&sort=updated&direction=desc");
if ( r.status == 200 )
{
report = "GridLAB-D Open Pull Requests as of " + stop.getFullYear() + "-" + (stop.getMonth()+1) + "-" + stop.getDate() + "\n";
Expand Down
2 changes: 1 addition & 1 deletion converters/json2html.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def get_popup(name,tag):
label = item.title().replace("_","&nbsp;")
try:
module = data['classes'][value]['module']
value = f'<A TARGET="_blank" HREF="https://docs.gridlabd.us/index.html?owner=slacgismo&project=gridlabd&branch=master&folder=/Module/Powerflow&doc=/Module/{module.title()}/{value.title()}.md">{value}</A>'
value = f'<A TARGET="_blank" HREF="https://docs.gridlabd.us/index.html?owner=arras-energy&project=gridlabd&branch=master&folder=/Module/Powerflow&doc=/Module/{module.title()}/{value.title()}.md">{value}</A>'
except:
pass
popup += f'<TR><TH>{label}</TH><TD>&nbsp;</TD><TD>{value}</TD></TR>\n'
Expand Down
4 changes: 2 additions & 2 deletions docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## performed first
##
## --release Release the resulting image as the latest version of
## slacgismo/gridlabd. The master branch is released
## arras-energy/gridlabd. The master branch is released
## as 'latest'. Otherwise the branch name is used as the tag name.
##
error () { echo "ERROR [docker/build.sh]: $*" ; exit 1; }
Expand Down Expand Up @@ -54,7 +54,7 @@ if [ "$DOLATEST" = "yes" ]; then
if [ "$BRANCH" = "master" ]; then
BRANCH="latest"
fi
IMAGE="slacgismo/gridlabd-$(build-aux/version.sh --machine)"
IMAGE="arras-energy/gridlabd-$(build-aux/version.sh --machine)"
docker tag "$NAME:$TAG" "$IMAGE:$BRANCH" || error "tag latest failed"
if [ "$DOPUSH" = "yes" ]; then
docker push "$IMAGE:$BRANCH" || error "push latest failed"
Expand Down
14 changes: 12 additions & 2 deletions docker/packer/prod.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,22 @@ variable "prod_s3_url" {
description = "S3 bucket URL"
}

variable "version" {
type = string
description = "GridLAB-D Version"
}

variable "tagname" {
type = string
description = "GridLAB-D Full Version Tag Name"
}

source "amazon-ebs" "ubuntu-22-04" {
source_ami = "ami-014d05e6b24240371"
region = var.aws_region
instance_type = "t2.micro"
ssh_username = "ubuntu"
ami_name = "HiPAS Gridlabd Ubuntu 22.04 {{timestamp}}"
ami_name = var.version
ami_groups = ["all"] // This will make the AMI publicly available

launch_block_device_mappings {
Expand All @@ -44,7 +54,7 @@ source "amazon-ebs" "ubuntu-22-04" {
}

tags = {
Name = "HiPAS Gridlabd Ubuntu 22.04 {{timestamp}}"
Name = var.tagname
CreatedBy = "Packer"
Environment = "Prod"
}
Expand Down
14 changes: 12 additions & 2 deletions docker/packer/templateDevelop.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,22 @@ variable "dev_s3_url" {
description = "S3 bucket URL"
}

variable "version" {
type = string
description = "GridLAB-D Version"
}

variable "tagname" {
type = string
description = "GridLAB-D Full Version Tag Name"
}

source "amazon-ebs" "ubuntu-22-04" {
source_ami = "ami-014d05e6b24240371"
region = var.aws_region
instance_type = "t2.micro"
ssh_username = "ubuntu"
ami_name = "HiPAS Gridlabd Ubuntu Develop 22.04 {{timestamp}}"
ami_name = var.version

launch_block_device_mappings {
device_name = "/dev/sda1"
Expand All @@ -43,7 +53,7 @@ source "amazon-ebs" "ubuntu-22-04" {
}

tags = {
Name = "HiPAS Gridlabd Ubuntu Develop 22.04 {{timestamp}}"
Name = var.tagname
CreatedBy = "Packer"
Environment = "Dev"
}
Expand Down
4 changes: 2 additions & 2 deletions docs/Cloud/GithubActions.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
simulate:
runs-on: ubuntu-latest
container: slacgismo/gridlabd:master
container: arras-energy/gridlabd:master
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
simulate:
runs-on: ubuntu-latest
container: slacgismo/gridlabd:master
container: arras-energy/gridlabd:master
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions docs/Getting Started.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
The preferred method for running GridLAB-D is using [Docker](www.docker.org). Once you have installed Docker, you can run GridLAB-D as follows.

~~~
bash% docker run -it slacgismo/gridlabd:latest gridlabd <filename>
bash% docker run -it arras-energy/gridlabd:latest gridlabd <filename>
~~~

where `<filename` is the name of the model file in the container that you wish to run.

If you wish to access the files in the current folder while running GridLAB-D in a container, then use the command

~~~
bash% docker run -vit $PWD:$PWD slacgismo/gridlabd:latest gridlabd -W $PWD <filename>
bash% docker run -vit $PWD:$PWD arras-energy/gridlabd:latest gridlabd -W $PWD <filename>
~~~

More information on using GridLAB-D docker containers can be found at [[/Install/Docker]].
Loading

0 comments on commit 622a468

Please sign in to comment.