LID
Source-generated reference for shared LID controls, subcatchment-local usages, and LID results. See Configure specialized definitions and Collect results for workflows.
LidControl
Shared LID-control handle obtained from simulation.lidControls.
Properties
id
Canonical configured control ID.
Methods
configuration()
Read configured layers in a healthy owner state.
Returns
Promise<LidControlConfiguration>
Detached layer records; absent layers are null. Derived fields retain their last prepared values until preparation.
configure()
Call Signature
Atomically update an existing surface layer in open or ended; accepted edits return the owner to open.
Parameters
| Parameter | Type | Description |
|---|---|---|
layer |
"surface" |
Existing layer to update; this does not add absent layers. |
patch |
LidSurfacePatch |
Sparse layer fields in project units; omission retains a value. |
Returns
Promise<void>
Resolves after all supplied fields are accepted.
Call Signature
Update an existing soil layer. Same state and atomicity contract as the surface overload.
Parameters
| Parameter | Type | Description |
|---|---|---|
layer |
"soil" |
Soil selector. |
patch |
LidSoilPatch |
Sparse soil declarations. |
Returns
Promise<void>
Call Signature
Update an existing storage layer. Same state and atomicity contract as the surface overload.
Parameters
| Parameter | Type | Description |
|---|---|---|
layer |
"storage" |
Storage selector. |
patch |
LidStoragePatch |
Sparse storage declarations. |
Returns
Promise<void>
Call Signature
Update an existing pavement layer. Same state and atomicity contract as the surface overload.
Parameters
| Parameter | Type | Description |
|---|---|---|
layer |
"pavement" |
Pavement selector. |
patch |
LidPavementPatch |
Sparse pavement declarations. |
Returns
Promise<void>
Call Signature
Update an existing underdrain. Same state and atomicity contract as the surface overload.
Parameters
| Parameter | Type | Description |
|---|---|---|
layer |
"drain" |
Drain selector. |
patch |
LidDrainPatch |
Sparse drain declarations. |
Returns
Promise<void>
Call Signature
Update an existing drainage mat. Same state and atomicity contract as the surface overload.
Parameters
| Parameter | Type | Description |
|---|---|---|
layer |
"drainage_mat" |
Drainage-mat selector. |
patch |
LidDrainageMatPatch |
Sparse mat declarations. |
Returns
Promise<void>
Call Signature
Update a dynamically selected existing layer. Same state and atomicity contract as the surface overload.
Parameters
| Parameter | Type | Description |
|---|---|---|
layer |
LidLayerName |
Existing layer selector. |
patch |
LidLayerPatch |
Sparse declarations matching the selected layer. |
Returns
Promise<void>
LidUnit
LID usage handle identified by its subcatchment and local index.
Properties
subcatchmentId
Canonical owning subcatchment ID.
index
Zero-based position within the owning subcatchment's LID usages.
Methods
configuration()
Read usage declarations in a healthy owner state.
Returns
Promise<LidUnitConfiguration>
Detached configuration in project units.
configure()
Atomically update this usage in open or ended; accepted edits return the owner to open.
Parameters
| Parameter | Type | Description |
|---|---|---|
patch |
LidUnitPatch |
Sparse usage declarations; null restores implicit drain routing. |
Returns
Promise<void>
Resolves after all supplied fields are accepted.
snapshot()
Read detached water balance and layer results in running or complete, before end().
Returns
Promise<LidUnitSnapshot>
One usage's current results; later steps do not mutate them.
LidUnitCollection
Asynchronously indexed LID units owned by one subcatchment.
Properties
subcatchmentId
Canonical owning subcatchment ID.
Methods
count()
Read the number of configured usages; unlike model collections this queries the worker.
Returns
Promise<number>
Subcatchment-local usage count.
at()
Resolve one subcatchment-local usage in a healthy owner state.
Parameters
| Parameter | Type | Description |
|---|---|---|
index |
number |
Zero-based usage index, not a configured LID-control index. |
Returns
Promise<LidUnit>
New handle for the selected usage.
Throws
RangeError if the index is non-integral, negative, or out of range.
LidRelationship
Detached canonical relationship identity.
Type Parameters
| Type Parameter | Default type |
|---|---|
K extends LidRelationshipKind |
LidRelationshipKind |
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
kind |
readonly |
K |
Target object family. |
id |
readonly |
string |
Canonical configured target ID. |
LidUnitConfiguration
Detached declarations for one subcatchment-local LID usage.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
area |
readonly |
number |
Area per replicate in ft² or m², not acres or hectares. |
fullWidth |
readonly |
number |
Full surface width in ft or m. |
bottomWidth |
readonly |
number |
Read-only prepared bottom width in ft or m. |
initialSaturation |
readonly |
number |
Initial saturation percentage, 0–100. |
imperviousRunoffTreated |
readonly |
number |
Percentage of impervious runoff treated, 0–100. |
perviousRunoffTreated |
readonly |
number |
Percentage of pervious runoff treated, 0–100. |
control |
readonly |
LidControlRelationship |
Configured LID-control identity. |
count |
readonly |
number |
Number of replicate units. |
routesToPervious |
readonly |
boolean |
Whether surface outflow is routed to the subcatchment's pervious area. |
drainDestination |
readonly |
LidDrainDestination | null |
Explicit drain destination, or null for implicit outlet routing. |
LidSurfaceConfiguration
Surface-layer declarations and prepared read-only values.
Properties
LidSoilConfiguration
Soil-layer declarations.
Properties
LidStorageConfiguration
Storage-layer declarations.
Properties
LidPavementConfiguration
Pavement-layer declarations.
Properties
LidDrainConfiguration
Underdrain declarations; the control-curve relationship is read-only here.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
coefficient |
readonly |
number |
Drain equation coefficient in project units. |
exponent |
readonly |
number |
Drain equation head exponent. |
offset |
readonly |
number |
Drain offset above storage bottom in in or mm. |
delaySeconds |
readonly |
number |
Dry-weather delay before draining in seconds. |
openHead |
readonly |
number |
Head at which the drain opens, in in or mm. |
closeHead |
readonly |
number |
Head at which the drain closes, in in or mm. |
controlCurve |
readonly |
LidCurveRelationship | null |
Configured control-curve identity, or null. |
LidDrainageMatConfiguration
Drainage-mat declarations and prepared runoff coefficient.
Properties
LidControlConfiguration
Configured optional layers for one LID control; absent layers are null.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
surface |
readonly |
LidSurfaceConfiguration | null |
Surface layer, or null when absent. |
soil |
readonly |
LidSoilConfiguration | null |
Soil layer, or null when absent. |
storage |
readonly |
LidStorageConfiguration | null |
Storage layer, or null when absent. |
pavement |
readonly |
LidPavementConfiguration | null |
Pavement layer, or null when absent. |
drain |
readonly |
LidDrainConfiguration | null |
Underdrain layer, or null when absent. |
drainageMat |
readonly |
LidDrainageMatConfiguration | null |
Drainage mat, or null when absent. |
LidSurfacePatch
Sparse surface-layer update; derived fields are not writable.
Properties
LidSoilPatch
Sparse soil-layer update.
Properties
LidStoragePatch
Sparse storage-layer update.
Properties
LidPavementPatch
Sparse pavement-layer update.
Properties
LidDrainPatch
Sparse underdrain update; does not replace the control curve.
Properties
LidDrainageMatPatch
Sparse drainage-mat update; the derived coefficient is not writable.
Properties
| Property | Type | Description |
|---|---|---|
thickness? |
number |
Layer thickness in in or mm. |
voidFraction? |
number |
Mat void-volume fraction. |
roughness? |
number |
Manning roughness coefficient. |
LidUnitPatch
Sparse usage update; omitted fields retain their declarations.
Properties
| Property | Type | Description |
|---|---|---|
area? |
number |
Area per replicate in ft² or m², not acres or hectares. |
fullWidth? |
number |
Full surface width in ft or m. |
initialSaturation? |
number |
Initial saturation percentage, 0–100. |
imperviousRunoffTreated? |
number |
Percentage of impervious runoff treated, 0–100. |
perviousRunoffTreated? |
number |
Percentage of pervious runoff treated, 0–100. |
control? |
string |
Canonical configured LID-control ID. |
count? |
number |
Number of replicate units. |
routesToPervious? |
boolean |
Whether surface outflow is routed to the subcatchment's pervious area. |
drainDestination? |
LidDrainDestination | null |
Explicit destination, or null to restore implicit outlet routing. |
LidUnitSnapshot
Detached LID water balance and layer state. Water-balance totals are equivalent depths, not volumes.
Properties
SubcatchmentLidSnapshot
Detached aggregate LID-group results for one subcatchment.
Properties
LidRelationshipKind
Canonical relationship identity returned by LID configuration reads.
LidControlRelationship
Reference to a configured LID control.
LidDrainDestination
Explicit LID drain destination.
LidCurveRelationship
Reference to a configured drain-control curve.
LidLayerName
Layer selector accepted by LidControl.configure.
LidLayerPatch
type LidLayerPatch =
| LidSurfacePatch
| LidSoilPatch
| LidStoragePatch
| LidPavementPatch
| LidDrainPatch
| LidDrainageMatPatch;
Sparse patch for the selected LID layer; omission retains each field.