Skip to content

SWMM simulations don't work when running as x64 #231

@jamaa

Description

@jamaa

Since v1.9.2, BlueM.Opt is only released as a x64 version. When running as x64, SWMM simulations fail with the message

There was an error during dll loading : [...]\SWMM\temp\SWMM501.dll, error - 193

This is most likely due to the fact that the native SWMM5.dll currently included in BlueM.Opt was compiled for x86.

To fix:

  • Replace SWMM5.dll with a x64 version, probably from here: https://www.epa.gov/water-research/storm-water-management-model-swmm
  • 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    SWMMbugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions