How to enter storage curve as depth vs volume in XPSWMM

source: Innovyze Support Portal

When modeling storage, entering a depth storage curve seems to be the only option in XPSWMM. What if you need to enter a depth-volume curve instead?

Designed for advanced users, we can overwrite default behavior of the XPSWMM using configuration keywords.

With the VE keyword, XPSWMM will take the storage curve as depth-volume. However, setting up a model in this manner can be quite confusing because the user interface still says it is depth vs area, you can only tell this by checking this VE parameter or looking into the detailed 1D log.

Another challenge is that this applies to the whole model, if you have a mix of depth-area and depth-volume curves, then they need to be converted to the same format.

Here is the recommended approach,

  1. setup the VE configuration keyword

Converting depth-volume to depth-area

When the VE parameter is used, XPSWMM starts with the user defined stage information provided, then breaks this into a smaller interval, and uses an algorithm to approximate the equivalent areas for the volume you have provided.

After the running the model, go to the 1D log.

The section titled: “Storage Junction Data” right after Table E3b has the storage information.

Below is a sample of storage without using the VE keyword,

With the keyword VE turned on,

As shown above, when the junction type is Elev/Vol, XPSWMM interpolates the curve into smaller intervals to approximate the depth-volume curve as depth-area curve. Pay attention to the units when copying the curve. In this case, we would copy the “depth ft” column and “Area acres” columns as the depth-area curve.

Note that storage volume when using the stepwise linear method is represented as a Frustum, and the volume is calculated using the following formula for volume of a Frustum:

V = h/3 (B1 + SQRT(B1*B2) + B2)

where V is the volume of storage
h is the height
B1 and B2 the surface areas



Empowering Water Experts

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store