Is there a possibility to activate AFN objects in dragonfly by passing IDF_strings?

Thanks, @Naga.

After your clarification, it sounds like this is probably a very different type of question from what the topic title says. Am I correct that you are basically just asking “how can you apply additional IDF strings to each building IDF that is exported with the URBANopt component?”

So your question isn’t necessarily specific to the AFN. The AFN just happens to be what you have IDF strings for, which you want to inject before simulation.

If my understanding is correct, then you can just use the Inject IDF measure to inject your IDF strings into the files exported and simulated with the URBANopt component. You can see an example of this here in this post:

Note that, if you need to inject different IDF strings for each Building IDF file exported by the URBANopt component, you should use the DF Load Mapper Measure component to load the “Inject IDF” measure instead of the HB Load Measure component. Loading the measure as a “Mapper” allows you to pass lists of input arguments into the component such that each dragonfly Building gets different inputs when it is exported to IDF for simulation.

Hope that helps.