2

Unable to import .idf in OS 2.9.1

I want to import .idf (ASHRAE building prototype) file in Open Studio (2.9.1). But it showing error:

"File is not valid to draft strictness. Check that IDF is of correct version and that all fields are valid against Energy+.idd.

The collection is INVALID at strictness level 'Draft', because of the errors: Field level data error of type Data Type Error is in an object of type 'Global Geometry Rules', name", in filed 0. Additional information about the error type: field level data is of an incorrect type."

Can you please help me to import idf file?

VS's avatar
55
VS
asked 2019-12-19 02:50:16 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-01-20 10:18:23 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

4

Make sure your .idf file is updated to EnergyPlus 9.2.0 before trying to import it in OpenStudio v2.9.1. Earlier versions of EnergyPlus are not directly compatible with OS v2.9.1 per the compatibility matrix.

mdahlhausen's avatar
9.5k
mdahlhausen
answered 2019-12-19 16:21:28 -0500
edit flag offensive 0 remove flag delete link

Comments

I updated .idf file to EnergyPlus 9.2.0. It is opening in EnergyPlus but not in OpenStudio (2.9.1). What can I do for this?

VS's avatar VS (2019-12-23 04:57:08 -0500) edit
1

What error are you getting when you try to open it in OpenStudio v2.9.1? It's possible you are using objects not available in the OpenStudio API, or there is some issue with the model that is captured by OpenStudio's validation but not the EnergyPlus forward translator.

mdahlhausen's avatar mdahlhausen (2019-12-23 11:21:21 -0500) edit

I had the same error even after ensuring that I have the correct version of E+. The issue was that the IDF file uses "ULC" for the starting vertex position field in the GlobalGeometryRules class. After changing it to "UpperLeftCorner", things worked fine!

I hope this will help others who may run into the same error.

Ammar De's avatar Ammar De (2021-02-09 23:56:18 -0500) edit
add a comment see more comments