SWMM5IntFileBridge Class

Class for reading SWMM5 Interface File data and populate a ResultData object.

The SWMM5 Interface File contains outlet node flows.

The asRR argument to the constructor flags if data is stored as catchment TotalRunOff or node DischargeOutflow.

The "usual" integration in MIKE 1D is to convert the flow to runoff, and attach to MIKE 1D as catchment runoff file. There can be issues with the catchment connections and these must be regenerated.

To integrate node outflow to MIKE 1D, we probably need to introduce a new type of boundary (Runoff Node Inflow), which assigns directly to the node matching the Id.

There is currently not that much error reporting.

Definition

Namespace: DHI.Mike1D.ResultDataAccess
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class SWMM5IntFileBridge : IResultReadBridge, 
	IResultBridge
Inheritance
Object    SWMM5IntFileBridge
Implements
IResultBridge, IResultReadBridge

Constructors

SWMM5IntFileBridge Default constructor

Properties

Connection Connection specifying the file to read from/write to
Filter Filter support is not implemented
NumberOfTimeSteps Number of time steps

Methods

Connect Connect to storage
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Finish Disconnect from storage
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Read Read header and data
ReadData Read file data
ReadHeader Read file header
SetDefault Set default SWMM5 usage, either as RR file or as HD file.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

See Also