ResxResultFile Class

Class extracting information from an Epanet .resx result file. This file type contains result items for nodes that were selected as 'pressure dependent'.

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 ResxResultFile
Inheritance
Object    ResxResultFile

Constructors

ResxResultFile Construct EPANet result file from path namme

Properties

Duration Duration of simulation (s)
FilePath Path of result file
FlowUnitsOption Unit option for flow 0 = cfs, 1 = gpm, 2 = mgd, 3 = Imperial mgd, 4 = acre-ft/day, 5 = liters/second, 6 = liters/minute, 7 = megaliters/day, 8 = cubic meters/hour, 9 = cubic meters/day
ItemNo Number of different items
NodeItems List of all nodes
NoOfNodes Number of nodes in setup
NoOfPumps Number of tanks in setup
NoOfTanks Number of tanks in setup
NoOfTimeSteps Number of time steps
PumpItems List of all pumps
ResultFileWarning Warning message if inconsistencies are found in the result file
ResultItemNoType Dictionary of item types
ResxEpilogItemData 
StartTime Start time of simulation (s)
TankItems List of all tanks
TimeStep Time step size (s)
VolumeUnitsOption Unit options for volume

Methods

CloseFile Close result file
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)
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 resx file
ReadItemTimestepData Get certain item value at specific time step
ReadResultFileHeader Reading information from the result file header
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also