DrainMat#

class DrainMat(model, lidcontrol)[source]#

Methods and properties of the drain mat layer associated with an LID

Layer

Parameter

Setter Before Sim

Setter During Sim

DrainMat

thickness

enabled

disabled

DrainMat

void_fraction

enabled

disabled

DrainMat

roughness

enabled

enabled

DrainMat

alpha

enabled

disabled

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_drain_mat = lid_control.drain_mat

    print(lid_control_drain_mat.roughness)
    lid_control_drain_mat.roughness = 0.05
    print(lid_control_drain_mat.roughness)

Methods

Attributes

alpha

Get lid control drainmat layer slope/roughness term in Manning equation

roughness

Get lid control drainmat layer Mannings n for green roof drainage mats

thickness

Get lid control drainmat layer thickness

void_fraction

Get lid control drainmat layer void volume / total volume