I have been using a workaround with EPPY to integrate or modify the building energy model generated from HB tools. Recently, I have been working on a research topic that needs integration of a few objects and fields that cant be performed with the available HB components. Integrating outside in IDF is not allowing me to bring back the model into Rhino-GH through the load model component. Yes, I have made sure that the E+ version remains 22.1, yet, it didn’t work.
So, I want to use the HB Energy SDK to create the component that can allow me to append custom objects and fields. This can help me to use the HB annual load component for quick simulation results.
Can you please give me an example of syntax I need to use for creating the custom component? I am versed with E+ IDD based objects and fields indexing but not with OpenStudio CLI.
Hi @Naga, you need to be more specific about what you’re trying to do. Can you provide an example of one of the parameter that you’re trying to change? Maybe share a code sample that shows how you’re using eppy to make those changes.
@mostapha, I have visited the page multiple times. It’s an amazing resource but it will be more helpful if we can recluster the modules based on applications - model, append, edit, translate and so on.
I might recommend making use of the add_str_ input to the various energy simulation components if you have not already. That input allows you to append whatever extra IDF text to the model exported by the component and I know of some researchers who have added a whole AFN before that way. Of course, if you know Python, you can also just append the text in Python after using the writer methods. Oo you could use the OpenStudio SDK to edit the honeybee-exported OSM, adding in whatever AFN you want.