HB Read Generation Result failed to read Ruby measures in large scale

Hi there,

I hope you are pretty well.

I tried to apply the add-rooftop-pv measure developed in BCL in my study. I checked that the measure is fully ok and working with some simulations such as the 13 houses in Buffalo ( the example file in the LadyBug downloads file) and my other simulations.

However, when I apply the model on urban and large scale, in a simulation with more than 6000 buildings with different operations, the measure is not operable and an error is raised in the HB Read Generation Result component:

  1. Solution exception:‘float’ object has no attribute ‘header’

The model works very well in different scenarios (without the measure) but when I applied this measure I received the error. The simulation is done (in the simulation when the measure is applied) and I can see the EUI and the results, but when I use the HB Read Generation Result, this error occurs.

I would appreciate it if you would kindly let me know what the problem is and how I can tackle that.

Thank you very much in advance for your time and assistance as always.

Sincerely,
Behnam

Sorry for such a late response, @behnammmohseni . I don’t have experience with that measure but I can confirm that what you found here is a bug in the HB Read Generation Result component. I had written it in a way that it only worked for hourly, daily, or monthly results. I had not tested the case where you request results totaled annually for the whole year, which is what you appear to have there.

I just pushed a fix for it here:

You should be able to get the fix on your end with the LB Versioner in an hour or so. After that, you can import annual Photovoltaic results with that component:

1 Like

Fantastic Chris:)
Thanks very much

1 Like