Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major varchar buffers #15

Open
wants to merge 126 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
fb10cae
Add varchar property type
Aug 25, 2020
8f0dc59
Replace char{8,32,256,1024} with varchar
Aug 26, 2020
f0b2381
Fix globals to use varchar where possible
Aug 26, 2020
74db3d6
Add varchar_create
Aug 26, 2020
aefd582
Fix problem with varchar vformat()
Aug 26, 2020
05cbd94
Fix varchar compares
Aug 27, 2020
528dd32
Update compare.cpp
Aug 28, 2020
1f8c3e4
Update version.h
Aug 28, 2020
4f27ca2
Update gridlabd.in
Aug 30, 2020
ea45d4d
Update version.h
Aug 30, 2020
59c29f2
Update comparison operation implementation
Aug 31, 2020
ce43e0b
Update version.h
Aug 31, 2020
fe976f9
Update test_assert.glm
Aug 31, 2020
9a195c9
Remove gldcore (again)
Apr 11, 2022
958bdbe
Update version.h
Apr 11, 2022
ee8629d
Change version to 4.3.1 (chiba-1) and fix resulting autotest errors
Apr 12, 2022
4ffbd77
Add Windows gridlabd.bat to README
dchassin Apr 12, 2022
aeb9857
Fixing typo in cooling_cop units (#1152)
aivanova5 Apr 15, 2022
16d534f
Add support for module template folder (#1159)
dchassin Apr 29, 2022
03b3248
Update gridlabd-geodata (#1153)
dchassin Apr 29, 2022
facbf47
Remove deprecated variables (#1151)
dchassin Apr 29, 2022
b50fc70
Add missing powerflow switch autotests (#1156)
dchassin Apr 29, 2022
2a9c869
Change slacgismo to hipas (#1155)
dchassin Apr 30, 2022
c19240e
Fix build folder (#1154)
dchassin Apr 30, 2022
7ffa3e0
Update main.cpp (#1147)
dchassin Apr 30, 2022
31d9379
Add powerflow violation detection (#1164)
dchassin May 6, 2022
3b091ba
Update gridlabd-version (#1166)
dchassin May 6, 2022
d8c2946
Add support for spidacalc equipment (#1160)
May 7, 2022
74bef95
Add service_level flag to powerflow meters (#1162)
dchassin May 10, 2022
0541dc1
Fix python solver (#1058)
dchassin May 13, 2022
fe9142c
Fix voltage violation detection implementation errors (#1170)
dchassin May 13, 2022
b46c7d8
Update nsrdb_weather.py (#1168)
dchassin May 13, 2022
f930e95
Add fire danger tool (#1146)
dchassin May 13, 2022
a988ff3
Update gridlabd-version
dchassin May 14, 2022
7843a8c
Add fire incident report tool (#1143)
dchassin May 16, 2022
90b3b0d
Update gridlabd-version
May 17, 2022
80b3340
Update gridlabd-version
May 17, 2022
bdac9b9
Merge branch 'develop-fix-origin' into develop-fix-version
May 17, 2022
7e7ffc7
Develop fix voltage violation detection (#1173)
dchassin May 18, 2022
2ef9678
Merge branch 'develop-fix-version' into develop
May 18, 2022
ca4f5c0
Update Dockerfile
May 19, 2022
c843890
Update load.cpp (#1177)
dchassin May 23, 2022
8073bde
Add missing default fuse replacement time (#1176)
dchassin May 23, 2022
f6e6283
Fix copyright dates/info on splash screen
dchassin Jun 5, 2022
c1a85ea
Update version number in docs
Jun 8, 2022
f381f00
Update json2md.py
Jun 9, 2022
c68a4f1
Update load.cpp
dchassin Jun 11, 2022
a9c8f36
Update market documentation
dchassin Jun 12, 2022
d9a808d
Update node.cpp
Jun 14, 2022
8e6f3ae
Add support for reverse geocode (#1182)
dchassin Jun 14, 2022
cc3579d
Add airport lookup (#1181)
dchassin Jun 14, 2022
b4b91e0
Merge pull request #1184 from slacgismo/develop-fix-node-violation-de…
johnsonhsiung Jun 14, 2022
f8dcd35
Add meteostat tool (#1180)
dchassin Jun 15, 2022
87db41a
Add session 1 tutorials (#1185)
dchassin Jun 17, 2022
06b8cfe
Update and rename Datetime.md to Timestamp.md
dchassin Jun 22, 2022
924cdfc
Update load.cpp
dchassin Jun 25, 2022
3fa358c
Merge branch 'develop' of https://github.com/slacgismo/gridlabd into …
dchassin Jun 25, 2022
1370daa
Fix meteostat autotest
Jun 25, 2022
8618e47
Update load.cpp
dchassin Jun 26, 2022
eca272d
Merge branch 'develop' of https://github.com/slacgismo/gridlabd into …
dchassin Jun 26, 2022
6d6e8f1
Update object.cpp
dchassin Jul 9, 2022
ba2a737
Update gridlabd-template
dchassin Jul 10, 2022
a813e00
Update gridlabd-template
dchassin Jul 10, 2022
b3e1d6f
Create README.md
dchassin Jul 11, 2022
773e00c
Fix meteostat autotest
Jul 11, 2022
e740291
Update gridlabd-template
dchassin Jul 12, 2022
61a4b67
Stop meteostat instability from causing autotest failures
Jul 13, 2022
ceb9fe1
Fix class event handlers (#1192)
dchassin Aug 1, 2022
0ebaf45
Add xlsx-workbook2csv-table converter (#1191)
dchassin Aug 1, 2022
7ff72cc
Add 'read_dlp' tool (#1188)
dchassin Aug 1, 2022
c105322
Add setup for version.gridlabd.us server (#1178)
dchassin Aug 1, 2022
44b59ed
Update library.csv
Aug 1, 2022
9fc5a19
Update gridlabd-template
Aug 5, 2022
7fd5239
Fix node undervoltage violation limit (#1199)
dchassin Aug 6, 2022
9586c15
Update python.cpp
dchassin Aug 6, 2022
6b18b2e
Update object.cpp
dchassin Aug 6, 2022
18b13fd
Fix sprintf vulnerabilities (#1195)
dchassin Aug 9, 2022
7415ff4
Enhance pole analysis (#1186)
Sep 7, 2022
3dfda09
Update Meter.md (#1207)
aivanova5 Sep 15, 2022
c04241b
Updating docker image base (#1208)
aivanova5 Sep 20, 2022
3016194
Update requirements.txt (#1209)
aivanova5 Sep 23, 2022
40c2ef7
Develop fix template load errors (#1215)
aivanova5 Oct 26, 2022
4f092e9
Update README.md (#1217)
dchassin Nov 4, 2022
bea1ac7
Fix deferred initialization in python on_init event handlers (#1219)
dchassin Nov 6, 2022
9a91fb9
Update README.md
dchassin Nov 9, 2022
ebdbfe6
Update LICENSE
dchassin Nov 10, 2022
3cdedd1
Fiona requirements.py update (#1222)
aivanova5 Nov 11, 2022
558fa7c
Fix json error in version output (#1223)
dchassin Nov 14, 2022
204d59e
Fix tmy32glm (#1229)
dchassin Dec 3, 2022
cff9084
Add gridlabd-model subcommand (#1230)
dchassin Dec 4, 2022
4f8e3a9
Add create_meters tool (#1226)
dchassin Dec 4, 2022
06c92d6
Fix 'gridlabd help' command output
dchassin Dec 22, 2022
7fb2e96
Pole module fixes for validation (#1221)
aivanova5 Dec 23, 2022
336ca01
Fix subcommand and tool help data
dchassin Dec 23, 2022
e3622a5
Update fit_filter.py
dchassin Dec 23, 2022
2f0faab
Update gridlabd-job
dchassin Dec 23, 2022
10d5da7
Fix json save (#1235)
dchassin Jan 4, 2023
5cb5edd
Add support for fast install (#1017)
dchassin Jan 7, 2023
675cbb1
Merge branch 'develop' into develop-fix-help
aivanova5 Jan 7, 2023
b905c0d
Update load.cpp (#1239)
dchassin Jan 17, 2023
3b7e215
Add install tool (#1237)
dchassin Jan 18, 2023
a1587c4
Update cmdarg.cpp (#1211)
dchassin Jan 19, 2023
d59aa2e
Develop update dockerbase (#1245)
aivanova5 Jan 20, 2023
fef3403
Revert "Merge branch 'develop' into develop-fix-help"
aivanova5 Jan 21, 2023
99cb76a
Bump ipython from 7.31.1 to 8.10.0 in /module/resilience/docs (#1249)
dependabot[bot] Mar 9, 2023
9c611e4
Merge branch 'develop' into develop-fix-help
aivanova5 Mar 9, 2023
2eec9a3
Fix ICA violation test speed issues (#1183)
dchassin Mar 10, 2023
9f68226
Merge branch 'develop' of https://github.com/slacgismo/gridlabd into …
aivanova5 Mar 10, 2023
ea828ab
Fix error message when branch is not found in repo (#1214)
dchassin Mar 11, 2023
9094a88
Resetting to develop-add-ductbank branch due to merge issues (#1254)
aivanova5 Mar 11, 2023
3b680ac
Develop add aws install (#1255)
aivanova5 Mar 11, 2023
b22f00d
Restoring missing commits (#1256)
aivanova5 Mar 11, 2023
67e5af7
Add ductbank thermal model (#1257)
aivanova5 Mar 11, 2023
7bb0fb6
Update vegetation geodata package to include contact (#1205)
xwang78su Mar 11, 2023
0eeae6a
Updating documentation to reflect config.csv converter use (#1259)
aivanova5 Mar 17, 2023
b1a643a
Add json2glm converter options to ignore the clock (#1233)
aivanova5 Mar 17, 2023
844be9c
Add cyme converter (#1204)
xiefuhong Mar 31, 2023
c8ea945
Develop implement venv (#1253)
Thistleman Apr 11, 2023
045d10a
Update python.cpp (#1261)
dchassin Apr 11, 2023
15231e5
Update unitfile.txt (#1263)
dchassin Apr 11, 2023
abe531b
Fix issue with CYME converter for CYME 9 Rev 6 MDB files (#1271)
MitchellAV Apr 11, 2023
cc8b4ea
Fixing test_datasets.glm (#1267)
aivanova5 Apr 11, 2023
0ba8b23
Update README.md
dchassin Apr 14, 2023
e2d8be5
Update user manuals (#862)
dchassin Apr 15, 2023
8bc1df1
Fix date/time handling in create_players tool (#1236)
aivanova5 Apr 15, 2023
723abd2
Merge branch 'develop' into major-fix-char-buffers
dchassin Apr 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 18 additions & 9 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,32 @@ jobs:
build:

runs-on: ubuntu-latest
container: slacgismo/gridlabd_dockerhub_base:220322
container: hipas/gridlabd-venv:develop

steps:
- uses: actions/checkout@v2
- name: Update python3 modules
run: pip3 install -r requirements.txt

# this is to fix GIT not liking owner of the checkout dir
- name: Set ownership
run: |
chown -R $(id -u):$(id -g) $PWD

- name: Update pip
run: python3 -m pip install --upgrade pip

- name: install gridlabd
run: |
autoreconf -isf
./configure
make -j$(($(nproc)*3)) system

- name: Install openfido
run: curl -sL https://raw.githubusercontent.com/openfido/cli/main/install.sh | bash
- name: Run autoconf
run: autoreconf -isf
- name: Configure build
run: ./configure
- name: Build gridlabd
run: make -j10 system

- name: Validate build
run: |
gridlabd -D keep_progress=TRUE -T 0 --validate -D github_actions=yes || ( utilities/save_validation_errors ; false )

- name: Upload artifacts on failure
uses: actions/upload-artifact@v2
if: failure()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:

runs-on: ubuntu-latest
container: slacgismo/gridlabd_dockerhub_base:220322
container: hipas/gridlabd_base:220921

steps:
- uses: actions/checkout@v2
Expand Down
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ m4/lt-obsolete.m4
source/build.h
source/config.h.in~
gridlabd.bin
install/
third_party/xerces*/*
third_party/armadillo-7.800.1.tar.gz
third_party/mysql-connector-c-6.1.11-linux-glibc2.12-x86_64.tar.gz
Expand Down Expand Up @@ -188,3 +187,11 @@ python/dist/*.tar.gz
python/gridlabd.egg-info/
gridlabd.egg-*
module/resilience/docs/output.csv
module/powerflow/autotest/controller_1.csv
module/powerflow/autotest/switch_1.csv
module/powerflow/autotest/switch_2.csv
module/powerflow/autotest/switch_3.csv
module/powerflow/autotest/switch_4.csv
tools/autotest/test_meteostat_opt.csv
tools/autotest/test_meteostat_opt.glm
cloud/websites/install.gridlabd.us/validate*.tarz
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ _Note_: When a merge is performed, the PR is automatically closed and the branch

## Documentation changes

All documentation changes arising from new features and capabilities should be made to this repository's wiki pages at https://github.com/slacgismo/gridlabd/wiki. Fixes or correction to GridLAB-D's online documentation should be made to https://gridlab-d.shoutwiki.org/, subject to review and approval by the PNNL team.
All documentation changes arising from new features and capabilities should be made to this repository's wiki pages at https://source.gridlabd.us/wiki. Fixes or correction to GridLAB-D's online documentation should be made to https://gridlab-d.shoutwiki.org/, subject to review and approval by the PNNL team.

# Coding Conventions

Expand Down
235 changes: 29 additions & 206 deletions LICENSE

Large diffs are not rendered by default.

23 changes: 13 additions & 10 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ $(scratchdir)/pkg: distdir # $(scratchdir)/.xerces.stamp
test ! -e $@ || rm -rf $@
test -d $@/source || mkdir -p $@/source
cd $(distdir) && $(PWD)/configure && make install DESTDIR=$(CURDIR)/$@/source
cd $@ && mkdir -p climate-data/usr/local/lib/gridlabd devel/usr/local/lib/gridlabd # libxerces-c/usr/lib
mv $@/source/usr/local/include $@/devel/usr/local/include
mv $@/source/usr/local/lib/gridlabd/*.la $@/devel/usr/local/lib/gridlabd/
cd $@ && mkdir -p climate-data/$(exec_prefix)/lib/gridlabd devel/$(exec_prefix)/lib/gridlabd # libxerces-c/usr/lib
mv $@/source/$(exec_prefix)/include $@/devel/$(exec_prefix)/include
mv $@/source/$(exec_prefix)/lib/gridlabd/*.la $@/devel/$(exec_prefix)/lib/gridlabd/
$(am__remove_distdir)

$(scratchdir)/$(PACKAGE_TARNAME).mpkg: $(scratchdir)/pkg
Expand Down Expand Up @@ -291,18 +291,18 @@ install-exec-hook: index python-requirements docs
@echo "Install complete. Here are some useful commands now:"
@echo ""
@echo "To include this version in your command path:"
@echo " export PATH=$(DESTDIR)$(bindir):$$PATH"
@echo " export PATH='$(DESTDIR)$(bindir):$$PATH'"
@echo ""
@echo "To run this version directly without using the command path:"
@echo " $(DESTDIR)$(bindir)/gridlabd"
@echo ""
@echo "To make this version the default for all users on this system:"
@echo " $(DESTDIR)$(bindir)/gridlabd version set"
@echo " $(DESTDIR)$(bindir)/gridlabd version set $(shell basename $(exec_prefix))"
@echo ""

python-requirements: $(python_requirements)
@echo "Updating python requirements..."
@python3 -m pip install -q -r $(subst $(subst ,, ), -r ,$(python_requirements))
@$(bindir)/pkgenv/bin/python3 -m pip install -q -r $(subst $(subst ,, ), -r ,$(python_requirements))

reconfigure: distclean
autoreconf -isf && $(PWD)/configure --quiet
Expand All @@ -325,7 +325,7 @@ $(PREFIX)/docker.img: docker/Dockerfile Makefile
system: python-install install
@echo "Setting $$($(top_srcdir)/build-aux/version.sh --install) to the current system version"
# @$(DESTDIR)$(bindir)/gridlabd docker disable > /dev/null
@$(DESTDIR)$(bindir)/gridlabd version set
@$(DESTDIR)$(bindir)/gridlabd version set $(shell basename $(exec_prefix))
@if [ ! "$$(gridlabd --version=install)" == "$$($(top_srcdir)/build-aux/version.sh --install)" ]; then \
echo 'WARNING : build and install versions differ; run `make reconfigure` to fix this problem'; \
fi
Expand All @@ -350,7 +350,10 @@ troubleshooting-html:
@(cd $(top_srcdir) ; gawk -f utilities/troubleshooting.awk */*.cpp > $(top_srcdir)/documents/html/troubleshooting/index.html )

documents/gridlabd.pdf: documents/gridlabd.glm
(cd documents ; gridlabd gridlabd.glm)
pandoc -V geometry:landscape documents/gridlabd.md -o documents/gridlabd.pdf
(cd documents ; $(DESTDIR)$(bindir)/gridlabd gridlabd.glm | echo "WARNING: unable to update documents/gridlabd.pdf")
test -f documents/gridlabd.md && pandoc -V geometry:landscape documents/gridlabd.md -o documents/gridlabd.pdf

docs: $(docs_targets)
docs: $(docs_targets) # documents/gridlabd.pdf

docs_toc:
utilities/regen_toc >'docs/User manual/0 - Cover/1 - Contents.md'
Loading