openstudio-analysis 1.0.0.rc19 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.gitlab-ci.yml +20 -0
  4. data/.rubocop.yml +2 -133
  5. data/.travis.yml +2 -2
  6. data/CHANGELOG.md +6 -32
  7. data/Gemfile +9 -6
  8. data/README.md +15 -7
  9. data/Rakefile +38 -3
  10. data/lib/openstudio-analysis.rb +35 -0
  11. data/lib/openstudio/analysis.rb +35 -0
  12. data/lib/openstudio/analysis/algorithm_attributes.rb +36 -1
  13. data/lib/openstudio/analysis/formulation.rb +41 -6
  14. data/lib/openstudio/analysis/server_api.rb +46 -23
  15. data/lib/openstudio/analysis/support_files.rb +40 -0
  16. data/lib/openstudio/analysis/translator/datapoints.rb +39 -4
  17. data/lib/openstudio/analysis/translator/excel.rb +43 -8
  18. data/lib/openstudio/analysis/translator/workflow.rb +49 -5
  19. data/lib/openstudio/analysis/version.rb +36 -1
  20. data/lib/openstudio/analysis/workflow.rb +37 -2
  21. data/lib/openstudio/analysis/workflow_step.rb +35 -0
  22. data/lib/openstudio/helpers/hash.rb +35 -0
  23. data/lib/openstudio/helpers/string.rb +36 -2
  24. data/lib/openstudio/weather/epw.rb +31 -16
  25. data/openstudio-analysis.gemspec +4 -4
  26. data/spec/files/0_3_7_worker_init_final.xlsx +0 -0
  27. data/spec/files/analysis/examples/medium_office_example.json +2 -1
  28. data/spec/files/worker_init/second_file.sh +4 -0
  29. data/spec/integration/server_api_spec.rb +35 -0
  30. data/spec/openstudio/excel_spec.rb +36 -1
  31. data/spec/openstudio/formulation_spec.rb +46 -3
  32. data/spec/openstudio/hash_spec.rb +37 -2
  33. data/spec/openstudio/osw_spec.rb +37 -2
  34. data/spec/openstudio/server_api_spec.rb +43 -0
  35. data/spec/openstudio/string_spec.rb +34 -0
  36. data/spec/openstudio/support_files_spec.rb +39 -4
  37. data/spec/openstudio/weather_spec.rb +35 -0
  38. data/spec/openstudio/workflow_spec.rb +36 -1
  39. data/spec/openstudio/workflow_step_spec.rb +46 -6
  40. data/spec/spec_helper.rb +4 -2
  41. data/update_license.rb +119 -0
  42. metadata +29 -28
  43. data/rubocop-todo.yml +0 -246
  44. data/spec/files/worker_init/second_file.rb +0 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d9c20421f78a32d9fbfb9709c2640a57f5e012cc
4
- data.tar.gz: a87f714e74143979dde36b3f4710551ba866f91c
3
+ metadata.gz: 06d3c96c3060a4b3c38b3a71ce868bdd77e81de8
4
+ data.tar.gz: ac9f3cb8d26c95d533be4f3bffe3fddc58d5f0fd
5
5
  SHA512:
6
- metadata.gz: 794269c64d78465a8a741dd566e5be506168cdd3a6a5625891cb6ec1da9e9b1c14dce43be4f8fe9c7b2b092058fc02d3f3cd4b3609707f31cfba055e51fb8669
7
- data.tar.gz: b123ae96f3b587a8ab726234596122b396eb353fb2f542042bbfe74fe98539da1685b3e0476d79c736b04338f9de3b8139706f8439f0c529a5807391ba48742d
6
+ metadata.gz: b7e98970c92beb469d3b4e3d6198cb79bc2ce63e20c7d13c1541a5afa78cb2ee1873fb43d5776703fa43be8f9ec6f763c2c82b2a5b67575b0ba6f6f2ccc412ed
7
+ data.tar.gz: 074efcb873df6e3233dd80129260d5b0007c871732e983bf780e2b35e6ef66e4cac8969f55cb742512ba6b440b0c3c59483d98299339ac55ed515d41ddbc4200
data/.gitignore CHANGED
@@ -5,6 +5,7 @@
5
5
  *.swp
6
6
  *.gem
7
7
  ~$*
8
+ .rubocop-https*
8
9
  tmp/*
9
10
  .yardoc
10
11
  doc/
data/.gitlab-ci.yml ADDED
@@ -0,0 +1,20 @@
1
+ test:windows:
2
+ stage: test
3
+ tags:
4
+ - windows
5
+ script:
6
+ - bundle exec rake
7
+
8
+ test:mac:
9
+ stage: test
10
+ tags:
11
+ - mac
12
+ script:
13
+ - bundle exec rake
14
+
15
+ test:ubuntu:
16
+ stage: test
17
+ tags:
18
+ - ubuntu
19
+ script:
20
+ - bundle exec rake
data/.rubocop.yml CHANGED
@@ -4,136 +4,5 @@ AllCops:
4
4
  - 'spec/files/measures_second_path/**/*'
5
5
  - 'spec/files/worker_init/*'
6
6
 
7
- # ==================== Linters ====================
8
- Lint/AmbiguousOperator:
9
- Enabled: true
10
-
11
- Lint/BlockAlignment:
12
- Enabled: true
13
-
14
- Lint/ParenthesesAsGroupedExpression:
15
- Enabled: true
16
-
17
- Lint/RequireParentheses:
18
- Enabled: true
19
-
20
- Lint/UnreachableCode:
21
- Enabled: false
22
-
23
- Lint/UselessAssignment:
24
- Enabled: true
25
-
26
- Lint/UnusedBlockArgument:
27
- Description: 'Checks for unused block arguments.'
28
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
29
- Enabled: false
30
-
31
- Lint/UnusedMethodArgument:
32
- Description: 'Checks for unused method arguments.'
33
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
34
- Enabled: false
35
-
36
- Lint/UselessAssignment:
37
- Description: 'Checks for useless assignment to a local variable.'
38
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
39
- Enabled: false
40
-
41
- # ==================== Performance ========================
42
-
43
- Performance/Casecmp:
44
- Enabled: false
45
-
46
- # ==================== Styles / Metrics====================
47
-
48
- Metrics/BlockNesting:
49
- Max: 4
50
-
51
- Metrics/ClassLength:
52
- Max: 500
53
-
54
- Metrics/CyclomaticComplexity:
55
- Max: 50
56
-
57
- Metrics/LineLength:
58
- Max: 120
59
-
60
- Metrics/MethodLength:
61
- Max: 350
62
-
63
- Metrics/ParameterLists:
64
- Max: 8
65
-
66
- # ==================== Disabled on Purpose ====================
67
-
68
- # Allow indented case statements
69
- # Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep.
70
- Style/CaseIndentation:
71
- Enabled: false
72
-
73
- # Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
74
- # SupportedStyles: assign_to_condition, assign_inside_condition
75
- Style/ConditionalAssignment:
76
- Enabled: false
77
-
78
- # Configuration parameters: EnforcedStyle, SupportedStyles.
79
- Style/ClassAndModuleChildren:
80
- Enabled: false
81
-
82
- Style/ClassVars:
83
- Enabled: false
84
-
85
- Style/Documentation:
86
- Enabled: false
87
-
88
- # Offense count: 1
89
- Style/EachWithObject:
90
- Enabled: false
91
-
92
- # Configuration parameters: AllowedVariables.
93
- Style/GlobalVars:
94
- Enabled: false
95
-
96
- # Configuration parameters: MinBodyLength.
97
- Style/GuardClause:
98
- Enabled: true
99
-
100
- # Configuration parameters: MaxLineLength.
101
- Style/IfUnlessModifier:
102
- Enabled: false
103
-
104
- # Configuration parameters: EnforcedStyle, SupportedStyles.
105
- # SupportedStyles: symmetrical, new_line, same_line
106
- Style/MultilineMethodCallBraceLayout:
107
- Enabled: false
108
-
109
- # Do NOT enable.
110
- # Configuration parameters: EnforcedStyle, SupportedStyles.
111
- Style/Next:
112
- Enabled: false
113
-
114
- Style/NumericLiterals:
115
- Description: 'Add underscores to large numeric literals to improve readability.'
116
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics'
117
- Enabled: false
118
-
119
- # Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
120
- # SupportedStyles: predicate, comparison
121
- Style/NumericPredicate:
122
- Enabled: false
123
-
124
- # More Changes per DLM -- pulled from https://github.com/bbatsov/rubocop/blob/master/config/enabled.yml
125
- Style/RedundantReturn:
126
- Description: 'Do not use return where it is not required.'
127
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-explicit-return'
128
- Enabled: false
129
-
130
- Style/RedundantParentheses:
131
- Enabled: false
132
-
133
- # Do NOT enable this because it appears $? is different than $CHILD_STATUS.
134
- Style/SpecialGlobalVars:
135
- Enabled: false
136
-
137
- Style/ZeroLengthPredicate:
138
- Enabled: false
139
-
7
+ inherit_from:
8
+ - https://raw.githubusercontent.com/NREL/OpenStudio-resources/develop/styles/rubocop.yml
data/.travis.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0-p451
4
- - 2.0.0-p648
3
+ - 2.2.4
4
+ - 2.4.2
data/CHANGELOG.md CHANGED
@@ -1,47 +1,24 @@
1
1
  OpenStudio Analysis Gem Change Log
2
2
  ==================================
3
3
 
4
- Version 1.0.0.rc11 (Unreleased)
5
- ------------------
4
+ Version 1.0.0
5
+ -------------
6
+ This is the first official release in quite some time. This includes many changes which unfortunately have not been
7
+ catelogued. The changes from 0.4.5 include:
8
+
9
+ * Requires ruby > 2.1.
6
10
  * Default path to ServerApi logfile to ~/os_server_api.log. This can be overridden by setting the log_path options key in the initializer.
7
11
  * Fix get_datapoint_status for new version of API where data_points are under analysis
8
-
9
- Version 1.0.0.rc10
10
- ------------------
11
12
  * Fix boolean data type in datapoints translator
12
13
  * Allow __skip__ variable in datapoints translator
13
-
14
- Version 1.0.0.rc9
15
- -----------------
16
14
  * Fix bug in batch datapoints to look for outputs_json, not outputs when importing the definition of the outputs JSON file.
17
-
18
- Version 1.0.0.rc8
19
- -----------------
20
15
  * Allow "None" as an argument in batch datapoints. This will allow the measure to be added without setting any of the arguments. Useful for adding Reporting Measures to the workflow.
21
-
22
- Version 1.0.0.rc7
23
- -----------------
24
16
  * Use more recent version of BCL gem for underscoring strings
25
-
26
- Version 1.0.0.pre.rc6
27
- ---------------------
28
17
  * When creating OSWs from batch datapoints, set the default run_directory to ./run
29
-
30
- Version 1.0.0.pre.rc5
31
- ---------------------
32
18
  * fix get_datapoint method. show_full is no longer a valid endpoint in the new server code
33
-
34
- Version 1.0.0.pre.rc4
35
- ---------------------
36
19
  * Change seed_model to seed_file in OSWs generated from the translator
37
20
  * Add more unit tests
38
-
39
- Version 1.0.0.pre.rc3
40
- ---------------------
41
21
  * Catch null arguments when translating from OSA/OSD to OSW
42
-
43
- Version 1.0.0.pre.rc2
44
- --------------------------------
45
22
  * Note that pre.rc1 was yanked from Rubygems.
46
23
  * Remove allow_multiple_jobs and server_as_worker options. These are by defaulted to true now.
47
24
  * Remove uncertain strings from end of uncertainty distributions
@@ -52,9 +29,6 @@ Version 1.0.0.pre.rc2
52
29
  * Add zip extension to formulation zip upon save if none exists
53
30
  * In upload_datapoint, allows set the analysis_id in the file to the one passed.
54
31
  * Remove reading JSON from custom_csv method.
55
-
56
- Version 1.0.0-pat2
57
- ------------------------------
58
32
  * Fixed bug in workflow translator which caused errors in server models
59
33
  * Updated gem versions to converge across the OpenStudio Analysis Framework platforms
60
34
 
data/Gemfile CHANGED
@@ -2,14 +2,17 @@ source 'http://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'openstudio-aws', '0.4.2'
6
- gem 'dencity'
7
5
  gem 'colored', '~> 1.2'
6
+ gem 'dencity'
7
+ gem 'openstudio-aws', '0.4.2'
8
8
 
9
9
  group :test do
10
- gem 'coveralls', require: false
11
- gem 'rspec', '~> 3.4'
10
+ # Don't install coveralls on window because requires devkit for json
11
+ unless Gem.win_platform?
12
+ gem 'coveralls', require: false
13
+ end
12
14
  gem 'ci_reporter_rspec'
13
- gem 'rubocop', '~> 0.31'
14
- gem 'rubocop-checkstyle_formatter', '~> 0.2'
15
+ gem 'rspec', '~> 3.4'
16
+ gem 'rubocop'
17
+ gem 'rubocop-checkstyle_formatter'
15
18
  end
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # OpenStudio Analysis Gem
2
2
 
3
- [![Build Status](https://travis-ci.org/NREL/OpenStudio-analysis-gem.svg?branch=develop)](https://travis-ci.org/NREL/OpenStudio-analysis-gem) [![Dependency Status](https://www.versioneye.com/user/projects/540a2fe5ccc023dd23000002/badge.svg?style=flat)](https://www.versioneye.com/user/projects/540a2fe5ccc023dd23000002) [![Coverage Status](https://coveralls.io/repos/NREL/OpenStudio-analysis-gem/badge.svg?branch=develop)](https://coveralls.io/r/NREL/OpenStudio-analysis-gem?branch=develop)
3
+ [![Build Status](https://travis-ci.org/NREL/OpenStudio-analysis-gem.svg?branch=develop)](https://travis-ci.org/NREL/OpenStudio-analysis-gem)
4
+ [![Coverage Status](https://coveralls.io/repos/NREL/OpenStudio-analysis-gem/badge.svg?branch=develop)](https://coveralls.io/r/NREL/OpenStudio-analysis-gem?branch=develop)
5
+ [![Gem Version](https://badge.fury.io/rb/openstudio-analysis.svg)](https://badge.fury.io/rb/openstudio-analysis)
4
6
 
5
7
  The OpenStudio Analysis Gem is used to communicate files to the OpenStudio Distributed Analysis.
6
8
 
@@ -66,15 +68,21 @@ There are two ways to create an OpenStudio Analysis description:
66
68
 
67
69
  * Server API
68
70
 
69
- ```
70
-
71
-
72
- ```
71
+ ## Testing
73
72
 
73
+ This gem used RSpec for testing. To test simply run `bundle exec rspec` at the command line.
74
74
 
75
- ## Testing
75
+ # Releasing
76
+
77
+ Follow the steps below when releasing a new version:
76
78
 
77
- This gem used RSpec for testing. To test simply run `rspec` at the command line.
79
+ 1. Update /lib/openstudio/analysis/version.rb to the next version. Make sure to follow semantic versioning.
80
+ 2. Add changes to the CHANGELOG.md.
81
+ 3. Run rubocop and make sure code meets coding standards.
82
+ 4. Push release candidate on a branch.
83
+ 5. Create a pull request to develop. Once the tests pass, merge into develop.
84
+ 6. Create a pull request to master. Once tests pass, then merge into master.
85
+ 7. Checkout master and run `rake release`
78
86
 
79
87
  # Todos
80
88
 
data/Rakefile CHANGED
@@ -1,3 +1,38 @@
1
+ # *******************************************************************************
2
+ # OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC.
3
+ # All rights reserved.
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are met:
6
+ #
7
+ # (1) Redistributions of source code must retain the above copyright notice,
8
+ # this list of conditions and the following disclaimer.
9
+ #
10
+ # (2) Redistributions in binary form must reproduce the above copyright notice,
11
+ # this list of conditions and the following disclaimer in the documentation
12
+ # and/or other materials provided with the distribution.
13
+ #
14
+ # (3) Neither the name of the copyright holder nor the names of any contributors
15
+ # may be used to endorse or promote products derived from this software without
16
+ # specific prior written permission from the respective party.
17
+ #
18
+ # (4) Other than as required in clauses (1) and (2), distributions in any form
19
+ # of modifications or other derivative works may not use the "OpenStudio"
20
+ # trademark, "OS", "os", or any other confusingly similar designation without
21
+ # specific prior written permission from Alliance for Sustainable Energy, LLC.
22
+ #
23
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24
+ # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25
+ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26
+ # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES
27
+ # GOVERNMENT, OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
28
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
30
+ # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
31
+ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
32
+ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
33
+ # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
+ # *******************************************************************************
35
+
1
36
  require 'bundler'
2
37
  Bundler.setup
3
38
 
@@ -10,12 +45,12 @@ require 'ci/reporter/rake/rspec'
10
45
  require 'bundler/gem_tasks'
11
46
 
12
47
  RSpec::Core::RakeTask.new('spec:unit') do |spec|
13
- spec.rspec_opts = %w(--format progress)
48
+ spec.rspec_opts = ['--format', 'progress']
14
49
  spec.pattern = FileList['spec/openstudio/**/*_spec.rb']
15
50
  end
16
51
 
17
52
  RSpec::Core::RakeTask.new('spec:integration') do |spec|
18
- spec.rspec_opts = %w(--format progress)
53
+ spec.rspec_opts = ['--format', 'progress']
19
54
  spec.pattern = FileList['spec/integration/**/*_spec.rb']
20
55
  end
21
56
 
@@ -27,7 +62,7 @@ task default: 'spec:unit'
27
62
  require 'rubocop/rake_task'
28
63
  desc 'Run RuboCop on the lib directory'
29
64
  RuboCop::RakeTask.new(:rubocop) do |task|
30
- task.options = ['--no-color', '--out=rubocop-results.xml']
65
+ task.options = ['--no-color', '--out=rubocop-results.xml', '--format', 'simple']
31
66
  task.formatters = ['RuboCop::Formatter::CheckstyleFormatter']
32
67
  task.requires = ['rubocop/formatter/checkstyle_formatter']
33
68
  # don't abort rake on failure
@@ -1,3 +1,38 @@
1
+ # *******************************************************************************
2
+ # OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC.
3
+ # All rights reserved.
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are met:
6
+ #
7
+ # (1) Redistributions of source code must retain the above copyright notice,
8
+ # this list of conditions and the following disclaimer.
9
+ #
10
+ # (2) Redistributions in binary form must reproduce the above copyright notice,
11
+ # this list of conditions and the following disclaimer in the documentation
12
+ # and/or other materials provided with the distribution.
13
+ #
14
+ # (3) Neither the name of the copyright holder nor the names of any contributors
15
+ # may be used to endorse or promote products derived from this software without
16
+ # specific prior written permission from the respective party.
17
+ #
18
+ # (4) Other than as required in clauses (1) and (2), distributions in any form
19
+ # of modifications or other derivative works may not use the "OpenStudio"
20
+ # trademark, "OS", "os", or any other confusingly similar designation without
21
+ # specific prior written permission from Alliance for Sustainable Energy, LLC.
22
+ #
23
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24
+ # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25
+ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26
+ # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES
27
+ # GOVERNMENT, OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
28
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
30
+ # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
31
+ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
32
+ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
33
+ # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
+ # *******************************************************************************
35
+
1
36
  # Ruby libraries to include
2
37
  require 'json'
3
38
  require 'securerandom'
@@ -1,3 +1,38 @@
1
+ # *******************************************************************************
2
+ # OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC.
3
+ # All rights reserved.
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are met:
6
+ #
7
+ # (1) Redistributions of source code must retain the above copyright notice,
8
+ # this list of conditions and the following disclaimer.
9
+ #
10
+ # (2) Redistributions in binary form must reproduce the above copyright notice,
11
+ # this list of conditions and the following disclaimer in the documentation
12
+ # and/or other materials provided with the distribution.
13
+ #
14
+ # (3) Neither the name of the copyright holder nor the names of any contributors
15
+ # may be used to endorse or promote products derived from this software without
16
+ # specific prior written permission from the respective party.
17
+ #
18
+ # (4) Other than as required in clauses (1) and (2), distributions in any form
19
+ # of modifications or other derivative works may not use the "OpenStudio"
20
+ # trademark, "OS", "os", or any other confusingly similar designation without
21
+ # specific prior written permission from Alliance for Sustainable Energy, LLC.
22
+ #
23
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24
+ # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25
+ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26
+ # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES
27
+ # GOVERNMENT, OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
28
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
30
+ # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
31
+ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
32
+ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
33
+ # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
+ # *******************************************************************************
35
+
1
36
  # OpenStudio::Analysis Module instantiates versions of formulations
2
37
  module OpenStudio
3
38
  module Analysis