Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

You can do runtime callback with EnergyPlus and Radiance using frads in Python.

A simple example goes something like this, here is a more detailed example.

import frads as fr

emodel = fr.load_energyplus_model("model.idf")
with fr.EnergyPlusSetup(emodel, weather_file="weather.epw", enable_radiance=True) as ep:
    ep.set_callback(controller)
    ep.run()