First time here? Check our help page!
3

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

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.

kc8301s's avatar
63
kc8301s
asked 2019-04-11 04:12:09 -0500
shorowit's avatar
11.8k
shorowit
updated 2019-04-11 12:02:45 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

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).

David Goldwasser's avatar
20.4k
David Goldwasser
answered 2019-04-11 12:15:32 -0500
edit flag offensive 0 remove flag delete link

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 -0500) edit
add a comment see more comments