Model backward / forward compatibility

Applies To 
Product(s): WaterGEMS, WaterCAD, HAMMER, StormCAD, SewerCAD, CivilStorm, SewerGEMS, PondPack, FlowMaster, CulvertMaster
Version(s): All
Area:  Modeling
Original Author: Dan Iannicelli, Bentley Technical Support Group

Problem

Can I open a model saved in an older version? (is the software backward compatible?)

How can I send my model to a user who has an older version? Can it be "saved down"? The following error may occur when attempting to open a file saved in a newer version (or one of the errors in this article):

"The model you are trying to open was saved in a newer version and cannot be opened in this version."

Solution - Opening models from older versions

Generally speaking the OpenFlows products are backward compatible. Meaning, you can expect to be able to open a model file that was last saved in an older version. For some products, you may need to make a different selection for the "files of type" dropdown in the file open dialog, while most versions will simply open the older model directly.

Note: see the following article for opening older WaterCAD, WaterGEMS or Cybernet models with a .WCD file extension: Opening old WaterCAD or WaterGEMS WCD model files and preserving presentation settings

Solution - Opening models from newer versions

Currently, a model cannot be saved 'down' and most versions are not forward compatible. Meaning, you generally are not able to open a model that is saved in a newer (forward) version. For example, if you've created and saved a model in WaterGEMS CONNECT Edition Update 3, a user with an earlier version (such as Update 2) will not be able to open it. Generally speaking, "major" new releases ("Update" numbers for CONNECT Edition and "SELECTseries" versions for V8k) introduce a "schema" update whereby older versions cannot open the model, whereas "minor" releases are typically compatible with one another. A "major" release has a version number whose second or third group of digits increase, whereas a "minor" release only changes the number in the last group of digits. For example a model saved in version 10.02.03.06 can be opened in 10.02.01.06, but not in version 10.01.01.04.

To find the version that the model file was saved in, see: How to find the version a model was created in and last saved in

New major versions of the programs have introduced many new element types and features, which could not be interpreted by an older version. Another reason is that the structure of the database files used to store model data (the 'schema') changes between major versions to accommodate improvements and new features. The older versions cannot interpret the new database format.

Below are the options available:

Option 1: Upgrade

The recommended solution is to upgrade to the latest version of the software, or at least the version used to modify the model you want to open.

Downloading OpenFlows / Hydraulics and Hydrology Software

Option 2: Export to EPANET (Water) or EPA SWMM / LandXML (Storm and Sewer)

If the user is not able to upgrade to your version, the best workaround for the Water products (HAMMER, WaterCAD, & WaterGEMS) would be to export the model to the standard EPANET format (File > Export > EPANET). This format can be opened in most older versions (File > Import > EPANET). For example in older v8i versions, you can import EPANET via File > Import > Network. Note that there are limitations with this method such as only being able to export one scenario, and other items described in this wiki article .

The best workaround for SewerGEMS and CivilStorm would be to export the model to the EPA SWMM format (File > Export > SWMM v5). After that the SWMM file can then be opened by most older version of the software (File > Import > SWMM V5). As with the EPANET for the water products, you may also run into some limitations or have the potential to lose some information in the process of the export/import. In SewerCAD and StormCAD, you can export the model to the LandXML format (File > Export > LandXML) and import the LandXML file into the older version of SewerCAD or StormCAD.

Option 3: Export to Shapefiles

Another workaround would be to export all elements in your model to shapefiles and then import those shapefiles with the older version of the software using ModelBuilder. 

The first thing you need to do if you're using this method would be to make sure all your FlexTables have all the information you input for the properties of each element and then export each element to Shapefiles. Export your elements to Shapefiles is described in the following wiki:

Converting your model elements to Shapefiles

After you do this you would need to use the ModelBuilder tool in the older version of the software (Tools > ModelBuilder) to import all those elements back in. Using ModelBuilder to construct a network is described in this wiki found below and there is also information in our help documentation on how to use ModelBuilder:

Building and updating a model using ModelBuilder

This method can take some time to work through. It will assure the data is imported accurately. However, each scenario will need to be done separately.

FLOWMASTER

In case of Flowmaster, files saved in higher versions like 10.02.00.01 cannot be opened in lower version 08.11.01.03 since the database formats are different, Newer versions support .sqlite database whereas older versions support .mdb database format, so to open file saved in higher version into lower version, .mdb file is required. But once model is opened in higher version .sqlite file is created. 

See Also

"Unsupported dataset type schema" error or "Object reference" error when opening a model

"Unexpected drawing version..." error when opening model

Recommended
Related