Any ideas to correct this GenOpt 3.1 error?
Running the GPSHookeJeeves GenOpt example using Eplus v8.2 gives me this error in GenOpt:
File: 'C:\GenOpt\example\energyplus\8_2_0\GPSHookeJeeves\tmp-genopt-run-1\singleZonePurchAir.eso' does not exist after simulation call.
In the 'tmp-genopt-run-1' folder the singleZonePurchAir.err file shows these warnings:
** Warning ** Version: in IDF="7.0" not the same as expected="8.2"
** Warning ** The following Report Variables were requested but not generated
** ~~~ ** because IDF did not contain these elements or misspelled variable name -- check .rdd file
************* Key=*, VarName=IDEAL LOADS TOTAL COOLING ENERGY, Frequency=Annual
************* Key=*, VarName=IDEAL LOADS TOTAL HEATING ENERGY, Frequency=Annual
************* Key=*, VarName=LIGHTS ELECTRIC CONSUMPTION, Frequency=Annual
I used an idf version update tool to go from v 7.0 to 8.2, and I altered the GenOpt cfg and the .ini files from the example folder. Updating did alter the output variables to be
Output:Variable,*,Zone Ideal Loads Supply Air Total Cooling Energy,Environment;
Output:Variable,*,Zone Ideal Loads Supply Air Total Heating Energy,Environment;
Output:Variable,*,Lights Electric Energy,Environment;
for v8.2 instead of the original:
Output:Variable,*,Ideal Loads Total Cooling Energy,Environment;
Output:Variable,*,Ideal Loads Total Heating Energy,Environment;
Output:Variable,*,Lights Electric Consumption,Environment;
for v7.0.
I am confused as to why the version warning still persists, and I am also not sure where the Key=*, VarName= warnings/errors are coming from. Thus far I haven't been able to located these particular variables in v8.2 .rdd files.
Any ideas?
I did take a look at this post: Can GenOpt 3.1 be coupled to E+ 8.2 or just E+ 7.0
Did you put the version object in both the idf file and the genopt cfg file to be 8.2?
Thank you for your help Julien! I thought I had updated all version objects, but looking inside of the .ini file and looking at the reference files there is also the template file, which I had missed
Simulation { Files { Template { File1 = singleZonePurchAir_template.idf; } Input { File1 = singleZonePurchAir.idf; } Log { File1 = singleZonePurchAir.err; } Output { File1 = singleZonePurchAir.eso; }
I only had altered the version object for the .idf file and not the template. After updating the template file all is well and it works now.
Glad you got it working. I'll post it as an answer so we can close the topic.
@Julien Marrec I got the same error using TRNSYS and genopt. Have you tried the combination of these programs before and know the answer for that ?
I'm not a TRNSYS user. Given that you use TRNSYS and not E+, the resolution cannot be the same, so I suggest opening your own issue.