Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions reset_strategies/core_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def read_vfd_power_csvs(self):
rf_power = rf_data_AV['Present_Value'][np.char.find(rf_data_AV['Object_Name'], value+'_POWER') >= 0][0]

if self.ahu_name == 'AHU_6':
rf_power *= 2.5
rf_power *= 1

vfd_rf_power += rf_power

Expand Down Expand Up @@ -873,7 +873,7 @@ def estimate_power(self, cur_sat_sp, diff_sat):
self.estimations['rhv_power_delta_' + vav] = np.zeros(len(diff_sat))

self.estimations['rhv_power_delta'] += self.estimations['rhv_power_delta_' + vav]

# ΔPrh_lower, 0, ΔPrh_higher = self.estimations['rhv_power_delta_' + vav]
print(f"ΔPrh_lower {vav}: {self.estimations['rhv_power_delta_' + vav][0]}")
print(f"ΔPrh_higher {vav}: {self.estimations['rhv_power_delta_' + vav][-1]}")
Expand All @@ -887,7 +887,11 @@ def estimate_power(self, cur_sat_sp, diff_sat):

diff_afr = self.estimations['diff_zone_tot_afr']
afr_ratio = (afr + diff_afr)/afr


# ΔVs_lower, 0, ΔVs_higher = self.estimations['diff_zone_tot_afr']
print(f"ΔVs_lower: {self.estimations['diff_zone_tot_afr'][0]}")
print(f"ΔVs_higher: {self.estimations['diff_zone_tot_afr'][-1]}")

### fan power based on vfd percent out and motor rating
# for each candidate sat (based on fan power law)
# supply + return fans
Expand Down Expand Up @@ -1142,3 +1146,5 @@ def calc_sp_limit(self, current_oat, lo_oat, hi_oat, val_at_lo_oat, val_at_hi_oa
rv = val_at_lo_oat + val_range * (current_oat-lo_oat)/ oat_range

return rv


2 changes: 1 addition & 1 deletion reset_strategies/reset_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@

temperature_reset_CORE = reset.Reset(SPmin=sat_min, SPmax=sat_max, num_ignore_clg=num_ignore_clg, num_ignore_htg=num_ignore_htg, SPtrim=sp_trim, SPres=sp_res, SPres_max=sp_res_max)

dehumd_limits = (55, 60, 65, 60) # lo_oa_dwpt, hi_oa_dwpt, spmax_at_lo_oat_dwpt, spmax_at_hi_oat_dwpt
dehumd_limits = (55, 60, 65, 58) # lo_oa_dwpt, hi_oa_dwpt, spmax_at_lo_oat_dwpt, spmax_at_hi_oat_dwpt

core_control = CORE(algo=algo, core_version=core_version, max_off_time=max_off_time, dehumid=True, dehumd_limits=dehumd_limits, g36_sat=g36_sat, folder_dir=folder_dir, zone_names=zones, ahu_name=ahu,
zone_dev_map=devID_zoneID, vdf_dev_map=devID_vfdID, pump_dev_map=devID_pumpID, ahu_dev_map=devID_ahuID,
Expand Down