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.