WhrxResultFile Class

Class for reading Water Hammer air chambers and air-valves result files(*.whrx) created with EPA Net engine.

Definition

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

Constructors

WhrxResultFile Construct Water Hammer extend result file from path name

Properties

AirChamberItems List of air chamber items
AirValveItems List of air valve items
DepthUnitsOption Unit options for depth
FilePath Path of result file
FlowUnitsOption Unit options for flow (m^3/s)
NoOfAirChambers Number of air chambers
NoOfAirValves Number of air valves
NoOfPumps Number of pumps
NoOfTimeSteps Number of time steps in simulation
NoOfValves Number of valves
PumpItems List of pump items
SimulationDuration Simulation length (s)
TimeStep Time step size (s)
ValveItems List of valve items

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)
GetAirChamberTimestepValues Get Water Hammer Air chamber result item values
GetAirValveTimestepValues Get Water Hammer Air valve result item values
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetPumpTimestepValues Get Water Hammer Pump result item values
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetValveTimestepValues Get Water Hammer Valve result item values
IsOpen Check if file is currently open
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OpenFile Open existing Water Hammer result file
ReadFileHeader Read Water Hammer extend result file header
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also