No constituents available in the constituent alternative

Product(s): WaterGEMS, WaterCAD
Version(s): 10.00.xx.xx, 08.11.xx.xx
Area: Modeling

Problem

I'm trying to do an analysis on chlorine and can't create the alternative since I have no constituents to load in from the Library. Where are the libraries located and how can constituent data be added to them?

Problem ID#: 78964

Solution

You can find the location that a particular XML library file is located by opening the Engineering Libraries. Find the particular library you want to use (in this case, ConstituentLibrary.xml) and highlight it. The location of the file will be shown on the right part of the dialog.


The constituent library does not have a lot of default data in it, but you can easily add constituent data to the library. The following link has information on how to add items to an existing library: Modifying and adding entries to the Engineering Library. You can find constituent information online, but you can find some information in one of the example files that comes with WaterGEMS and WaterCAD.

Open Example1.wtg, which can be found at C:\Program Files (x86)\Bentley\WaterGEMS\Samples. This sample includes a scenario with a constituent analysis using chlorine, though other constituents are available as well. If these constituents are suitable, you can either copy the data into your model directly to the Constituents manager or export the data into the constituent library in the Engineering libraries.

To export the data into the library, go to the Constituents manager in Example1.wtg and highlight the item you want to export. Next, click the Synchronization Options
button, then "Export to Library."

Next, click the New button, then "Create Library". Note the file path and change this to a different location if you wish. Note that you can always find the location by highlighting the XML file. Give it a name and then choose Select. This library will now be available in your model.

You can also add it directly the existing constituent library file. To do this, go to Components > Engineering Libraries. Next, expand the Constituents library and highlight ConstituentsLibrary.xml. Click the New icon and select Add item. A new item will appear beneath the xml name. Rename the item and then enter the data for chlorine.

Once the data is in the engineering library, you can import it into the Constituents manager. To do this, open the Constituents manager and select the Synchronization Options, then choose "Import from Library." Place a check mark in the item you want to export and then choose Select. The constituent will then be added to the manager.

See Also

What is the difference between the different Constituent Source Types used in a Constituent analysis? 

  • Created by Bentley Colleague
  • When:
  • Last revision by Bentley Colleague
  • When:
  • Revisions: 3
  • Comments: 0
Recommended
Related