chris
February 27, 2026, 7:30pm
9
Sorry for being so late here but I can explain what changed. Four years ago we switched to using a different E+ output to track energy flow across opaque constructions:
committed 01:23AM - 04 Jun 22 UTC
We made it in response to the discussion on load balances here:
Alright, you won me over. I realize that what we’re talking about here has no bearing on the monthly load balances that people typically create with Ladybug Tools since any heat that enters/leaves the mass of the exterior envelope within a given day is going to cancel out over a time period as long as a month.
But I can see how your suggestion makes single-day visualizations of the load a lot cleaner. For example, looking at the load profile over the summer design day, this is what we would hav…
Long story short, if you want to work with very old E+ SQLs, just change this line of code inside the HB Read Face Result component:
face_outdoor_temp = sql_obj.data_collections_by_output_name(face_outdoor_temp_output)
opaque_energy_flow = sql_obj.data_collections_by_output_name(opaque_energy_flow_output)
window_loss = sql_obj.data_collections_by_output_name(window_loss_output)
window_gain = sql_obj.data_collections_by_output_name(window_gain_output)
return face_indoor_temp, face_outdoor_temp, opaque_energy_flow, window_loss, window_gain
# List of all the output strings that will be requested
face_indoor_temp_output = 'Surface Inside Face Temperature'
face_outdoor_temp_output = 'Surface Outside Face Temperature'
opaque_energy_flow_output = 'Surface Inside Face Conduction Heat Transfer Energy'
window_loss_output = 'Surface Window Heat Loss Energy'
window_gain_output = 'Surface Window Heat Gain Energy'
all_output = [face_indoor_temp_output, face_outdoor_temp_output,
opaque_energy_flow_output, window_loss_output, window_gain_output]
if all_required_inputs(ghenv.Component):
# check the size of the SQL file to see if we should use the CLI
assert os.path.isfile(_sql), 'No sql file found at: {}.'.format(_sql)
cpy_fail = False
Set it to Average instead of Inside and you’ll get all of your results importing:
old SQLs.gh (15.4 KB)
1 Like