openstudio-analysis 1.3.6 → 1.4.0
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 +65 -40
- data/.gitignore +21 -21
- data/.rubocop.yml +9 -9
- data/CHANGELOG.md +278 -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 +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3a924d83d69de21676bcf3231cfb4dd1490bac543775d19ff2681b95c7c6629
|
4
|
+
data.tar.gz: b026ed470a103fd7211ecab29412b89fcbfef76dee7af2d21f5ccf66c431dbce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86df02da3bf13f5c2a7eabadae7f3b6fd6535895e1248701821a70ad33dbfd785421997bab1068771b9b813bdaa58adc083ad6a4d8a14c1bd60f92c75293fb1f
|
7
|
+
data.tar.gz: e21fd89b4861d5de4e96b1bef9be796a8555ba174d2bbfd6ac48d900ee37f489a5b75f69873ce31fa07210400c64f0429f03d1f93e1c6e36779df7c91bf724ae
|
@@ -1,40 +1,65 @@
|
|
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
|
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.3.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"
|
41
|
+
ubuntu-2204: # ruby 3.2 workflow in 22.04
|
42
|
+
runs-on: ubuntu-22.04
|
43
|
+
steps:
|
44
|
+
- name: Check out repository
|
45
|
+
uses: actions/checkout@v4
|
46
|
+
- name: Install Ruby
|
47
|
+
uses: ruby/setup-ruby@v1
|
48
|
+
with:
|
49
|
+
ruby-version: '3.2'
|
50
|
+
- name: Display system info
|
51
|
+
run: |
|
52
|
+
ruby --version
|
53
|
+
docker --version
|
54
|
+
docker-compose --version
|
55
|
+
- name: Start OpenStudio for testing Server API
|
56
|
+
run: |
|
57
|
+
echo "Not yet implemented"
|
58
|
+
- name: Run tests in Docker
|
59
|
+
env:
|
60
|
+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
61
|
+
run: |
|
62
|
+
docker run -e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \
|
63
|
+
-v $(pwd):/var/simdata/openstudio \
|
64
|
+
nrel/openstudio:develop \
|
65
|
+
/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
|