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

Importing EnergyPlus .idf file to OpenStudio. 'File is not valid to draft strictness'

asked 2019-04-11 04:12:09 -0600

kc8301s's avatar

updated 2019-04-11 12:02:45 -0600

Hello, I have a problem when I tried to import a .idf file to OpenStudio. Here are the details about the error.

The collection is INVALID at strictness level 'Draft', because of the errors:
Field      level data error of type DataType          .
Error is in an object of type 'RunPeriod', named 'Run Period 1', in field 5.
Additional information about the error type: field-level data is of an incorrect type.
Field      level data error of type NumericBound      .
Error is in an object of type 'RunPeriod', named 'Run Period 1', in field 4.
Additional information about the error type: numeric data violates a min or max bound.

Is this text referring to a syntax error? Here is the RunPeriod text part of the .idf file.

RunPeriod,
    Run Period 1,            !- Name
    1,                       !- Begin Month
    1,                       !- Begin Day of Month
    12,                      !- End Month
    31,                      !- End Day of Month
    Monday,                  !- Day of Week for Start Day
    No,                      !- Use Weather File Holidays and Special Days
    No,                      !- Use Weather File Daylight Saving Period
    No,                      !- Apply Weekend Holiday Rule
    Yes,                     !- Use Weather File Rain Indicators
    Yes,                     !- Use Weather File Snow Indicators
    1,                       !- Number of Times RunPeriod to be Repeated
    ,                        !- Increment Day of Week on repeat
    2018;                    !- Start Year

I have checked the object RunPeriod in my .idf file and it doesn't make sense to me because the fields 4 and 5 were already filled in correctly (or have I mistaken?). The current .idf file and EnergyPlus version that I am using are 8.9. Could you tell me how I should tackle this problem or if you have any solution? I have tried to solve it but I couldn't find any solution so I am asking for your help. If you need additional information to understand the problem please tell me. Thank you in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2019-04-11 12:15:32 -0600

What version of OpenStudio are you using? If your IDF file from EnergyPlus 8.9 then you should use OpenStudio 2.5 or 2.6. If you are using OpenStudio 2.7 you first need to use version translation in EnergyPlus to upgrade your IDF file to EnergyPlus 9.0, or to version 9.1 if using OpenStudio 2.8 (due out soon).

edit flag offensive delete link more

Comments

Hello David, I am now using OpenStudio 2.7. I have upgraded my IDF file to EnergyPlus 9.0 and now it is working. Thank you very much. Kittipat

kc8301s's avatar kc8301s  ( 2019-04-11 14:52:33 -0600 )edit

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: 2019-04-11 04:12:09 -0600

Seen: 609 times

Last updated: Apr 11 '19