How to enable Radiance in EnergyPlus simulation?
This guide will show you how to enable Radiance in EnergyPlus simulation.
Users can enable Radiance for desired accuracy in daylighting simulation. Radiance can be used to calculate workplane illuminance, eDGPs, and etc. See How to calculate workplane illuminance and eDGPs using three-phase method? for more information.
Workflow
0. Import the required classes and functions
1. Setup an EnergyPlus Model
You will need a working EnergyPlus model in idf or epjson format to initialize an EnergyPlus model. Or you can load an EnergyPlus reference model from pyenergyplus.dataset
. See How to run a simple EnergyPlus simulation? for more information on how to setup an EnergyPlus model.
2. Setup EnergyPlus Simulation
Initialize EnergyPlus simulation setup by calling EnergyPlusSetup
and passing in an EnergyPlus model and an optional weather file.
To enable Radiance for daylighting simulation, set enable_radiance
to True
; default is False
. When enable_radiance
is set to True
, the EnergyPlusSetup
class will automatically setup the three-phase method in Radiance.
epsetup = fr.EnergyPlusSetup(
epmodel, weather_files["usa_ca_san_francisco"], enable_radiance=True
)
After the radiance is enabled, the following calculations can be performed:
See How to calculate workplane illuminance and eDGPs using three-phase method? and How to simulate spatial daylight autonomy using three-phase method? for more information on how to calculate workplane illuminance and eDGPs using Radiance.