mw_Project
tables.auto_generated.mw_Project
Classes
| Name | Description |
|---|---|
| mw_ProjectTable | Table for mw_Project (Simulation setup). |
| mw_ProjectTableColumns | Column names for mw_Project (Simulation setup). |
mw_ProjectTable
tables.auto_generated.mw_Project.mw_ProjectTable(net_table)Table for mw_Project (Simulation setup).
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.mw_Project.mw_ProjectTable.delete()Create a DELETE query for this table.
Returns
| Name | Type | Description |
|---|---|---|
| DeleteQuery | A new DeleteQuery object |
get_muids
tables.auto_generated.mw_Project.mw_ProjectTable.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.mw_Project.mw_ProjectTable.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.mw_Project.mw_ProjectTable.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.mw_Project.mw_ProjectTable.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 |
mw_ProjectTableColumns
tables.auto_generated.mw_Project.mw_ProjectTableColumns(table)Column names for mw_Project (Simulation setup).
Attributes
| Name | Description |
|---|---|
| Accuracy | Accuracy |
| ActiveProject | Active simulation |
| Alpha | Alpha [()] |
| BulkCoeff | Bulk reaction rate coefficient |
| CCT_Materials | Material |
| CheckFreq | Check frequency |
| ContinueTimeStepNo | Continue time step |
| CorrCoeff | Correlation coefficient |
| DampLimit | Damp limit |
| Description | Description |
| Diffusivity | Molecular diffusivity |
| Emitter | Emitter exponent |
| EndTime | End time |
| G | Gravity acceleration [m/s^2] |
| Gravity | Specific gravity |
| HDFileName | HD file name |
| HDFolderPath | HD folder path |
| HDOutputNo | HD output No |
| Hatm | Atmospheric pressure [m] |
| Hvap | Vapour cavity pressure [m] |
| Hydr_Timestep | Hydraulic time step [sec] |
| IncludeToBatchNo | Include to batch |
| LimitPot | Limit plot |
| MUID | ID |
| MaxCheck | Max check |
| MaxFlowChange | Max. Flow Change [m/s] |
| MaxHeadError | Max. Head Error [m] |
| MsxHydFile | Hydraulics file |
| MsxRunTypeNo | Water quality simulation type |
| MsxSaveHydrolicsNo | Save hydraulics file |
| NewBulkCoeff | New bulk coefficient |
| NewBulkCoeffHRS | Time of new bulk coefficient |
| OrderBulk | Order bulk |
| OrderWall | Order wall |
| Pattern_Timestep | Pattern time step [sec] |
| Qual_Timestep | Quality time step [sec] |
| QualityNo | Quality No |
| Report_StartTime | Report start time |
| Report_Timestep | Report time step [sec] |
| SaveRawResultsNo | Report raw results |
| ScenarioID | Scenario ID |
| Segments | Max num. of segments |
| SimType | Simulation type |
| Sqn | Sqn |
| StartTime | Time start |
| StatisticsNo | Statistics |
| Temperature | Temperature [deg C] |
| Theta | Theta [()] |
| Tolerance | WQ tolerance [mg/l] |
| Trials | Max num. of trials |
| UnbalancedNo | Unbalanced system |
| UseCorrCNo | Roughness correlation |
| UseLimitPNo | Limiting potential |
| UseOrderBNo | Bulk reaction order |
| UseOrderWNo | Pipe wall reaction order |
| Viscosity | Viscosity |
| WallCoeff | Pipe wall reaction rate coefficient |