Soil#
- class Soil(model, lidcontrol)[source]#
Methods and properties of the soil layer associated with an LID
Layer
Parameter
Setter Before Sim
Setter During Sim
Soil
thickness
enabled
disabled
Soil
porosity
enabled
disabled
Soil
field_capacity
enabled
disabled
Soil
wilting_point
enabled
disabled
Soil
k_saturated
enabled
disabled
Soil
k_slope
enabled
disabled
Soil
suction_head
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_soil = lid_control.soil print(lid_control_soil.porosity) lid_control_soil.porosity = 0.5 print(lid_control_soil.porosity)
Methods
Attributes
Get lid control soil layer field capacity
Get lid control soil layer saturated hydraulic conductivity
Get lid control soil layer slope of log(k) v.
Get lid control soil layer void volume / total volume
Get lid control soil layer suction head at wetting front
Get lid control soil layer thickness
Get lid control soil layer wilting point