-
Notifications
You must be signed in to change notification settings - Fork 58
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
Remove duplicate prm methods #1583
Conversation
identical to air_loop_hvac_multizone_vav_optimization_required? in Standards.AirLoopHVAC.rb
identical to air_loop_hvac_set_vsd_curve_type in Standards.AirLoopHVAC.rb
identical to model_baseline_system_vav_fan_type in ashrae_90_1_prm.Model.rb
The return value is the same throughout the code base, except for an Xcel program override. We can break this out into a method again if other standards require it.
ashrae_90_1_prm_2019 duplicates the method in ashrae_90_1_prm also remove the Xcel and custom argument reference from the base method
returns the same values as boiler_hot_water_find_search_criteria in Standards.BoilerHotWater.rb
duplicate of coil_heating_gas_find_capacity in Standards.CoilHeatingGas.rb
duplicate of boiler_hot_water_standard_minimum_thermal_efficiency in Standards.BoilerHotWater.rb
remove duplicated method model_prm_baseline_system_number in ashrae_90_1_prm_2019 that is already in ashrae_90_1_prm
this is duplicate of cooling_tower_apply_minimum_power_per_flow in Standards.CoolingTower.rb Note the 'fan_type' is defined as 'Propeller or Axial' in Standards.CoolingTower.rb, and 'Axial' in the PRM version. The PRM data should switch to 'Propeller or Axial' to align with 90.1.
duplicate of chiller_electric_eir_standard_minimum_full_load_efficiency in Standards.ChillerElectricEIR.rb. The returns were changed for setting the chiller name and logging. Add calls to get those variables.
Remove duplicate prm method chiller_electric_eir_find_search_criteria which is already defined in Standards.ChillerElectricEIR.rb. The PRM method looks up the compressor type by an additional features property on the chiller object. Adjust the Standards method to check for compressor_type in chiller additional properties before inferring from the chiller name.
duplicate of model_apply_constructions in Standards.Model.rb Pass the wwr arguments in Standards.Model.rb instead of setting them to nil. If this causes issues, then this needs to be a separate method to set wwr building type.
search_criteria['equipment_type'] = 'Open Cooling Tower' | ||
|
||
# Define the criteria to find the fan type | ||
search_criteria['fan_type'] = 'Axial' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree this function is largely duplicate with standard.
To remove this function, we should also update the data file to correctly extract the performance.
Once the data file is corrected, the hvac_efficiency test can pass the CI
I made a change and will wait for CI results to merge the PR.
Partially addresses #1441.
Notes: 'fan_type' is defined as 'Propeller or Axial' in Standards.CoolingTower.rb, and 'Axial' in the PRM version. The PRM data should switch to 'Propeller or Axial' to align with 90.1. That's a separate commit to author and add to this PR.