msm_Culvert

tables.auto_generated.msm_Culvert

Classes

Name Description
msm_CulvertTable Table for msm_Culvert (Culverts).
msm_CulvertTableColumns Column names for msm_Culvert (Culverts).

msm_CulvertTable

tables.auto_generated.msm_Culvert.msm_CulvertTable(net_table)

Table for msm_Culvert (Culverts).

Attributes

Name Description
columns Get the columns for the table.
description Get the table description.
display_name Get the display name for the table.
name Get the table name.

Methods

Name Description
delete Create a DELETE query for this table.
get_muids Get a list of MUIDs for the table.
insert Insert a row with the given values.
select Create a SELECT query for this table.
update Create an UPDATE query for this table.
delete
tables.auto_generated.msm_Culvert.msm_CulvertTable.delete()

Create a DELETE query for this table.

Returns
Name Type Description
DeleteQuery A new DeleteQuery object
get_muids
tables.auto_generated.msm_Culvert.msm_CulvertTable.get_muids(
    order_by=None,
    descending=False,
)

Get a list of MUIDs for the table.

Parameters
Name Type Description Default
order_by str or None Column to order the MUIDs by None
descending bool Whether to order in descending order False
Returns
Name Type Description
list of str A list of MUIDs
insert
tables.auto_generated.msm_Culvert.msm_CulvertTable.insert(values, execute=True)

Insert a row with the given values.

Parameters
Name Type Description Default
values dict of str to Any Column-value pairs to insert required
execute bool Whether to execute the query immediately (default: True) True
Returns
Name Type Description
str or InsertQuery If execute is True, returns the ID of the newly inserted row (MUID) If execute is False, returns an InsertQuery instance
select
tables.auto_generated.msm_Culvert.msm_CulvertTable.select(columns=[])

Create a SELECT query for this table.

Parameters
Name Type Description Default
columns list of str The columns to select []
Returns
Name Type Description
SelectQuery A new SelectQuery object
update
tables.auto_generated.msm_Culvert.msm_CulvertTable.update(values)

Create an UPDATE query for this table.

Parameters
Name Type Description Default
values dict of str to Any Column-value pairs to set in the UPDATE required
Returns
Name Type Description
UpdateQuery A new UpdateQuery object

msm_CulvertTableColumns

tables.auto_generated.msm_Culvert.msm_CulvertTableColumns(table)

Column names for msm_Culvert (Culverts).

Attributes

Name Description
AllowRecalculationNo Allow for recalculation
ApplyFactorNo Apply flow factor
Chainage Chainage [m]
DataSource Data source
Description Description
DownstreamInvert Downstream invert [m]
Element_S Status
Enabled Apply
FactorValue Flow factor [()]
GeomChainage Geometry chainage [m]
GeomDiameter Diameter [m]
GeomHeight Height [m]
GeomLinkID Geometry link name
GeomTopoID Geometry topo ID
GeomType Type
GeomWidth Width [m]
HeadLossCmTypeNo Computational method
HorizOffset Horizontal offset from marker 2 [m]
IrregularTypeNo Table type
Length Length [m]
LinkID River ID
MUID ID
ManningN Manning’s n [s/m^(1/3)]
NegBends Negative bends
NegFreeOverflow Negative free overflow
NegInflow Negative inflow
NegOutflow Negative outflow
NoQhRelations No. of Q/h relations
NonReturnNo Non return flap
NonReturnTypeNo Return flap type
NumOfCulvert Number of culverts
PosBends Positive bends
PosFreeOverflow Positive free overflow
PosInflow Positive inflow
PosOutflow Positive outflow
SectionTypeNo Section type
UpstreamInvert Upstream invert [m]