Hello,
Im using SewerGEMS V8i SS4 08.11.04.54 on Windows 7. The following error "Specified cast is not valid" appears to me when i try to run the model. I think the problem is with catchment runoff method. Because when I change runoff method from EPA SWMM to another everything is working properly. Active numerical solver is set to Explicit(SWMM Solvers) . What can cause this error?
Thanks for your time!
Regards,
Matija.
Matija, It looks like the problem is that you have the "Use Local Rainfall?" property of your catchment set to True, but you don't have a local rainfall event selected. In order to resolve the issue please either change the "use local rainfall?" to False if it was done in error or enter the local rainfall event by selecting it from the drop down menu.
You can also find the solution in this wiki technote:
http://communities.bentley.com/products/hydraulics___hydrology/w/hydraulics_and_hydrology__wiki/17443.i-get-an-error-message-that-says-an-item-with-the-same-key-has-already-been-added-or-specified-cast-is-not-valid
This issue has also been logged with our development team for a fix in a future release of the software. Regards, Mark
Mark
Answer Verified By: Matija Oliver