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:
Sam Hatchett
2010-07-28 14:40:30 +00:00
parent 02a8fc4af8
commit e0b9ee5feb
6 changed files with 719 additions and 212 deletions

View File

@@ -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: */
{