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

Failed to match against any enum values

asked 2020-01-09 23:43:46 -0500

yingli.lou@colorado.edu's avatar

updated 2020-01-14 09:24:18 -0500

When I update IDF from 8.7.0 Version to 9.0.1 Version, running 9.0.1 version has a severe error, as follows:

** Severe  ** <root>[ScheduleTypeLimits][ControlMode][unit_type] - "controlmode" - Failed to match against any enum values.

How to deal with it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-01-10 02:21:08 -0500

This error tells you that you have a field with \type choice that has a value that isn't listed as a valid choice, here this is the 'Unit Type' field of object ScheduleTypeLimits.

If you look at the I/O reference guide, you'll find that this field isn't even used by EnergyPlus, it's only used by the IDF Editor to convert from SI to IP units based on your preferences (cf here)

Please refer to the Energy+.idd for version 9.0.1 to find the list of applicable choices, which I included below for convenience.

Replace ControlMode with Control for example (or with a blank, which means it'll use the default of 'Dimensionless')


Extract from V9-0-0-Energy+.idd:

ScheduleTypeLimits,
  [...]
  A3;  \field Unit Type
       \note Temperature (C or F)
       \note DeltaTemperature (C or F)
       \note PrecipitationRate (m/hr or ft/hr)
       \note Angle (degrees)
       \note Convection Coefficient (W/m2-K or Btu/sqft-hr-F)
       \note Activity Level (W/person)
       \note Velocity (m/s or ft/min)
       \note Capacity (W or Btu/h)
       \note Power (W)
       \type choice
       \key Dimensionless
       \key Temperature
       \key DeltaTemperature
       \key PrecipitationRate
       \key Angle
       \key ConvectionCoefficient
       \key ActivityLevel
       \key Velocity
       \key Capacity
       \key Power
       \key Availability
       \key Percent
       \key Control
       \key Mode
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2020-01-09 23:43:46 -0500

Seen: 328 times

Last updated: Jan 10 '20