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 5 years ago

yingli.lou@colorado.edu's avatar

updated 5 years ago

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 5 years ago

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
Preview: (hide)
link

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 5 years ago

Seen: 457 times

Last updated: Jan 10 '20