EpanetResultFile Class

Class extracting information from an Epanet .res result file.

Definition

Namespace: DHI.Mike1D.ResultDataAccess.Epanet
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class EpanetResultFile
Inheritance
Object    EpanetResultFile

Constructors

EpanetResultFile Construct EPANet result file from path name

Properties

Duration Duration of simulation
FilePath Path of result file
FlowUnitsOption Unit option for flow
ItemNo Number of different item types
LinkItems List of all link items
NodeItems List of all node items
NoOfLinks Number of links in setup
NoOfNodes Number of nodes in setup
NoOfTimeSteps Number of time steps in setup
PeakDemandCost Peak demand cost
PressureUnitsOption Unit option for pressure
PumpsStatistic List of energy statistics for every pump
ResultFileWarning Warning message if result information is inconsistent
StartTime Time at start of simulation
TankItems List of all tank items
TimeStep Size of time step
WaterQualityOption Option for water quality item
WQSourceTracingNodeIndex Index node of source tracing for water quality

Methods

CloseFile Close result file
EpanetErrorToString Create a string based on the error
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)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetInpFilePath Get path of input file used for creating current result file
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsOpen Check if file is currently open
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OpenFile Open existing EPANet result file
ReadItemData Get certain item value for all time steps
ReadItemTimestepData Get certain item value at specific time step
ReadResultFileHeader Reading info from the result file header
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also