Skip to content
Marios Kyriakou edited this page Dec 20, 2015 · 2 revisions

Declaration:

int ENrunH( long* t ) 

Description: Runs a single period hydraulic analysis, retrieving the current simulation clock time t.

Arguments:

  • t: current simulation clock time in seconds.

Returns: returns an error code.

Notes: Use ENrunH along with ENnextH in a do ..while loop to analyze hydraulics in each period of an extended period simulation. This process automatically updates the simulation clock time so treat t as a read-only variable.

ENinitH must have been called prior to running the ENrunH - ENnextH loop.

See ENnextH for an example of using this function.

See Also: ENopenH, ENinitH, ENnextH, ENcloseH

Clone this wiki locally
You can’t perform that action at this time.