Alex Fung
unread,11:08 AM (13 hours ago) 11:08 AMSign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to energyplus-fmu
Hi All,
I'm using EnergyPlustoFMU 3.1.0 to build up a EnergyPlus co-simulation in Python with a error below.
////
PS C:\Users\siufu\Documents> python C:\Users\siufu\Documents\EnergyPlusToFMU-v3.1.0\Scripts\EnergyPlusToFMU.py -i
C:\EnergyPlusV22-1-0\Energy+.idd -w C:\Users\siufu\Documents\Cosim\EP\USA_AZ_Tucson-Davis-Monthan.AFB.722745_TMY3.epw -a 2 -d -L C:\Users\siufu\Documents\Cosim\EP\Co.idf
! EnergyPlusToFMU.py -- Setting IDF file to {C:\Users\siufu\Documents\Cosim\EP\Co.idf}
! EnergyPlusToFMU.py -- Begin exporting IDF file {C:\Users\siufu\Documents\Cosim\EP\Co.idf} as an FMU
! EnergyPlusToFMU.py -- Using model identifier {Co}
! EnergyPlusToFMU.py -- Checking for export-prep application
! makeExportPrepApp.py -- Begin creating executable {idf-to-fmu-export-prep-win.exe}
! makeExportPrepApp.py -- Using system-specific scripts from batch directory {win}
! utilManageCompileLink.py -- Begin compile-link build of {idf-to-fmu-export-prep-win.exe}
! utilManageCompileLink.py -- Cleaning up existing build directory {bld-idf-to-fmu-export-prep-win-exe}
! utilManageCompileLink.py -- Jumping to build directory {bld-idf-to-fmu-export-prep-win-exe}
! utilManageCompileLink.py -- Compiling files using {C:\Users\siufu\Documents\EnergyPlusToFMU-v3.1.0\Scripts\win\compile-cpp.bat}
! utilManageCompileLink.py -- Compiling {fmu-export-write-model-desc.cpp}
Problem configuring the Visual Studio tools for command-line use
ERROR from script file {utilManageCompileLink.py}
Failed to create object file for source code file {C:\Users\siufu\Documents\EnergyPlusToFMU-v3.1.0\SourceCode\v20\fmu-export-prep\fmu-export-write-model-desc.cpp}
PS C:\Users\siufu\Documents>
////
I searched similar threads beforehand and relocated the folders to ensure writing right is granted, nevertheless, the captioned error persist. Version of various softare are listed below
- Compiler: MS Visual Studio 2022
- Python: 3.9.18
- EnergyPlus: 22.1
I would be grateful if you can suggest the potential cause and solution. Many thanks for your help and kind assistance!
Yours Sincerely,
Alex