30 int solve(
double tstep,
int& trials);
42 double flowChangeLimit;
43 double flowRatioLimit;
51 std::vector<double> dH;
52 std::vector<double> dQ;
53 std::vector<double> xQ;
56 void setFixedGradeNodes();
57 void setMatrixCoeffs();
60 void setValveCoeffs();
63 int findHeadChanges();
64 void findFlowChanges();
65 double findStepSize(
int trials);
66 void updateSolution(
double lamda);
69 void setConvergenceLimits();
70 double findErrorNorm(
double lamda);
71 bool linksChangedStatus();
72 bool flowThresholdsReduced();
73 void reportTrial(
int trials,
double lamda);
Describes the HydBalance class.
Abstract class for solving a set of linear equations.
Definition: matrixsolver.h:27
A hydraulic solver based on Todini's Global Gradient Algorithm.
Definition: ggasolver.h:24
Computes the degree to which a network solution is unbalanced.
Definition: hydbalance.h:23
Describes the HydSolver class.
Interface for an equilibrium network hydraulic solver.
Definition: hydsolver.h:26
Contains the data elements that describe a pipe network.
Definition: network.h:41