Storage#

class Storage(model, lidcontrol)[source]#

Methods and properties of the storage layer associated with an LID

Layer

Parameter

Setter Before Sim

Setter During Sim

Storage

thickness

enabled

disabled

Storage

void_fraction

enabled

disabled

Storage

k_saturated

enabled

disabled

Storage

clog_factor

enabled

enabled

from pyswmm import Simulation, LidControls

with Simulation('lid_model.inp') as sim:
    lid_control = LidControls(sim)['LID_C1']

    # Handles to get/set params for each layer
    lid_control_storage = lid_control.storage

    print(lid_control_storage.porosity)
    lid_control_storage.porosity = 0.5
    print(lid_control_storage.porosity)

Methods

Attributes

clog_factor

Get lid control storage layer clogging factor

k_saturated

Get lid control storage layer saturated hydraulic conductivity

thickness

Get lid control storage layer thickness

void_fraction

Get lid control storage layer void volume / total volume