openstudio-workflow 2.3.1 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -1
  3. data/README.md +1 -1
  4. data/Rakefile +5 -0
  5. data/lib/openstudio/workflow/adapters/input/local.rb +36 -55
  6. data/lib/openstudio/workflow/adapters/output/local.rb +2 -32
  7. data/lib/openstudio/workflow/adapters/output/socket.rb +2 -32
  8. data/lib/openstudio/workflow/adapters/output/web.rb +2 -32
  9. data/lib/openstudio/workflow/adapters/output_adapter.rb +2 -32
  10. data/lib/openstudio/workflow/job.rb +2 -32
  11. data/lib/openstudio/workflow/jobs/resources/monthly_report.idf +210 -208
  12. data/lib/openstudio/workflow/jobs/run_energyplus.rb +2 -32
  13. data/lib/openstudio/workflow/jobs/run_ep_measures.rb +2 -32
  14. data/lib/openstudio/workflow/jobs/run_initialization.rb +2 -32
  15. data/lib/openstudio/workflow/jobs/run_os_measures.rb +2 -32
  16. data/lib/openstudio/workflow/jobs/run_postprocess.rb +2 -32
  17. data/lib/openstudio/workflow/jobs/run_preprocess.rb +2 -32
  18. data/lib/openstudio/workflow/jobs/run_reporting_measures.rb +2 -32
  19. data/lib/openstudio/workflow/jobs/run_translation.rb +2 -32
  20. data/lib/openstudio/workflow/multi_delegator.rb +2 -32
  21. data/lib/openstudio/workflow/registry.rb +3 -33
  22. data/lib/openstudio/workflow/run.rb +2 -32
  23. data/lib/openstudio/workflow/time_logger.rb +2 -32
  24. data/lib/openstudio/workflow/util/energyplus.rb +226 -254
  25. data/lib/openstudio/workflow/util/io.rb +2 -32
  26. data/lib/openstudio/workflow/util/measure.rb +5 -35
  27. data/lib/openstudio/workflow/util/model.rb +2 -32
  28. data/lib/openstudio/workflow/util/post_process.rb +2 -32
  29. data/lib/openstudio/workflow/util/weather_file.rb +2 -32
  30. data/lib/openstudio/workflow/util.rb +2 -32
  31. data/lib/openstudio/workflow/version.rb +3 -33
  32. data/lib/openstudio/workflow_json.rb +2 -32
  33. data/lib/openstudio/workflow_runner.rb +2 -32
  34. data/lib/openstudio-workflow.rb +2 -32
  35. metadata +15 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbb63da4231bd9af7637e0cbca0080f29a348b0bc2ea7988785775a585f946ed
4
- data.tar.gz: aab20ab9eda5320da30211af54e309368bd791b500b508a7ff6783ee20a99e0c
3
+ metadata.gz: 57a8b060b2ee8548f8185fe626bc758c8d2b01d8c99c5a8d742c57dd973ed448
4
+ data.tar.gz: fea01b4bd2848ef8237114debbcfd6357722649f95eaa5dd9420a7d9c7a538af
5
5
  SHA512:
6
- metadata.gz: fe997e27a8e82a3ad66d672b4d76c02b449c27a151780c52b5e6f06d94b58097dd29932dca8927284b33dda79cf4216e616fb9a5d8fa2f98fba71e2f02196ca1
7
- data.tar.gz: 248121557204007e6ad2d7f740e6457bea71af30b239be90c979a92a458d4ceb53cd2fbf5120564e44ab754aee87ef9bca63b9acc68642ee5a91100627387873
6
+ metadata.gz: ba881db05e3a38b0190a0b7f4d03b95d3064a821f42a1dad975bef1d321c1fd76f439acfb77ac706b7f31141934636aeb73431bab6a8e71219cebf0306822c62
7
+ data.tar.gz: f6b29a2fd46bc4ca4536a663c42b2e0b68f970f9f6f4847f658503cda7f0a7140f4497157221374ae9e29d753d4b6ef232b3a7f9dafaf2e44b35a249c1d008be
data/CHANGELOG.md CHANGED
@@ -1,9 +1,13 @@
1
1
  OpenStudio::Workflow Change Log
2
2
  ==================================
3
3
 
4
+ Version 2.4.0
5
+ -------------
6
+ * Minimum Ruby version upgraded to 3.2.2
7
+
4
8
  Version 2.3.1
5
9
  -------------
6
- * Forward tranlsation when !@run_options.get.forwardTranslateOptions().empty?
10
+ * Forward translation when !@run_options.get.forwardTranslateOptions().empty?
7
11
 
8
12
  Version 2.3.0
9
13
  -------------
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Dependency Status](https://www.versioneye.com/user/projects/5531fb7b10e714121100102e/badge.svg?style=flat)](https://www.versioneye.com/user/projects/5531fb7b10e714121100102e)
4
4
 
5
- ## OpenStudio Workflow Gem
5
+ ## OpenStudio(R) Workflow Gem
6
6
 
7
7
  This branch is the development branch for the OpenStudio workflow gem.
8
8
  ## Installation
data/Rakefile CHANGED
@@ -1,5 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # *******************************************************************************
4
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
5
+ # See also https://openstudio.net/license
6
+ # *******************************************************************************
7
+
3
8
  require 'bundler'
4
9
  Bundler.setup
5
10
 
@@ -1,38 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # *******************************************************************************
4
- # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
5
- # All rights reserved.
6
- # Redistribution and use in source and binary forms, with or without
7
- # modification, are permitted provided that the following conditions are met:
8
- #
9
- # (1) Redistributions of source code must retain the above copyright notice,
10
- # this list of conditions and the following disclaimer.
11
- #
12
- # (2) Redistributions in binary form must reproduce the above copyright notice,
13
- # this list of conditions and the following disclaimer in the documentation
14
- # and/or other materials provided with the distribution.
15
- #
16
- # (3) Neither the name of the copyright holder nor the names of any contributors
17
- # may be used to endorse or promote products derived from this software without
18
- # specific prior written permission from the respective party.
19
- #
20
- # (4) Other than as required in clauses (1) and (2), distributions in any form
21
- # of modifications or other derivative works may not use the "OpenStudio"
22
- # trademark, "OS", "os", or any other confusingly similar designation without
23
- # specific prior written permission from Alliance for Sustainable Energy, LLC.
24
- #
25
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28
- # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES
29
- # GOVERNMENT, OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
30
- # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31
- # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
32
- # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
33
- # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
34
- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
35
- # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
5
+ # See also https://openstudio.net/license
36
6
  # *******************************************************************************
37
7
 
38
8
  require 'openstudio/workflow_json'
@@ -339,9 +309,40 @@ module OpenStudio
339
309
  no_space_translation: { method_name: :setExcludeSpaceTranslation, min_version: os330 }
340
310
  }
341
311
 
342
- # user option trumps all others
312
+ ft_opts = {}
313
+
314
+ # try to read from OSW
315
+ if @run_options.is_initialized
316
+ ftOpts = ""
317
+ if @run_options.get.respond_to?(:forwardTranslatorOptions)
318
+ # 3.6.0 and above. It still defines forwardTranslateOptions for
319
+ # backward compatibility but trying to avoid a Warn in the log
320
+ ftOpts = @run_options.get.forwardTranslatorOptions().string()
321
+ elsif @run_options.get.respond_to?(:forwardTranslateOptions)
322
+ ftOpts = @run_options.get.forwardTranslateOptions()
323
+ end
324
+ if !ftOpts.empty?
325
+ jsonOpts = JSON.parse(ftOpts, symbolize_names: true)
326
+
327
+ jsonOpts.each do |opt_flag_name, opt_flag|
328
+ unless known_ft_opts.key?(opt_flag_name)
329
+ log_message = "'ft_options' suboption '#{opt_flag_name}' is not recognized, ignoring it."
330
+ logger.warn log_message
331
+ next
332
+ end
333
+ min_version = known_ft_opts[opt_flag_name.to_sym][:min_version]
334
+ if !min_version.nil? && os_version < min_version
335
+ log_message = "'ft_options' suboption '#{opt_flag_name}' is only supported for OpenStudio Version >= #{min_version.str}, ignoring it."
336
+ logger.warn log_message
337
+ next
338
+ end
339
+ ft_opts[opt_flag_name] = { method_name: known_ft_opts[opt_flag_name][:method_name], value: opt_flag }
340
+ end
341
+ end
342
+ end
343
+
344
+ # user option trumps all others, so do it last
343
345
  if user_options[:ft_options]
344
- ft_opts = {}
345
346
  user_options[:ft_options].each do |opt_flag_name, opt_flag|
346
347
  puts "#{opt_flag_name} = #{opt_flag}"
347
348
  unless known_ft_opts.key?(opt_flag_name)
@@ -357,29 +358,9 @@ module OpenStudio
357
358
  end
358
359
  ft_opts[opt_flag_name] = { method_name: known_ft_opts[opt_flag_name][:method_name], value: opt_flag }
359
360
  end
360
-
361
- return ft_opts
362
361
  end
363
362
 
364
- # try to read from OSW
365
-
366
- if @run_options.is_initialized && @run_options.get.respond_to?(:forwardTranslateOptions) && !@run_options.get.forwardTranslateOptions().empty?
367
- ft_opts = {}
368
- JSON.parse(@run_options.get.forwardTranslateOptions, symbolize_names: true).each do |opt_flag_name, opt_flag|
369
- unless known_ft_opts.key?(opt_flag_name)
370
- log_message = "'ft_options' suboption '#{opt_flag_name}' is not recognized, ignoring it."
371
- logger.warn log_message
372
- next
373
- end
374
- min_version = known_ft_opts[opt_flag_name.to_sym][:min_version]
375
- if !min_version.nil? && os_version < min_version
376
- log_message = "'ft_options' suboption '#{opt_flag_name}' is only supported for OpenStudio Version >= #{min_version.str}, ignoring it."
377
- logger.warn log_message
378
- next
379
- end
380
- ft_opts[opt_flag_name] = { method_name: known_ft_opts[opt_flag_name][:method_name], value: opt_flag }
381
- end
382
-
363
+ if !ft_opts.empty?
383
364
  return ft_opts
384
365
  end
385
366
 
@@ -1,38 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # *******************************************************************************
4
- # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
5
- # All rights reserved.
6
- # Redistribution and use in source and binary forms, with or without
7
- # modification, are permitted provided that the following conditions are met:
8
- #
9
- # (1) Redistributions of source code must retain the above copyright notice,
10
- # this list of conditions and the following disclaimer.
11
- #
12
- # (2) Redistributions in binary form must reproduce the above copyright notice,
13
- # this list of conditions and the following disclaimer in the documentation
14
- # and/or other materials provided with the distribution.
15
- #
16
- # (3) Neither the name of the copyright holder nor the names of any contributors
17
- # may be used to endorse or promote products derived from this software without
18
- # specific prior written permission from the respective party.
19
- #
20
- # (4) Other than as required in clauses (1) and (2), distributions in any form
21
- # of modifications or other derivative works may not use the "OpenStudio"
22
- # trademark, "OS", "os", or any other confusingly similar designation without
23
- # specific prior written permission from Alliance for Sustainable Energy, LLC.
24
- #
25
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28
- # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES
29
- # GOVERNMENT, OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
30
- # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31
- # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
32
- # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
33
- # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
34
- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
35
- # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
5
+ # See also https://openstudio.net/license
36
6
  # *******************************************************************************
37
7
 
38
8
  require 'openstudio/workflow/adapters/output_adapter'
@@ -1,38 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # *******************************************************************************
4
- # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
5
- # All rights reserved.
6
- # Redistribution and use in source and binary forms, with or without
7
- # modification, are permitted provided that the following conditions are met:
8
- #
9
- # (1) Redistributions of source code must retain the above copyright notice,
10
- # this list of conditions and the following disclaimer.
11
- #
12
- # (2) Redistributions in binary form must reproduce the above copyright notice,
13
- # this list of conditions and the following disclaimer in the documentation
14
- # and/or other materials provided with the distribution.
15
- #
16
- # (3) Neither the name of the copyright holder nor the names of any contributors
17
- # may be used to endorse or promote products derived from this software without
18
- # specific prior written permission from the respective party.
19
- #
20
- # (4) Other than as required in clauses (1) and (2), distributions in any form
21
- # of modifications or other derivative works may not use the "OpenStudio"
22
- # trademark, "OS", "os", or any other confusingly similar designation without
23
- # specific prior written permission from Alliance for Sustainable Energy, LLC.
24
- #
25
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28
- # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES
29
- # GOVERNMENT, OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
30
- # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31
- # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
32
- # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
33
- # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
34
- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
35
- # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
5
+ # See also https://openstudio.net/license
36
6
  # *******************************************************************************
37
7
 
38
8
  require_relative 'local'
@@ -1,38 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # *******************************************************************************
4
- # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
5
- # All rights reserved.
6
- # Redistribution and use in source and binary forms, with or without
7
- # modification, are permitted provided that the following conditions are met:
8
- #
9
- # (1) Redistributions of source code must retain the above copyright notice,
10
- # this list of conditions and the following disclaimer.
11
- #
12
- # (2) Redistributions in binary form must reproduce the above copyright notice,
13
- # this list of conditions and the following disclaimer in the documentation
14
- # and/or other materials provided with the distribution.
15
- #
16
- # (3) Neither the name of the copyright holder nor the names of any contributors
17
- # may be used to endorse or promote products derived from this software without
18
- # specific prior written permission from the respective party.
19
- #
20
- # (4) Other than as required in clauses (1) and (2), distributions in any form
21
- # of modifications or other derivative works may not use the "OpenStudio"
22
- # trademark, "OS", "os", or any other confusingly similar designation without
23
- # specific prior written permission from Alliance for Sustainable Energy, LLC.
24
- #
25
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28
- # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES
29
- # GOVERNMENT, OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
30
- # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31
- # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
32
- # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
33
- # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
34
- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
35
- # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
5
+ # See also https://openstudio.net/license
36
6
  # *******************************************************************************
37
7
 
38
8
  require_relative 'local'
@@ -1,38 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # *******************************************************************************
4
- # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
5
- # All rights reserved.
6
- # Redistribution and use in source and binary forms, with or without
7
- # modification, are permitted provided that the following conditions are met:
8
- #
9
- # (1) Redistributions of source code must retain the above copyright notice,
10
- # this list of conditions and the following disclaimer.
11
- #
12
- # (2) Redistributions in binary form must reproduce the above copyright notice,
13
- # this list of conditions and the following disclaimer in the documentation
14
- # and/or other materials provided with the distribution.
15
- #
16
- # (3) Neither the name of the copyright holder nor the names of any contributors
17
- # may be used to endorse or promote products derived from this software without
18
- # specific prior written permission from the respective party.
19
- #
20
- # (4) Other than as required in clauses (1) and (2), distributions in any form
21
- # of modifications or other derivative works may not use the "OpenStudio"
22
- # trademark, "OS", "os", or any other confusingly similar designation without
23
- # specific prior written permission from Alliance for Sustainable Energy, LLC.
24
- #
25
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28
- # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES
29
- # GOVERNMENT, OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
30
- # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31
- # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
32
- # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
33
- # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
34
- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
35
- # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
5
+ # See also https://openstudio.net/license
36
6
  # *******************************************************************************
37
7
 
38
8
  module OpenStudio
@@ -1,38 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # *******************************************************************************
4
- # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
5
- # All rights reserved.
6
- # Redistribution and use in source and binary forms, with or without
7
- # modification, are permitted provided that the following conditions are met:
8
- #
9
- # (1) Redistributions of source code must retain the above copyright notice,
10
- # this list of conditions and the following disclaimer.
11
- #
12
- # (2) Redistributions in binary form must reproduce the above copyright notice,
13
- # this list of conditions and the following disclaimer in the documentation
14
- # and/or other materials provided with the distribution.
15
- #
16
- # (3) Neither the name of the copyright holder nor the names of any contributors
17
- # may be used to endorse or promote products derived from this software without
18
- # specific prior written permission from the respective party.
19
- #
20
- # (4) Other than as required in clauses (1) and (2), distributions in any form
21
- # of modifications or other derivative works may not use the "OpenStudio"
22
- # trademark, "OS", "os", or any other confusingly similar designation without
23
- # specific prior written permission from Alliance for Sustainable Energy, LLC.
24
- #
25
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28
- # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, THE UNITED STATES
29
- # GOVERNMENT, OR ANY CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
30
- # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31
- # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
32
- # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
33
- # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
34
- # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
35
- # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4
+ # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
5
+ # See also https://openstudio.net/license
36
6
  # *******************************************************************************
37
7
 
38
8
  module OpenStudio