changed old RTX to "KF-DAL", the Kalman Filter Demand Allocation Library
git-svn-id: https://epanet.svn.sourceforge.net/svnroot/epanet/BASE/trunk@348 c320cabd-cc23-0410-96d8-e60fbf53ed7f
This commit is contained in:
@@ -82,6 +82,13 @@ double RelaxFactor; /
|
||||
/* Function to find flow coeffs. through open/closed valves */ //(2.00.11 - LR)
|
||||
void valvecoeff(int k); //(2.00.11 - LR)
|
||||
|
||||
int checkHaltFlag() {
|
||||
return Haltflag;
|
||||
}
|
||||
int setHaltFlag(int value) {
|
||||
Haltflag = value;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int openhyd()
|
||||
/*
|
||||
@@ -786,7 +793,8 @@ void controltimestep(long *tstep)
|
||||
long t,t1,t2;
|
||||
|
||||
for (i=1; i<=Ncontrols; i++)
|
||||
{
|
||||
{
|
||||
if (Control[i].Link == 0) continue;
|
||||
t = 0;
|
||||
if ( (n = Control[i].Node) > 0) /* Node control: */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user