plot_tank_volume_curve#

module wntr.graphics.curve

plot_tank_volume_curve(tank, title='Tank volume curve', ax=None)[source]#

Plots a tank volume curve and the corresponding axi-symmetric tank profile shape

Parameters:
  • tank (wntr.network.elements.Tank object) – Tank

  • title (string, optional) – Plot title

  • ax (matplotlib axes object, optional) – Axes for plotting (None indicates that a new figure with two subplots will be used)

Returns:

ax – ax[0] is the left hand plot, ax[1] is the right hand plot

Return type:

matplotlib axes object