diff --git a/hpxml-measures/HPXMLtoOpenStudio/measure.xml b/hpxml-measures/HPXMLtoOpenStudio/measure.xml
index d2e153625..e7aac3bcd 100644
--- a/hpxml-measures/HPXMLtoOpenStudio/measure.xml
+++ b/hpxml-measures/HPXMLtoOpenStudio/measure.xml
@@ -3,8 +3,8 @@
3.1
hpxm_lto_openstudio
b1543b30-9465-45ff-ba04-1d1f85e763bc
- 99f39280-a6e5-47aa-a0c8-9aefa26ea26c
- 2024-05-29T02:38:03Z
+ 19f754cf-2165-45e2-9387-46f301d3d453
+ 2024-05-29T18:54:28Z
D8922A73
HPXMLtoOpenStudio
HPXML to OpenStudio Translator
@@ -387,7 +387,7 @@
hvac_sizing.rb
rb
resource
- E9C68804
+ 258360CD
lighting.rb
@@ -429,7 +429,7 @@
output.rb
rb
resource
- 4E4BE5F9
+ CF115DD1
psychrometrics.rb
diff --git a/hpxml-measures/HPXMLtoOpenStudio/resources/hvac_sizing.rb b/hpxml-measures/HPXMLtoOpenStudio/resources/hvac_sizing.rb
index 159487455..fcc2c3acd 100644
--- a/hpxml-measures/HPXMLtoOpenStudio/resources/hvac_sizing.rb
+++ b/hpxml-measures/HPXMLtoOpenStudio/resources/hvac_sizing.rb
@@ -4110,7 +4110,7 @@ def self.floors(obj)
File.open(output_file_path, 'w') { |json| json.write(JSON.pretty_generate(h)) }
elsif output_format == 'msgpack'
require 'msgpack'
- File.open(output_file_path, 'w') { |json| h.to_msgpack(json) }
+ File.open(output_file_path, 'wb') { |json| h.to_msgpack(json) }
end
end
end
diff --git a/hpxml-measures/HPXMLtoOpenStudio/resources/output.rb b/hpxml-measures/HPXMLtoOpenStudio/resources/output.rb
index 9010ae6ae..cde28e52d 100644
--- a/hpxml-measures/HPXMLtoOpenStudio/resources/output.rb
+++ b/hpxml-measures/HPXMLtoOpenStudio/resources/output.rb
@@ -342,7 +342,7 @@ def self.write_results_out_to_file(results_out, output_format, output_file_path,
require 'json'
File.open(output_file_path, mode) { |json| json.write(JSON.pretty_generate(h)) }
elsif output_format == 'msgpack'
- File.open(output_file_path, mode) { |json| h.to_msgpack(json) }
+ File.open(output_file_path, "#{mode}b") { |json| h.to_msgpack(json) }
end
end
end
diff --git a/hpxml-measures/ReportSimulationOutput/measure.rb b/hpxml-measures/ReportSimulationOutput/measure.rb
index 608e8508b..e997eb657 100644
--- a/hpxml-measures/ReportSimulationOutput/measure.rb
+++ b/hpxml-measures/ReportSimulationOutput/measure.rb
@@ -1832,7 +1832,7 @@ def report_timeseries_output_results(runner, outputs, timeseries_output_path, ar
require 'json'
File.open(timeseries_output_path, 'w') { |json| json.write(JSON.pretty_generate(h)) }
elsif args[:output_format] == 'msgpack'
- File.open(timeseries_output_path, 'w') { |json| h.to_msgpack(json) }
+ File.open(timeseries_output_path, 'wb') { |json| h.to_msgpack(json) }
end
end
runner.registerInfo("Wrote timeseries output results to #{timeseries_output_path}.")
diff --git a/hpxml-measures/ReportSimulationOutput/measure.xml b/hpxml-measures/ReportSimulationOutput/measure.xml
index 1153c1c3a..6e687184b 100644
--- a/hpxml-measures/ReportSimulationOutput/measure.xml
+++ b/hpxml-measures/ReportSimulationOutput/measure.xml
@@ -3,8 +3,8 @@
3.1
report_simulation_output
df9d170c-c21a-4130-866d-0d46b06073fd
- ec111528-5b18-43ad-ae95-0a41f5aaec05
- 2024-05-24T00:08:38Z
+ e9577eb7-04dc-4d34-b4b2-81b86c0bdd15
+ 2024-05-29T18:54:30Z
9BF1E6AC
ReportSimulationOutput
HPXML Simulation Output Report
@@ -1929,7 +1929,7 @@
measure.rb
rb
script
- BA579923
+ D25984FD
test_report_sim_output.rb
diff --git a/hpxml-measures/ReportUtilityBills/measure.rb b/hpxml-measures/ReportUtilityBills/measure.rb
index 16a5ea6f7..e0a66ae2b 100644
--- a/hpxml-measures/ReportUtilityBills/measure.rb
+++ b/hpxml-measures/ReportUtilityBills/measure.rb
@@ -448,7 +448,7 @@ def report_monthly_output_results(runner, args, timestamps, monthly_data, monthl
require 'json'
File.open(monthly_output_path, 'w') { |json| json.write(JSON.pretty_generate(h)) }
elsif args[:output_format] == 'msgpack'
- File.open(monthly_output_path, 'w') { |json| h.to_msgpack(json) }
+ File.open(monthly_output_path, 'wb') { |json| h.to_msgpack(json) }
end
end
runner.registerInfo("Wrote monthly bills output to #{monthly_output_path}.")
diff --git a/hpxml-measures/ReportUtilityBills/measure.xml b/hpxml-measures/ReportUtilityBills/measure.xml
index d442f94a6..3218a9e35 100644
--- a/hpxml-measures/ReportUtilityBills/measure.xml
+++ b/hpxml-measures/ReportUtilityBills/measure.xml
@@ -3,8 +3,8 @@
3.1
report_utility_bills
ca88a425-e59a-4bc4-af51-c7e7d1e960fe
- 71567c67-85c0-4d09-8220-85cc8a1897d6
- 2024-05-27T15:54:13Z
+ 2d6b4393-2fe5-429a-a130-da41a8cb36f0
+ 2024-05-29T18:54:32Z
15BF4E57
ReportUtilityBills
Utility Bills Report
@@ -180,7 +180,7 @@
measure.rb
rb
script
- 4E7FF5BB
+ 99961E51
detailed_rates/Sample Flat Rate Min Annual Charge.json