Every time I try and export my scenario to an inp I get the error "Object reference not set to an instance of an object." I downloaded the latest version of watergems today and tried again - same error. It only exports my junctions. Any help would be appreciated.
Assuming there are no user notifications of note created when you are trying to export, it may be useful to see a copy of the model files to look into this further.
Hi Scott, I sent in my model on Monday. Is there a way to confirm that y'all received it? Thanks!
Thank you for uploading the model files, while exporting WaterGEMS model into EPANET format, if you choose No - use element ID's as reference and not use labels then model exports without any error.
The problem is with long labels of pipes, PRVs and patterns, apparently long labels are not supported by EPANET 2.XX.XX version, which can be seen in below screenshot. Once you export the model with option to choose export labels below user notifications are seen.
Workaround is to relabel the pipes, PRVs and pattern names and then export EPANET if you wish to use labels are reference, else you can choose to export IDs instead which would be a quick way.
Bentley Technical Suppport
Hi Sushma, thanks for your reply! Unfortunately I get the same error even when I export IDs.
Could you please confirm what version of WaterGEMS you have now, is it latest? A screenshot of user notifications you receive in WaterGEMS once you export INP file would be helpful.
I tried in both WaterGEMS 10.02.01.06 and latest version, exporting IDs didn't give any error.