honeybee-openstudio 2.38.1 → 2.38.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d04fd58c3ab084205c76c6e4654a87cc099e3e2111c990526ab8f2fb10a8dab4
4
- data.tar.gz: d1ce742b2bee14bde20a74a2ca0b2b993e05c1f5245f629df67acd6b56a82c17
3
+ metadata.gz: 442c8aa4274ac13d16351b5dabe23eb51649a9948c3d6b65d34ff63807d27afe
4
+ data.tar.gz: ecc978397d71705ae9c87b85384533c2d7d9b0b1732357de8d06610011284c00
5
5
  SHA512:
6
- metadata.gz: 9cd89e0258f78ebe6ba246ea545151b49136a575ca13ef7b51b70f3be4cb65788b8a070187210c4d228c9dd71acd48a10085c78d15e42b5cfecc89f6a3f3694c
7
- data.tar.gz: c9f8af283615b4c66ba379359545c5b41f4e0e208058b04f51d94617d0c92b31a4be740a59007d31b36d89308e9d864417e25db6b08dc583dfa2041635a0692c
6
+ metadata.gz: 50190abacb231e1d39ac4c80e4d90d889e97ea1369edcbc8cc5130162916b922cc972cf0218d0a99bf4a4e242b65e7a0ea0826b91295adbb24b5fda179997aa5
7
+ data.tar.gz: dbcd7a1cd8668934b040bf737f7bc86b2474d1d6a4fb78d85b64550aaf574690b25a1e7bf81ce477ae937bcd58f907fd8f3eb39765a1cd32a8ae124a66483cf9
@@ -15,8 +15,8 @@ jobs:
15
15
  run: |
16
16
  echo $(pwd)
17
17
  echo $(ls)
18
- docker pull nrel/openstudio:3.6.1
19
- docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.6.1
18
+ docker pull nrel/openstudio:3.7.0
19
+ docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.7.0
20
20
  docker exec -t test pwd
21
21
  docker exec -t test ls
22
22
  docker exec -t test bundle update
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'honeybee-openstudio'
7
- spec.version = '2.38.1'
7
+ spec.version = '2.38.2'
8
8
  spec.authors = ['Tanushree Charan', 'Dan Macumber', 'Chris Mackey', 'Mostapha Sadeghipour Roudsari']
9
9
  spec.email = ['tanushree.charan@nrel.gov', 'chris@ladybug.tools']
10
10
 
@@ -3,7 +3,7 @@
3
3
  "servers": [],
4
4
  "info": {
5
5
  "description": "Honeybee simulation-parameter schema.",
6
- "version": "1.54.0",
6
+ "version": "1.57.1",
7
7
  "title": "Honeybee Simulation Parameter Schema",
8
8
  "contact": {
9
9
  "name": "Ladybug Tools",
@@ -919,6 +919,12 @@
919
919
  "title": "Building Type",
920
920
  "description": "Text for the building type to be used in the efficiency_standard. If the type is not recognized or is None, it will be assumed that the building is a generic NonResidential. The following have specified systems per the standard: Residential, NonResidential, MidriseApartment, HighriseApartment, LargeOffice, MediumOffice, SmallOffice, Retail, StripMall, PrimarySchool, SecondarySchool, SmallHotel, LargeHotel, Hospital, Outpatient, Warehouse, SuperMarket, FullServiceRestaurant, QuickServiceRestaurant, Laboratory, Courthouse.",
921
921
  "type": "string"
922
+ },
923
+ "bypass_efficiency_sizing": {
924
+ "title": "Bypass Efficiency Sizing",
925
+ "description": "A boolean to indicate whether the efficiency standard should trigger an sizing run that sets the efficiencies of all HVAC equipment in the Model (False) or the standard should only be written into the OSM and the sizing run should be bypassed (True). Bypassing the sizing run is useful when you only want to check that the overall HVAC system architecture is correct and you do not want to wait the extra time that it takes to run the sizing calculation.",
926
+ "default": false,
927
+ "type": "boolean"
922
928
  }
923
929
  },
924
930
  "additionalProperties": false
@@ -161,7 +161,7 @@ class FromHoneybeeModel < OpenStudio::Measure::ModelMeasure
161
161
 
162
162
  # if an efficiency standard has been set on the model, then run sizing and set everything
163
163
  building = model.getBuilding
164
- unless building.standardsTemplate.empty?
164
+ unless $bypass_eff_sizing == true || building.standardsTemplate.empty?
165
165
  puts 'Autosizing HVAC systems and assigning efficiencies'
166
166
  standard_id = building.standardsTemplate.get
167
167
  require 'openstudio-standards'
@@ -50,6 +50,7 @@ module Honeybee
50
50
  def to_openstudio_model(openstudio_model=nil, log_report=false)
51
51
  @errors = []
52
52
  @warnings = []
53
+ $bypass_eff_sizing = false # default value to bypass efficiency standard
53
54
 
54
55
  if log_report
55
56
  puts 'Starting SimulationParameter translation from Honeybee to OpenStudio'
@@ -252,6 +253,9 @@ module Honeybee
252
253
  building = @openstudio_model.getBuilding
253
254
  building.setStandardsBuildingType(@hash[:sizing_parameter][:building_type])
254
255
  end
256
+ unless @hash[:sizing_parameter][:bypass_efficiency_sizing].nil?
257
+ $bypass_eff_sizing = @hash[:sizing_parameter][:bypass_efficiency_sizing]
258
+ end
255
259
  end
256
260
 
257
261
  # set defaults for the simulation output
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybee-openstudio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.38.1
4
+ version: 2.38.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanushree Charan
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2024-01-12 00:00:00.000000000 Z
14
+ date: 2024-02-23 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json_pure