I am trying to run a EnergyPlus simulation through Python. I am specifically attempting to reproduce the results that PNNL got running their prototypes through EPlus.
I have tried running them through V24-2-0 and V23-1-0 (the version they were written in). For some reason, they keep producing errors.
This is the code that I am using to run the simulation:
subprocess.run([
'/jumbo/keller-lab/Applications/EnergyPlus-24-1-0/energyplus',
'--weather', weather_file,
'--output-directory', idf_output_dir,
'--idd', idd_file_path,
'--annual',
'--readvars',
'--expandobjects',
idf_copy_path
])
and here are the contents of the .err that I am getting.
Program Version,EnergyPlus, Version 24.1.0-9d7789a3ac, YMD=2025.03.07 10:44,
*** Beginning Zone Sizing Calculations * Severe * BuildingSurface:Detailed="BGWALL_LOWER_LDF", invalid Outside Boundary Condition Object="SURFPROPOTHSDCOEFBASEMENTAVGWALL". * ~~~ * no OtherSideCoefficients of that name. * Severe * BuildingSurface:Detailed="BGWALL_LOWER_SDR", invalid Outside Boundary Condition Object="SURFPROPOTHSDCOEFBASEMENTAVGWALL". * ~~~ * no OtherSideCoefficients of that name. * Severe * BuildingSurface:Detailed="BGWALL_LOWER_LDB", invalid Outside Boundary Condition Object="SURFPROPOTHSDCOEFBASEMENTAVGWALL". * ~~~ * no OtherSideCoefficients of that name. * Severe * BuildingSurface:Detailed="BGWALL_LOWER_SDL", invalid Outside Boundary Condition Object="SURFPROPOTHSDCOEFBASEMENTAVGWALL". * ~~~ * no OtherSideCoefficients of that name. * Severe * BuildingSurface:Detailed="EXTFLOOR_UNIT1", invalid Outside Boundary Condition Object="SURFPROPOTHSDCOEFBASEMENTAVGFLOOR". * ~~~ * no OtherSideCoefficients of that name. * Severe * BuildingSurface:Detailed="FLOOR_GARAGE1", invalid Outside Boundary Condition Object="SURFPROPOTHSDCOEFSLABAVERAGE". * ~~~ * no OtherSideCoefficients of that name. * Fatal * GetSurfaceData: Errors discovered, program terminates. ...Summary of Errors that led to program termination: ..... Reference severe error count=6 ..... Last severe error=BuildingSurface:Detailed="FLOOR_GARAGE1", invalid Outside Boundary Condition Object="SURFPROPOTHSDCOEFSLABAVERAGE". *** Warning: Node connection errors not checked - most system input has not been read (see previous warning). *** Fatal error -- final processing. Program exited before simulations began. See previous error messages. *** EnergyPlus Warmup Error Summary. During Warmup: 0 Warning; 0 Severe Errors. *** EnergyPlus Sizing Error Summary. During Sizing: 0 Warning; 6 Severe Errors. *** EnergyPlus Terminated--Fatal Error Detected. 0 Warning; 6 Severe Errors; Elapsed Time=00hr 00min 0.11sec
How can I fix this within Python? I know it has something to do with running the slab and basement preprocessors, but I can't figure out how to do that using subprocess.
Thanks!