[ ] Check whether updating SWMM from v5.0.018 (the currently included version) to a newer version (latest available version is currently v5.2.2) also requires modifications to SWMM.DLLAdapter
[ ] Replace IHWB.SWMM.DllAdapter.dll with a newly compiled x64 version of SWMM.DLLAdapter (note the filename and namespace changes, which will also require some changes to BlueM.Opt code)
Since v1.9.2, BlueM.Opt is only released as a x64 version. When running as x64, SWMM simulations fail with the message
This is most likely due to the fact that the native
SWMM5.dll
currently included in BlueM.Opt was compiled for x86.To fix:
SWMM5.dll
with a x64 version, probably from here: https://www.epa.gov/water-research/storm-water-management-model-swmmIHWB.SWMM.DllAdapter.dll
with a newly compiled x64 version of SWMM.DLLAdapter (note the filename and namespace changes, which will also require some changes to BlueM.Opt code)