Refactor tank mixing zone volume

Addresses issue #597.
This commit is contained in:
Lew Rossman
2020-07-11 17:12:49 -04:00
parent 71a733ed85
commit 951c7ce727
7 changed files with 14 additions and 22 deletions

View File

@@ -252,7 +252,7 @@ int tankdata(Project *pr)
tank->Vcurve = curve;
tank->MixModel = MIX1; // Completely mixed
tank->V1max = 1.0; // Mixing compartment size fraction
tank->V1frac = 1.0; // Mixing compartment size fraction
return 0;
}
@@ -1288,7 +1288,7 @@ int mixingdata(Project *pr)
i = j - net->Njuncs;
if (net->Tank[i].A == 0.0) return 0;
net->Tank[i].MixModel = (char)m;
net->Tank[i].V1max = v;
net->Tank[i].V1frac = v;
return 0;
}