Strange idf version error after converting to FMU

14 views
Skip to first unread message

Jim Beam9

unread,
Apr 13, 2020, 5:10:53 AM4/13/20
to energyplus-fmu
Hey,

I am using EnergyPlusToFMU and pyFMI to run co-simulation models. I have an old idf file that is being updated to work with EnergyPlusToFMU and have ran into to some problems that I can't seem to an answer to.

I have converted the idf to an FMU, the FMU is generated with no problems and the variable.cfg file shows the correct input/outputs. As far as I know the idf has been updated incrementally as is the correct procedure when updating an idf file and I have made sure the version of energy+ is correct on my system and is the same that is defined in the idf. 

The error I receive when initializing the fmu with pyFMI is,

Reading input and weather file for preprocessor program.
The IDF version found is :-35
The IDF version found is :-16
The IDF version found is :-16
The IDF version found is :-16
The IDF version found is :-16
The IDF version found is :-16
The IDF version found is :-16
The IDF version found is :-16
The IDF version found is :-16
The IDF version found is :-16
The IDF version found is :-16
The IDF version of the input file ///tmp/slickrick/JModelica.org/jm_tmpaqhkj327//resources//test.idf starts with -16
Successfully finish reading weather file.
This is the Begin Month: 1
Time (0) set is smaller than minimun allowed (1 day). Day will be set to 1.
This is the Day of the Begin Month: 1
This is the End Month: 1
This is the Day of the End Month: 1
=== Input Error ===
File ///tmp/slickrick/JModelica.org/jm_tmpaqhkj327//resources//test.idf, line 98: Expected a number, received 'Yes', while reading entry #12 according to dictionary descriptor 'ANNNNAAAAAA<N>AN' (at <>).

=== Error ===
IDF parsing error.
Error encountered while reading values for keyword 'RUNPERIOD', starting on line 86 of IDF file.

My RunPeriod in the idf is

RunPeriod,
Winter Simulation, !- Name
1, !- Begin Month
1, !- Begin Day of Month
2019, !- Begin Year
12, !- End Month
31, !- End Day of Month
2019, !- End Year
Monday, !- Day of Week for Start Day
Yes, !- Use Weather File Holidays and Special Days
Yes, !- Use Weather File Daylight Saving Period
No, !- Apply Weekend Holiday Rule
Yes, !- Use Weather File Rain Indicators
Yes; !- Use Weather File Snow Indicators

I checked the .idd file and the RunPeriod definition does not match this pattern ANNNNAAAAAA<N>AN
I'm fairly new to using or editing idf files so I am lost as to what might be the problem. Hopefully someone with more knowledge can point me in the right direction.


Thierry Nouidui

unread,
Apr 14, 2020, 8:38:39 AM4/14/20
to Jim Beam9, energyplus-fmu
Which version of EnergyPlus are you using?

--
You received this message because you are subscribed to the Google Groups "energyplus-fmu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to energyplus-fm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/energyplus-fmu/2bb38384-5a23-4664-958a-fab46beac83d%40googlegroups.com.

Jim Beam9

unread,
Apr 16, 2020, 7:08:37 AM4/16/20
to energyplus-fmu
Hi Thierry, I appreciate the reply. I am using v9.1 sorry I didn't mention in the original post.
To unsubscribe from this group and stop receiving emails from it, send an email to energyp...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages