Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appx g/merge master 09192023 #1610

Merged
merged 70 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
ed8b339
remove Siz.AirLoopHVAC.rb
mdahlhausen Aug 25, 2023
5ba9c05
remove Siz.CoilCoolingWater.rb
mdahlhausen Aug 25, 2023
3710796
remove sizing methods in Siz.ThermalZone.rb
mdahlhausen Aug 25, 2023
e38bfc3
remove Siz.HVACComponent.rb
mdahlhausen Aug 25, 2023
1f9c89d
remove Siz.HeatingCoolingFuels.rb and Siz.ThermalZone.rb
mdahlhausen Aug 25, 2023
27e38db
remove overloaded prm method plant_loop_total_cooling_capacity
mdahlhausen Aug 25, 2023
8b99e87
calculate fan power
mdahlhausen Aug 25, 2023
89be23d
remove getAutosizedValueFromEquipmentSummary
mdahlhausen Aug 25, 2023
e8ec7ec
remove output_fan_report
mdahlhausen Aug 25, 2023
6d0c652
Delete Siz.Model.rb
mdahlhausen Aug 25, 2023
a2b247b
remove require to Siz.Model
mdahlhausen Aug 28, 2023
1c54b8e
grammar fix
mdahlhausen Aug 28, 2023
927274f
fix OptionalDouble error
mdahlhausen Aug 28, 2023
2ad720d
get value of FuelType Enums
mdahlhausen Aug 29, 2023
331078a
added method to convert plant into a 2-pipe system with availability …
carlosduarteroa Aug 29, 2023
f7d9499
refactor design load to be w not w_per_m2
mdahlhausen Aug 29, 2023
88c696e
added 2-pipe plant mode based on zone heating cooling demand
carlosduarteroa Aug 29, 2023
e9945f7
Merge branch 'master' into feature/radiant_controls_2_pipe_plant_redo
carlosduarteroa Aug 29, 2023
229e051
add method to get radiant thermal zones from plant loop
carlosduarteroa Aug 30, 2023
aa9f9b8
added tests for testing two pipe plant system
carlosduarteroa Aug 30, 2023
64d5371
Adds details to sizing run start/end messages for runtime profiling
asparke2 Aug 24, 2023
2e3dc1d
Merge remote-tracking branch 'origin/master' into feature/sizing_run_…
asparke2 Aug 30, 2023
ac51ed0
check for OptionalDouble
mdahlhausen Aug 30, 2023
7d20c94
fix .get typo for double
mdahlhausen Aug 31, 2023
e79863a
Update Standards.ThermalZone.rb
mdahlhausen Aug 31, 2023
9cc75f2
update regression and performance results
mdahlhausen Aug 31, 2023
7173d56
added plant setpoint manager to vary plant water supply temperature b…
carlosduarteroa Aug 31, 2023
3c6b9c1
remove extra argument
mdahlhausen Sep 1, 2023
9aa6c6b
Merge branch 'master' into remove_sizing_methods
mdahlhausen Sep 2, 2023
a7bd20d
fix app g method call typos
mdahlhausen Sep 2, 2023
4c124da
Update test_performance_expected_dd_results.csv
mdahlhausen Sep 2, 2023
40e49f4
check app G fuel type against array
mdahlhausen Sep 2, 2023
97840e9
update test failures
mdahlhausen Sep 7, 2023
4d4da95
Merge pull request #1582 from NREL/remove_sizing_methods
mdahlhausen Sep 7, 2023
4de34f1
two pipe method edits
mdahlhausen Sep 7, 2023
89dcb6f
Merge pull request #1586 from NREL/feature/radiant_controls_2_pipe_pl…
mdahlhausen Sep 8, 2023
37c5f34
Merge pull request #1591 from NREL/feature/sizing_run_profiling
mdahlhausen Sep 8, 2023
409f78e
Merge branch 'master' into feature/radiant_controls_oa_based_swt_redo
carlosduarteroa Sep 11, 2023
42723eb
moved heat cool request program to its own method for reuse
carlosduarteroa Sep 12, 2023
b63e183
added support to control swt based on zone demand
carlosduarteroa Sep 12, 2023
f28ec4a
added tests for supply water temperature control
carlosduarteroa Sep 12, 2023
d4cb1b4
add OsLib_Schedules methods
mdahlhausen Sep 12, 2023
67eb898
remove one schedule module level
mdahlhausen Sep 12, 2023
e7e24e8
fix yard documentation
mdahlhausen Sep 12, 2023
671295b
fix yard documentation
mdahlhausen Sep 12, 2023
9812d2b
Create pull_request_template.md
mdahlhausen Sep 12, 2023
9e6bdf7
Merge pull request #1597 from NREL/feature/pr_template
mdahlhausen Sep 13, 2023
a6633e8
minor return consistency edit
mdahlhausen Sep 13, 2023
7049071
add OsLib_ModelGeneration methods
mdahlhausen Sep 13, 2023
815554a
fix model_identify_return_air_type return type
mdahlhausen Sep 13, 2023
65f7cc8
Apply Black formatting.
lymereJ Sep 13, 2023
8637313
Merge pull request #1600 from NREL/apply_black_fmt
mdahlhausen Sep 13, 2023
3b7abc3
refactor create_typical methods
mdahlhausen Sep 13, 2023
769d6f3
fix tests by adding weather file
mdahlhausen Sep 13, 2023
3395f64
Merge pull request #1596 from NREL/fix/yard_documentation
mdahlhausen Sep 14, 2023
0bea314
Merge branch 'master' into feature/extension_gem
mdahlhausen Sep 14, 2023
2d936ae
minor yard syntax update
mdahlhausen Sep 14, 2023
c1d68cd
rubocop fixes
mdahlhausen Sep 14, 2023
abcb73d
merge ComStock changes to create typical
mdahlhausen Sep 14, 2023
9faa678
Merge pull request #1602 from NREL/feature/extension_gem
mdahlhausen Sep 15, 2023
60329f2
Merge branch 'master' into feature/radiant_controls_oa_based_swt_redo
mdahlhausen Sep 15, 2023
2d70132
syntax and rubocop edits
mdahlhausen Sep 18, 2023
2fac650
Merge pull request #1595 from NREL/feature/radiant_controls_oa_based_…
mdahlhausen Sep 18, 2023
8ee396e
rubocop autocorrect edits
mdahlhausen Sep 18, 2023
ee81697
Merge pull request #1609 from NREL/fix/rubocop_edits
mdahlhausen Sep 19, 2023
db64c62
Merge branch 'master' of https://github.com/NREL/openstudio-standards…
weilixu Sep 19, 2023
a3a7c76
Fix issues in psz-vav system using water heating coil
weilixu Sep 20, 2023
f043468
revise test case assertion
weilixu Sep 20, 2023
1050631
add patch code to remove the nil situation in the index.
weilixu Sep 21, 2023
c74925c
Merge branch 'AppendixG_Dev' into appx_g/merge_master_09192023
weilixu Sep 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 31 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Pull request overview
---------------------

<!--- DESCRIBE PURPOSE OF THIS PULL REQUEST -->

- Fixes #ISSUENUMBERHERE (IF THIS IS A DEFECT)

### Pull Request Author

<!--- Add to this list or remove from it as applicable. This is a simple templated set of guidelines. -->

- [ ] Method changes or additions
- [ ] Data changes or additions
- [ ] Added tests for added methods
- [ ] If methods have been deprecated, update rest of code to use the new methods
- [ ] Documented new methods using [yard syntax](https://rubydoc.info/gems/yard/file/docs/GettingStarted.md)
- [ ] Resolved yard documentation errors for new code (ran `bundle exec rake doc`)
- [ ] Resolved rubocop syntax errors for new code (ran `bundle exec rake rubocop`)
- [ ] All new and existing tests passes
- [ ] If the code adds new `require` statements, ensure these are in core ruby or add to the gemspec

### Review Checklist

This will not be exhaustively relevant to every PR.
- [ ] Perform a code review on GitHub
- [ ] All related changes have been implemented: method additions, changes, tests
- [ ] Check rubocop errors
- [ ] Check yard doc errors
- [ ] If fixing a defect, verify by running develop branch and reproducing defect, then running PR and reproducing fix
- [ ] If a new feature, test the new feature and try creative ways to break it
- [ ] CI status: all green or justified
5 changes: 4 additions & 1 deletion .yardopts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ lib/openstudio-standards/prototypes/**/*.rb
lib/openstudio-standards/utilities/**/*.rb
lib/openstudio-standards/weather/**/*.rb
lib/openstudio-standards/refs/references.rb
lib/openstudio-standards/schedules/**/*.rb
lib/openstudio-standards/geometry/**/*.rb
lib/openstudio-standards/create_typical/**/*.rb

-
docs/Home.md
docs/UserQuickStartGuide.md
docs/Features.md
docs/DeveloperInformation.md
docs/RepositoryStructure.md
docs/CodeArchitecture.md
docs/AddingAStandard.md
License.txt
LGPL-2.1
1 change: 0 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ namespace :test do
t.verbose = false
end


# These tests only available in the CI environment
if ENV['CI'] == 'true'

Expand Down
2 changes: 1 addition & 1 deletion data/standards/manage_OpenStudio_Standards.rb
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def standard_directory_name_from_template(template)
end

# checks whether your authorization credentials are set up to access the spreadsheets
# @return [Bool] returns true if api is working, false if not
# @return [Boolean] returns true if api is working, false if not
def check_google_drive_configuration
require 'google_drive'
client_config_path = File.join(Dir.home, '.credentials', "client_secret.json")
Expand Down
62 changes: 31 additions & 31 deletions data/standards/test_performance_expected_dd_results.csv

Large diffs are not rendered by default.

18 changes: 16 additions & 2 deletions lib/openstudio-standards.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,22 @@
module OpenstudioStandards
require 'json' # Used to load standards JSON files

# HVAC sizing
require_relative 'openstudio-standards/hvac_sizing/Siz.Model'
# Load Modules

# Geometry Module
require_relative 'openstudio-standards/geometry/create'
require_relative 'openstudio-standards/geometry/modify'
require_relative 'openstudio-standards/geometry/information'

# Schedules Module
require_relative 'openstudio-standards/schedules/create'
require_relative 'openstudio-standards/schedules/modify'
require_relative 'openstudio-standards/schedules/information'

# CreateTypical Module
require_relative 'openstudio-standards/create_typical/enumerations'
require_relative 'openstudio-standards/create_typical/space_type_ratios'
require_relative 'openstudio-standards/create_typical/create_typical'

# Weather data
require_relative 'openstudio-standards/weather/Weather.Model'
Expand Down
16 changes: 8 additions & 8 deletions lib/openstudio-standards/btap/analysis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
#
# #This method will do an analysis of the opaque surface conductance sensitivity and returns a string model array.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param model [OpenStudio::Model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param choice [String] description
# #@return [modelArray<String>]
# def self.opaque_surface_conductance_sensitivity_analysis(model,choice )
Expand Down Expand Up @@ -191,7 +191,7 @@
#
# #This method performs a wall sensitivity analysis and returns a string model array.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param model [OpenStudio::Model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param folder_name [String]
# #@param values<Fixnum>
# #@return [modelArray<String>]
Expand All @@ -213,7 +213,7 @@
#
# #This method performs a roof sensitivity analysis and returns a string model array.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model_in [OpenStudio::model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param model_in [OpenStudio::Model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param folder_name [String]
# #@param values<Fixnum>
# #@return [modelArray<String>]
Expand Down Expand Up @@ -249,7 +249,7 @@
#
# #This method performs a glazing solar transmittance sensitivity analysis and returns a model array.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model_in [OpenStudio::model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param model_in [OpenStudio::Model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param folder_name [String]
# #@param values<Fixnum>
# #@return [modelArray<String>]
Expand All @@ -270,7 +270,7 @@
#
# #This method performs an rvalue sensitivity analysis and returns a model array.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model_in [OpenStudio::model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param model_in [OpenStudio::Model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param folder_name [String]
# #@param values<Fixnum>
# #@return [modelArray<String>]
Expand All @@ -291,7 +291,7 @@
#
# #This method performs a full sensitivity analysis on the wall, roof, solar-trans,window,and ground surfaces.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param model [OpenStudio::Model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param parent_folder [String]
# def self.full_sensitivity_analysis(model, parent_folder)
# self.wall_rvalue_sensitivity_model_analysis(model, (parent_folder + "/wall-r"))
Expand All @@ -304,7 +304,7 @@
#
# #This method performs a full analysis (elimination and Sensitivity).
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param model [OpenStudio::Model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param folder [String]
# def self.full_analysis(model, folder)
# FileUtils.rm_rf(folder)
Expand All @@ -318,7 +318,7 @@
#
# #This method performs an elimination analysis ( OA, H&C setpoints,infiltration,occupancy,lighting,plug_loads,gas_equipment, hotwater, steam, other) and returns a model array.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model_in [OpenStudio::model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param model_in [OpenStudio::Model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
# #@param folder_name [String]
# #@return [modelArray<String>]
# def self.full_elimination_analysis(model_in, folder_name)
Expand Down
8 changes: 4 additions & 4 deletions lib/openstudio-standards/btap/bridging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ def alter_buffers(model = nil)
# @param model [OpenStudio::Model::Model] a model
# @param buffers [Array] identifiers of modified buffer spaces in model
#
# @return [Bool] true if successful
# @return [Boolean] true if successful
def purge_buffer_schedules(model = nil, buffers = [])
scheds = []
lgs = @feedback[:logs]
Expand Down Expand Up @@ -1663,7 +1663,7 @@ def minU(model = nil, stypes = :walls)
# @param model [OpenStudio::Model::Model] a model
# @param argh [Hash] BTAP/TBD argument hash
#
# @return [Bool] true if valid (check @feedback logs if false)
# @return [Boolean] true if valid (check @feedback logs if false)
def populate(model = nil, argh = {})
cl = OpenStudio::Model::Model
args = { option: "(non thermal bridging)" } # for initial TBD dry run
Expand Down Expand Up @@ -1855,7 +1855,7 @@ def inputs(perform = :hp, quality = :good)
##
# Generate BTAP/TBD tallies
#
# @return [Bool] true if BTAP/TBD tally is successful
# @return [Boolean] true if BTAP/TBD tally is successful
def gen_tallies
edges = {}
return false unless @model.key?(:io)
Expand Down Expand Up @@ -1887,7 +1887,7 @@ def gen_tallies
##
# Generate BTAP/TBD post-processing feedback.
#
# @return [Bool] true if valid BTAP/TBD model
# @return [Boolean] true if valid BTAP/TBD model
def gen_feedback
lgs = @feedback[:logs]
return false unless @model.key?(:complies) # all model constructions
Expand Down
28 changes: 14 additions & 14 deletions lib/openstudio-standards/btap/btap.model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@
#
# #This method will set the infiltration magnitude.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param self [OpenStudio::model::Model] A model object
# #@param self [OpenStudio::Model::Model] A model object
# #@param setDesignFlowRate [Float]
# #@param setFlowperSpaceFloorArea [Float]
# #@param setFlowperExteriorSurfaceArea [Float]
Expand Down Expand Up @@ -509,7 +509,7 @@
#
# #This method will scale people loads schedule.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# #@param a_coef [Float]
# #@param b_coef [Float]
# #@param c_coef [Float]
Expand All @@ -528,7 +528,7 @@
#
# #This method will scale lighting loads.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# #@param factor [Float]
# def scale_lighting_loads(factor)
# self.getLightss.sort.each do |item|
Expand All @@ -538,7 +538,7 @@
#
# #This method will scale lighting loads schedule.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# #@param a_coef [Float]
# #@param b_coef [Float]
# #@param c_coef [Float]
Expand All @@ -557,7 +557,7 @@
#
# #This method will scale electrical loads.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# #@param factor [Float]
# def scale_electrical_loads(model, factor)
# self.getElectricEquipments.sort.each do |item|
Expand All @@ -567,7 +567,7 @@
#
# #This method will scale electrical loads schedule.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# #@param a_coef [Float]
# #@param b_coef [Float]
# #@param c_coef [Float]
Expand All @@ -585,7 +585,7 @@
#
# #This method will scale Outdoor Air loads.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# #@param factor [Float]
# def scale_oa_loads(factor)
# self.getDesignSpecificationOutdoorAirs.sort.each do |oa_def|
Expand All @@ -598,7 +598,7 @@
#
# #This method will scale infiltration loads.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# #@param factor [Float]
# def scale_inflitration_loads(factor)
# self.getSpaceInfiltrationDesignFlowRates.sort.each do |infiltration_load|
Expand All @@ -612,7 +612,7 @@
# # Elimination Methods
# #This method removes people loads from the model.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# def eliminate_all_people_loads()
# self.getPeoples.sort.each {|people| people.remove}
# self.getPeopleDefinitions.sort.each {|people| people.remove}
Expand All @@ -621,7 +621,7 @@
#
# #This method removes light loads from model.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# def eliminate_all_lighting_loads()
# self.getLightss.sort.each {|item| item.remove}
# self.getLightsDefinitions.sort.each {|item| item.remove}
Expand All @@ -630,7 +630,7 @@
#
# #This method removes elec loads from model.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# def eliminate_all_electric_loads()
# self.getElectricEquipments.sort.each {|item| item.remove}
# self.getElectricEquipmentDefinitions.sort.each {|item| item.remove}
Expand All @@ -639,23 +639,23 @@
#
# #This method removes all design specification OA from model.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# def eliminate_all_design_specification_outdoor_air()
# self.getDesignSpecificationOutdoorAirs.sort.each {|item| item.remove}
# return self
# end
#
# #This method removes infiltration from model..
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# def eliminate_all_space_infiltration_design_flow_rates()
# self.getSpaceInfiltrationDesignFlowRates.sort.each {|item| item.remove}
# return self
# end
#
# #This method removes all space loads from model.
# #@author phylroy.lopez@nrcan.gc.ca
# #@param model [OpenStudio::model::Model] A model object
# #@param model [OpenStudio::Model::Model] A model object
# def eliminate_all_loads()
# conductance = 0.200
#
Expand Down
14 changes: 7 additions & 7 deletions lib/openstudio-standards/btap/btap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def initialize()
module SimulationSettings
#This sets the simulation period for the model. All arguments are integers.
#@author Phylroy A. Lopez
#@param model [OpenStudio::model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
#@param model [OpenStudio::Model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
#@param start_month [Integer] a list of output variables that you wish to report from the simulation.
#@param start_day [Integer] a list of output variables that you wish to report from the simulation.
#@param end_month [Integer] a list of output variables that you wish to report from the simulation.
Expand All @@ -208,7 +208,7 @@ module Reports
#This method clears all the output variables to make simulations run faster or to
#start fresh.
#@author Phylroy A. Lopez
#@param model [OpenStudio::model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
#@param model [OpenStudio::Model::Model] A model object {http://openstudio.nrel.gov/latest-c-sdk-documentation/model}
#@return [OpenStudio::Model::Model] the OpenStudio model object (self reference).
def self.clear_output_variables(model)
#remove existing outputs
Expand All @@ -220,7 +220,7 @@ def self.clear_output_variables(model)

#This turns all output on. Warning: Long runtimes will result.
#@author Phylroy A. Lopez
#@param model [OpenStudio::model::Model] A model object
#@param model [OpenStudio::Model::Model] A model object
#@param frequency [Fixnum]
#@return [OpenStudio::Model::Model] a copy of the OpenStudio model object (self reference).
def self.all_output_variables(model,frequency)
Expand All @@ -231,7 +231,7 @@ def self.all_output_variables(model,frequency)
#This method returns a vector of the results that are available in the current
#model.
#@author Phylroy A. Lopez
#@param model [OpenStudio::model::Model] A model object
#@param model [OpenStudio::Model::Model] A model object
#@return [Array<String>] a list of all the possible output variables.
def self.get_possible_output_variables( model )
#Run simulation
Expand All @@ -256,7 +256,7 @@ def self.get_possible_output_variables( model )

#This method sets up some predetermined output variables. May take a while to run with these settings.
#@author Phylroy A. Lopez
#@param model [OpenStudio::model::Model] A model object
#@param model [OpenStudio::Model::Model] A model object
#@param frequency [Fixnum]
#@param output_variable_array [Array<String>] a list of output variables that you wish to report from the simulation.
#@return [OpenStudio::Model::Model] the OpenStudio model object (self reference).
Expand All @@ -276,7 +276,7 @@ module Site
#This method sets the weather file for the model.
#It takes a simple string, remember to escape the slashes..(i.e. // not / )
#@author Phylroy A. Lopez
#@param model [OpenStudio::model::Model] A model object
#@param model [OpenStudio::Model::Model] A model object
#@param epw_path [String] a simple string of the epw file path, remember to escape the slashes..(i.e. // not / )
def self.set_weather_file(model, epw_path)
BTAP::Environment::WeatherFile.new(epw_path).set_weather_file(model)
Expand All @@ -289,7 +289,7 @@ module Common
#This model checks to see if the obj_array passed is
#the object we require, or if a string is given to search for a object of that strings name.
#@author Phylroy A. Lopez
#@param model [OpenStudio::model::Model] A model object
#@param model [OpenStudio::Model::Model] A model object
#@param obj_array <Object>
#@param object_type [Object]
def self.validate_array(model,obj_array,object_type)
Expand Down
Loading