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

Revision history [back]

E+ code for CIBSE TM52 comfort assessment

Hello, I am trying to integrate CIBSE TM52 adaptive criteria.

My idf files are generated through a combination of jeplus parameters and epmacro scripts that collect input from separated idf files. As I cannot copy the whole idf files in a post, I have tried to extract the objects that are relevant for the CIBSE TM52 assessment (done via an EMS program). The schedules referenced by B1_People are all existing (although not copied here).

!- SCHEDULES
Schedule:Compact,
    Always On,               !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: AllDays,            !- Field 2
    Until: 24:00,            !- Field 3
    1.0;                     !- Field 4

Schedule:Compact,
    Dwell_DomBed_Occ_B1_TM52,       !- Name
    Fraction,                       !- Schedule Type Limits Name
    Through: 12/31,                 !- Field 1
    For: AllDays,                   !- Field 2
    Until: 24:00,                   !- Field 3
    1;                              !- Field 4

!- PEOPLE
People,
    B1_People,                      !- Name
    B1_Zone,                                !- Zone or ZoneList Name
    1_Bd-People 24hr Modified,      !- Number of People Schedule Name
    People,                         !- Number of People Calculation Method
    2,                              !- Number of People
    ,                               !- People per Zone Floor Area
    ,                               !- Zone Floor Area per Person
    0.3,                                !- Fraction Radiant
    AutoCalculate,                  !- Sensible Heat Fraction
    Activity Schedule 78,           !- Activity Level Schedule Name
    3.82e-08,                       !- Carbon Dioxide Generation Rate
    No,                             !- Enable ASHRAE 55 Comfort Warnings
    ZoneAveraged,                   !- Mean Radiant Temperature Calculation Type
    ,                               !- Surface NameAngle Factor List Name
    Work efficiency,                !- Work Efficiency Schedule Name
    ClothingInsulationSchedule,     !- Clothing Insulation Calculation Method
    ,                               !- Clothing Insulation Calculation Method Schedule Name
    ,                               !- Clothing Insulation Schedule Name
    AirVelocitySchedule;            !- Air Velocity Schedule Name

and then:

! EMS SENSORS
EnergyManagementSystem:Sensor,
    Adaptive_Model_Temperature,             !- Name
    B1_People,                          !- Output:Variable or Output:Meter Index Key Name
    Zone Thermal Comfort CEN 15251 Adaptive Model Temperature;  !- Output:Variable or Output:Meter Name 


! EMS ACTUATOR
EnergyManagementSystem:Actuator,
    B1_EMS_Actuator_TM52_OCC,   !- Name
    Dwell_DomBed_Occ_B1_TM52,   !- Actuated Component Unique Name
    Schedule:Constant,          !- Actuated Component Type
    Schedule Value;             !- Actuated Component Control Type

and:

! OUTPUT VARIABLES
Output:Variable,
    B1_People,                                                  !- Key Value
    Zone Thermal Comfort CEN 15251 Adaptive Model Temperature,  !- Variable Name
    daily,                                                      !- Reporting Frequency
    Always On;

Output:Variable,
    B1_People,                                                                                  !- Key Value
    Zone Thermal Comfort CEN 15251 Adaptive Model Running Average Outdoor Air Temperature,      !- Variable Name
    runperiod,                                                                                  !- Reporting Frequency
    Always On;

Output:Variable,
    B1_People,                                                                                  !- Key Value
    Zone Thermal Comfort CEN 15251 Adaptive Model Running Average Outdoor Air Temperature,      !- Variable Name
    runperiod,                                                                                  !- Reporting Frequency
    Always On;

I receive the following error:

   ** Severe  ** Invalid Output:Variable or Output:Meter Name =ZONE THERMAL COMFORT CEN 15251 ADAPTIVE MODEL RUNNING AVERAGE OUTDOOR AIR TEMPERATURE
   **   ~~~   ** Entered in EnergyManagementSystem:Sensor=RUNNING_AVERAGE_OUTDOOR_AIR_TEMPERATURE
   **   ~~~   ** Output:Variable Name not found
   ** Severe  ** Invalid Output:Variable or Output:Meter Name =ZONE THERMAL COMFORT CEN 15251 ADAPTIVE MODEL TEMPERATURE
   **   ~~~   ** Entered in EnergyManagementSystem:Sensor=ADAPTIVE_MODEL_TEMPERATURE
   **   ~~~   ** Output:Variable Name not found
   ** Severe  ** Invalid Actuated Component Unique Name =DWELL_DOMBED_OCC_B1_TM52
   **   ~~~   ** Entered in EnergyManagementSystem:Actuator=B1_EMS_ACTUATOR_TM52_OCC
   **   ~~~   ** Component Unique key name not found 
   **   ~~~   ** Use Output:EnergyManagementSystem object to create .edd file for valid component names.
   ** Severe  ** Invalid Actuated Component Control Type =SCHEDULE VALUE
   **   ~~~   ** Entered in EnergyManagementSystem:Actuator=B1_EMS_ACTUATOR_TM52_OCC
   **   ~~~   ** Control Type not found
   **   ~~~   ** Use Output:EnergyManagementSystem object to create .edd file for valid component control types.
   **  Fatal  ** Errors found in processing Energy Management System input. Preceding condition causes termination.

I am struggling to understand why each of those 3 severe errors occur. Thanks, Andrea

E+ code for CIBSE TM52 comfort assessment

Hello, I am trying to integrate CIBSE TM52 adaptive criteria.

My idf files are generated through a combination of jeplus parameters and epmacro scripts that collect input from separated idf files. As I cannot copy the whole idf files in a post, I have tried to extract the objects that are relevant for the CIBSE TM52 assessment (done via an EMS program). The schedules referenced by B1_People are all existing (although not copied here).

!- SCHEDULES
Schedule:Compact,
    Always On,               !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: AllDays,            !- Field 2
    Until: 24:00,            !- Field 3
    1.0;                     !- Field 4

Schedule:Compact,
    Dwell_DomBed_Occ_B1_TM52,       !- Name
    Fraction,                       !- Schedule Type Limits Name
    Through: 12/31,                 !- Field 1
    For: AllDays,                   !- Field 2
    Until: 24:00,                   !- Field 3
    1;                              !- Field 4

!- PEOPLE
People,
    B1_People,                      !- Name
    B1_Zone,                                !- Zone or ZoneList Name
    1_Bd-People 24hr Modified,      !- Number of People Schedule Name
    People,                         !- Number of People Calculation Method
    2,                              !- Number of People
    ,                               !- People per Zone Floor Area
    ,                               !- Zone Floor Area per Person
    0.3,                                !- Fraction Radiant
    AutoCalculate,                  !- Sensible Heat Fraction
    Activity Schedule 78,           !- Activity Level Schedule Name
    3.82e-08,                       !- Carbon Dioxide Generation Rate
    No,                             !- Enable ASHRAE 55 Comfort Warnings
    ZoneAveraged,                   !- Mean Radiant Temperature Calculation Type
    ,                               !- Surface NameAngle Factor List Name
    Work efficiency,                !- Work Efficiency Schedule Name
    ClothingInsulationSchedule,     !- Clothing Insulation Calculation Method
    ,                               !- Clothing Insulation Calculation Method Schedule Name
    ,                               !- Clothing Insulation Schedule Name
    AirVelocitySchedule;            !- Air Velocity Schedule Name

and then:

! EMS SENSORS
EnergyManagementSystem:Sensor,
    Adaptive_Model_Temperature,             !- Name
    B1_People,                          !- Output:Variable or Output:Meter Index Key Name
    Zone Thermal Comfort CEN 15251 Adaptive Model Temperature;  !- Output:Variable or Output:Meter Name 


! EMS ACTUATOR
EnergyManagementSystem:Actuator,
    B1_EMS_Actuator_TM52_OCC,   !- Name
    Dwell_DomBed_Occ_B1_TM52,   !- Actuated Component Unique Name
    Schedule:Constant,          !- Actuated Component Type
    Schedule Value;             !- Actuated Component Control Type

and:

! OUTPUT VARIABLES
Output:Variable,
    B1_People,                                                  !- Key Value
B1_People,
    Zone Thermal Comfort CEN 15251 Adaptive Model Temperature,  !- Variable Name
    daily,                                                      !- Reporting Frequency
Temperature,
    daily,
    Always On;

Output:Variable,
    B1_People,                                                                                  !- Key Value
B1_People,
    Zone Thermal Comfort CEN 15251 Adaptive Model Running Average Outdoor Air Temperature,      !- Variable Name
    runperiod,                                                                                  !- Reporting Frequency
Temperature,
    runperiod,
    Always On;

Output:Variable,
    B1_People,                                                                                  !- Key Value
B1_People,
    Zone Thermal Comfort CEN 15251 Adaptive Model Running Average Outdoor Air Temperature,      !- Variable Name
    runperiod,                                                                                  !- Reporting Frequency
Temperature,
    runperiod,
    Always On;

I receive the following error:

   ** Severe  ** Invalid Output:Variable or Output:Meter Name =ZONE THERMAL COMFORT CEN 15251 ADAPTIVE MODEL RUNNING AVERAGE OUTDOOR AIR TEMPERATURE
   **   ~~~   ** Entered in EnergyManagementSystem:Sensor=RUNNING_AVERAGE_OUTDOOR_AIR_TEMPERATURE
   **   ~~~   ** Output:Variable Name not found
   ** Severe  ** Invalid Output:Variable or Output:Meter Name =ZONE THERMAL COMFORT CEN 15251 ADAPTIVE MODEL TEMPERATURE
   **   ~~~   ** Entered in EnergyManagementSystem:Sensor=ADAPTIVE_MODEL_TEMPERATURE
   **   ~~~   ** Output:Variable Name not found
   ** Severe  ** Invalid Actuated Component Unique Name =DWELL_DOMBED_OCC_B1_TM52
   **   ~~~   ** Entered in EnergyManagementSystem:Actuator=B1_EMS_ACTUATOR_TM52_OCC
   **   ~~~   ** Component Unique key name not found 
   **   ~~~   ** Use Output:EnergyManagementSystem object to create .edd file for valid component names.
   ** Severe  ** Invalid Actuated Component Control Type =SCHEDULE VALUE
   **   ~~~   ** Entered in EnergyManagementSystem:Actuator=B1_EMS_ACTUATOR_TM52_OCC
   **   ~~~   ** Control Type not found
   **   ~~~   ** Use Output:EnergyManagementSystem object to create .edd file for valid component control types.
   **  Fatal  ** Errors found in processing Energy Management System input. Preceding condition causes termination.

I am struggling to understand why each of those 3 severe errors occur. Thanks, Andrea

E+ code for CIBSE TM52 comfort assessment

Hello, I am trying to integrate CIBSE TM52 adaptive criteria.

My idf files are generated through a combination of jeplus parameters and epmacro scripts that collect input from separated idf files. As I cannot copy the whole idf files in a post, I have tried to extract the objects that are relevant for the CIBSE TM52 assessment (done via an EMS program). The schedules referenced by B1_People are all existing (although not copied here).

!- SCHEDULES
Schedule:Compact,
    Always On,               !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: AllDays,            !- Field 2
    Until: 24:00,            !- Field 3
    1.0;                     !- Field 4

Schedule:Compact,
    Dwell_DomBed_Occ_B1_TM52,       !- Name
    Fraction,                       !- Schedule Type Limits Name
    Through: 12/31,                 !- Field 1
    For: AllDays,                   !- Field 2
    Until: 24:00,                   !- Field 3
    1;                              !- Field 4

!- PEOPLE
People,
    B1_People,                      !- Name
    B1_Zone,                                !- Zone or ZoneList Name
    1_Bd-People 24hr Modified,      !- Number of People Schedule Name
    People,                         !- Number of People Calculation Method
    2,                              !- Number of People
    ,                               !- People per Zone Floor Area
    ,                               !- Zone Floor Area per Person
    0.3,                                !- Fraction Radiant
    AutoCalculate,                  !- Sensible Heat Fraction
    Activity Schedule 78,           !- Activity Level Schedule Name
    3.82e-08,                       !- Carbon Dioxide Generation Rate
    No,                             !- Enable ASHRAE 55 Comfort Warnings
    ZoneAveraged,                   !- Mean Radiant Temperature Calculation Type
    ,                               !- Surface NameAngle Factor List Name
    Work efficiency,                !- Work Efficiency Schedule Name
    ClothingInsulationSchedule,     !- Clothing Insulation Calculation Method
    ,                               !- Clothing Insulation Calculation Method Schedule Name
    ,                               !- Clothing Insulation Schedule Name
    AirVelocitySchedule;            !- Air Velocity Schedule Name

and then:

! EMS SENSORS
EnergyManagementSystem:Sensor,
    Adaptive_Model_Temperature,             !- Name
    B1_People,                          !- Output:Variable or Output:Meter Index Key Name
    Zone Thermal Comfort CEN 15251 Adaptive Model Temperature;  !- Output:Variable or Output:Meter Name 


! EMS ACTUATOR
EnergyManagementSystem:Actuator,
    B1_EMS_Actuator_TM52_OCC,   !- Name
    Dwell_DomBed_Occ_B1_TM52,   !- Actuated Component Unique Name
    Schedule:Constant,          !- Actuated Component Type
    Schedule Value;             !- Actuated Component Control Type

and:

! OUTPUT VARIABLES
Output:Variable,
    B1_People,
    Zone Thermal Comfort CEN 15251 Adaptive Model Temperature,
    daily,
    Always On;

Output:Variable,
    B1_People,
    Zone Thermal Comfort CEN 15251 Adaptive Model Running Average Outdoor Air Temperature,
    runperiod,
    Always On;

Output:Variable,
    B1_People,
    Zone Thermal Comfort CEN 15251 Adaptive Model Running Average Outdoor Air Temperature,
    runperiod,
    Always On;

I receive the following error:

   ** Severe  ** Invalid Output:Variable or Output:Meter Name =ZONE THERMAL COMFORT CEN 15251 ADAPTIVE MODEL RUNNING AVERAGE OUTDOOR AIR TEMPERATURE
   **   ~~~   ** Entered in EnergyManagementSystem:Sensor=RUNNING_AVERAGE_OUTDOOR_AIR_TEMPERATURE
   **   ~~~   ** Output:Variable Name not found
   ** Severe  ** Invalid Output:Variable or Output:Meter Name =ZONE THERMAL COMFORT CEN 15251 ADAPTIVE MODEL TEMPERATURE
   **   ~~~   ** Entered in EnergyManagementSystem:Sensor=ADAPTIVE_MODEL_TEMPERATURE
   **   ~~~   ** Output:Variable Name not found
   ** Severe  ** Invalid Actuated Component Unique Name =DWELL_DOMBED_OCC_B1_TM52
   **   ~~~   ** Entered in EnergyManagementSystem:Actuator=B1_EMS_ACTUATOR_TM52_OCC
   **   ~~~   ** Component Unique key name not found 
   **   ~~~   ** Use Output:EnergyManagementSystem object to create .edd file for valid component names.
   ** Severe  ** Invalid Actuated Component Control Type =SCHEDULE VALUE
   **   ~~~   ** Entered in EnergyManagementSystem:Actuator=B1_EMS_ACTUATOR_TM52_OCC
   **   ~~~   ** Control Type not found
   **   ~~~   ** Use Output:EnergyManagementSystem object to create .edd file for valid component control types.
   **  Fatal  ** Errors found in processing Energy Management System input. Preceding condition causes termination.

I am struggling to understand why each of those 3 severe errors occur. Thanks, Andrea

E+ code for CIBSE TM52 comfort assessment

Hello, I am trying to integrate CIBSE TM52 adaptive criteria.

My idf files are generated through a combination of jeplus parameters and epmacro scripts that collect input from separated idf files. As I cannot copy the whole idf files in a post, I have tried to extract the objects that are relevant for the CIBSE TM52 assessment (done via an EMS program). The schedules referenced by B1_People are all existing (although not copied here).

!- SCHEDULES
Schedule:Compact,
    Always On,               !- Name
    Fraction,                !- Schedule Type Limits Name
    Through: 12/31,          !- Field 1
    For: AllDays,            !- Field 2
    Until: 24:00,            !- Field 3
    1.0;                     !- Field 4

Schedule:Compact,
    Dwell_DomBed_Occ_B1_TM52,       !- Name
    Fraction,                       !- Schedule Type Limits Name
    Through: 12/31,                 !- Field 1
    For: AllDays,                   !- Field 2
    Until: 24:00,                   !- Field 3
    1;                              !- Field 4

!- PEOPLE
People,
    B1_People,                      !- Name
    B1_Zone,                                !- Zone or ZoneList Name
    1_Bd-People 24hr Modified,      !- Number of People Schedule Name
    People,                         !- Number of People Calculation Method
    2,                              !- Number of People
    ,                               !- People per Zone Floor Area
    ,                               !- Zone Floor Area per Person
    0.3,                                !- Fraction Radiant
    AutoCalculate,                  !- Sensible Heat Fraction
    Activity Schedule 78,           !- Activity Level Schedule Name
    3.82e-08,                       !- Carbon Dioxide Generation Rate
    No,                             !- Enable ASHRAE 55 Comfort Warnings
    ZoneAveraged,                   !- Mean Radiant Temperature Calculation Type
    ,                               !- Surface NameAngle Factor List Name
    Work efficiency,                !- Work Efficiency Schedule Name
    ClothingInsulationSchedule,     !- Clothing Insulation Calculation Method
    ,                               !- Clothing Insulation Calculation Method Schedule Name
    ,                               !- Clothing Insulation Schedule Name
    AirVelocitySchedule;            !- Air Velocity Schedule Name

and then:

! EMS SENSORS
EnergyManagementSystem:Sensor,
    Adaptive_Model_Temperature,             !- Name
    B1_People,                          !- Output:Variable or Output:Meter Index Key Name
    Zone Thermal Comfort CEN 15251 Adaptive Model Temperature;  !- Output:Variable or Output:Meter Name 


! EMS ACTUATOR
EnergyManagementSystem:Actuator,
    B1_EMS_Actuator_TM52_OCC,   !- Name
    Dwell_DomBed_Occ_B1_TM52,   !- Actuated Component Unique Name
    Schedule:Constant,          !- Actuated Component Type
    Schedule Value;             !- Actuated Component Control Type

and:

! OUTPUT VARIABLES
Output:Variable,
    B1_People,
    Zone Thermal Comfort CEN 15251 Adaptive Model Temperature,
    daily,
    Always On;

Output:Variable,
    B1_People,
    Zone Thermal Comfort CEN 15251 Adaptive Model Running Average Outdoor Air Temperature,
    runperiod,
    Always On;

Output:Variable,
    B1_People,
    Zone Thermal Comfort CEN 15251 Adaptive Model Running Average Outdoor Air Temperature,
    runperiod,
    Always On;

I receive the following error:

   ** Severe  ** Invalid Output:Variable or Output:Meter Name =ZONE THERMAL COMFORT CEN 15251 ADAPTIVE MODEL RUNNING AVERAGE OUTDOOR AIR TEMPERATURE
   **   ~~~   ** Entered in EnergyManagementSystem:Sensor=RUNNING_AVERAGE_OUTDOOR_AIR_TEMPERATURE
   **   ~~~   ** Output:Variable Name not found
   ** Severe  ** Invalid Output:Variable or Output:Meter Name =ZONE THERMAL COMFORT CEN 15251 ADAPTIVE MODEL TEMPERATURE
   **   ~~~   ** Entered in EnergyManagementSystem:Sensor=ADAPTIVE_MODEL_TEMPERATURE
   **   ~~~   ** Output:Variable Name not found
   ** Severe  ** Invalid Actuated Component Unique Name =DWELL_DOMBED_OCC_B1_TM52
   **   ~~~   ** Entered in EnergyManagementSystem:Actuator=B1_EMS_ACTUATOR_TM52_OCC
   **   ~~~   ** Component Unique key name not found 
   **   ~~~   ** Use Output:EnergyManagementSystem object to create .edd file for valid component names.
   ** Severe  ** Invalid Actuated Component Control Type =SCHEDULE VALUE
   **   ~~~   ** Entered in EnergyManagementSystem:Actuator=B1_EMS_ACTUATOR_TM52_OCC
   **   ~~~   ** Control Type not found
   **   ~~~   ** Use Output:EnergyManagementSystem object to create .edd file for valid component control types.
   **  Fatal  ** Errors found in processing Energy Management System input. Preceding condition causes termination.

I am struggling to understand why each of those 3 severe errors occur. Thanks, Andrea