openstudio-analysis 1.3.6 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/openstudio-analysis.yml +40 -40
- data/.gitignore +21 -21
- data/.rubocop.yml +9 -9
- data/CHANGELOG.md +274 -269
- data/Gemfile +14 -14
- data/README.md +102 -102
- data/Rakefile +40 -40
- data/lib/openstudio/analysis/algorithm_attributes.rb +47 -47
- data/lib/openstudio/analysis/formulation.rb +881 -857
- data/lib/openstudio/analysis/server_api.rb +862 -862
- data/lib/openstudio/analysis/server_scripts.rb +108 -108
- data/lib/openstudio/analysis/support_files.rb +104 -104
- data/lib/openstudio/analysis/translator/datapoints.rb +454 -454
- data/lib/openstudio/analysis/translator/excel.rb +893 -893
- data/lib/openstudio/analysis/translator/workflow.rb +143 -143
- data/lib/openstudio/analysis/version.rb +12 -12
- data/lib/openstudio/analysis/workflow.rb +302 -279
- data/lib/openstudio/analysis/workflow_step.rb +523 -523
- data/lib/openstudio/analysis.rb +144 -144
- data/lib/openstudio/helpers/hash.rb +10 -10
- data/lib/openstudio/helpers/string.rb +36 -36
- data/lib/openstudio/helpers/utils.rb +36 -36
- data/lib/openstudio/weather/epw.rb +178 -178
- data/lib/openstudio-analysis.rb +47 -47
- data/openstudio-analysis.gemspec +38 -38
- data/update_license.rb +60 -60
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e02ddfed034d22644f57f829611644aa06fb15122511288f2fa5657912c74b7
|
4
|
+
data.tar.gz: dd20b2f87b2c3e09dbc02691958456b953f6a9076ac273ba392c5b7e4f6ef2ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4db14ed5e381e1c4a0b3f22b8f866e219d263c0a3d7bde13a2eb8a080807baae23eb06383509fb8721fabbb1bb598a112f614ccd43465610684527b696024d50
|
7
|
+
data.tar.gz: 6f72189583fa3b4c2057c383011e702273de5711df310fef3f7068952037f23bd4f092e049470899f90f35eef2af224aab034c7e824775b802fea542ab55c111
|
@@ -1,40 +1,40 @@
|
|
1
|
-
name: openstudio-analysis-gem
|
2
|
-
|
3
|
-
on: [push, pull_request]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
ubuntu-1804: # ruby 2.5 workflow
|
7
|
-
if: github.event.pull_request.base.ref == '1.1.X-LTS' # check target branch of pr
|
8
|
-
runs-on: ubuntu-18.04
|
9
|
-
steps:
|
10
|
-
- name: Check out repository
|
11
|
-
uses: actions/checkout@
|
12
|
-
- name: ruby-install
|
13
|
-
shell: bash
|
14
|
-
run: "sudo apt install -y ruby && ruby -v" # ruby anye tests here when ready
|
15
|
-
ubuntu-2004: # ruby 2.7 workflow
|
16
|
-
if: github.event.pull_request.base.ref != '1.1.X-LTS' # check target branch of pr
|
17
|
-
runs-on: ubuntu-20.04
|
18
|
-
steps:
|
19
|
-
-
|
20
|
-
name: Check out repository
|
21
|
-
uses: actions/checkout@
|
22
|
-
-
|
23
|
-
name: Display system info
|
24
|
-
run: |
|
25
|
-
ruby --version
|
26
|
-
docker --version
|
27
|
-
docker-compose --version
|
28
|
-
-
|
29
|
-
name: Start OpenStudio for testing Server API
|
30
|
-
run: |
|
31
|
-
echo "Not yet implemented"
|
32
|
-
-
|
33
|
-
name: Run tests in Docker
|
34
|
-
env:
|
35
|
-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
36
|
-
run: |
|
37
|
-
docker run -e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \
|
38
|
-
-v $(pwd):/var/simdata/openstudio \
|
39
|
-
nrel/openstudio:
|
40
|
-
/bin/bash -c "bundle install && bundle exec rake"
|
1
|
+
name: openstudio-analysis-gem
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
ubuntu-1804: # ruby 2.5 workflow
|
7
|
+
if: github.event.pull_request.base.ref == '1.1.X-LTS' # check target branch of pr
|
8
|
+
runs-on: ubuntu-18.04
|
9
|
+
steps:
|
10
|
+
- name: Check out repository
|
11
|
+
uses: actions/checkout@v4
|
12
|
+
- name: ruby-install
|
13
|
+
shell: bash
|
14
|
+
run: "sudo apt install -y ruby && ruby -v" # ruby anye tests here when ready
|
15
|
+
ubuntu-2004: # ruby 2.7 workflow
|
16
|
+
if: github.event.pull_request.base.ref != '1.1.X-LTS' # check target branch of pr
|
17
|
+
runs-on: ubuntu-20.04
|
18
|
+
steps:
|
19
|
+
-
|
20
|
+
name: Check out repository
|
21
|
+
uses: actions/checkout@v4
|
22
|
+
-
|
23
|
+
name: Display system info
|
24
|
+
run: |
|
25
|
+
ruby --version
|
26
|
+
docker --version
|
27
|
+
docker-compose --version
|
28
|
+
-
|
29
|
+
name: Start OpenStudio for testing Server API
|
30
|
+
run: |
|
31
|
+
echo "Not yet implemented"
|
32
|
+
-
|
33
|
+
name: Run tests in Docker
|
34
|
+
env:
|
35
|
+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
36
|
+
run: |
|
37
|
+
docker run -e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \
|
38
|
+
-v $(pwd):/var/simdata/openstudio \
|
39
|
+
nrel/openstudio:3.7.0 \
|
40
|
+
/bin/bash -c "bundle install && bundle exec rake"
|
data/.gitignore
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
.DS_Store
|
2
|
-
.bundle
|
3
|
-
.idea
|
4
|
-
.ruby-version
|
5
|
-
*.swp
|
6
|
-
*.gem
|
7
|
-
~$*
|
8
|
-
.rubocop-http*
|
9
|
-
tmp/*
|
10
|
-
.yardoc
|
11
|
-
doc/
|
12
|
-
Gemfile.lock
|
13
|
-
/spec/files/analysis/*.zip
|
14
|
-
/spec/files/export
|
15
|
-
/spec/reports
|
16
|
-
/spec/files/analysis/*.json
|
17
|
-
/*.log
|
18
|
-
spec/files/measures/ActualMeasureNoJson/measure.json
|
19
|
-
rubocop-results.xml
|
20
|
-
coverage
|
21
|
-
/gems
|
1
|
+
.DS_Store
|
2
|
+
.bundle
|
3
|
+
.idea
|
4
|
+
.ruby-version
|
5
|
+
*.swp
|
6
|
+
*.gem
|
7
|
+
~$*
|
8
|
+
.rubocop-http*
|
9
|
+
tmp/*
|
10
|
+
.yardoc
|
11
|
+
doc/
|
12
|
+
Gemfile.lock
|
13
|
+
/spec/files/analysis/*.zip
|
14
|
+
/spec/files/export
|
15
|
+
/spec/reports
|
16
|
+
/spec/files/analysis/*.json
|
17
|
+
/*.log
|
18
|
+
spec/files/measures/ActualMeasureNoJson/measure.json
|
19
|
+
rubocop-results.xml
|
20
|
+
coverage
|
21
|
+
/gems
|
data/.rubocop.yml
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
AllCops:
|
2
|
-
Exclude:
|
3
|
-
- 'spec/files/measures/**/*'
|
4
|
-
- 'spec/files/measures_second_path/**/*'
|
5
|
-
- 'spec/files/worker_init/*'
|
6
|
-
- 'update_license.rb'
|
7
|
-
|
8
|
-
inherit_from:
|
9
|
-
- http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v3.yml
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- 'spec/files/measures/**/*'
|
4
|
+
- 'spec/files/measures_second_path/**/*'
|
5
|
+
- 'spec/files/worker_init/*'
|
6
|
+
- 'update_license.rb'
|
7
|
+
|
8
|
+
inherit_from:
|
9
|
+
- http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v3.yml
|