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

Revision history [back]

I was looking for the same information and found that I had answered this question in the EnergyPlus_Support listserve several years ago. Here is the code from version 5, should be pretty much the same:

I have found it easier to run two simulations. The first one simulates the earth-tube only and then outputs the hourly dry bulb and wet bulb temperatures to a .csv file The second simulation utilizes EMS routines to replace the dry bulb and wet bulb hourly temperatures in the weather file with those found in the .csv output file but only for the outdoor air intake node... See code below: (note this was done with v.5 so there may be some updating that you need to do for v6)

EnergyManagementSystem:Sensor, Earth_Tube_DB_Sched, !Name EarthTubeDBSch, ! Output:Variable Index Key Name Schedule Value; ! Output:Variable or Output:Meter Name

EnergyManagementSystem:Sensor, Earth_Tube_WB_Sched, !Name EarthTubeWBSch, ! Output:Variable Index Key Name Schedule Value; ! Output:Variable or Output:Meter Name

EnergyManagementSystem:Actuator, ET_OADB_Override, ! Name DOAS Outside Air Inlet, ! Component Name Outdoor Air System Node, ! Component Type Drybulb Temperature; ! Control Variable

EnergyManagementSystem:Actuator, ET_OAWB_Override, ! Name DOAS Outside Air Inlet, ! Component Name Outdoor Air System Node, ! Component Type Wetbulb Temperature; ! Control Variable

EnergyManagementSystem:Program, SchedOA, ! Name SET ET_OADB_Override = Earth_Tube_DB_Sched, SET ET_OAWB_Override = Earth_Tube_WB_Sched;

EnergyManagementSystem:ProgramCallingManager, Schedule OA, ! Name AfterPredictorBeforeHVACManagers, ! EnergyPlus Model Calling Point SchedOA; ! Program Name 1

Output:EnergyManagementSystem, Verbose, Verbose, Verbose;

Schedule:File, EarthTubeDBSch, !- Name Any Number, !- ScheduleType W:\M\CALC\ETDB.csv, !- Name of File 1, !- Column Number 0, !- Rows to Skip at Top 8760, !- Number of Hours of Data Comma; !- Column Separator

Schedule:File, EarthTubeWBSch, !- Name Any Number, !- ScheduleType W:\M\CALC\ETWB.csv, !- Name of File 1, !- Column Number 0, !- Rows to Skip at Top 8760, !- Number of Hours of Data Comma; !- Column Separator