Page 472 - Advanced Mine Ventilation
P. 472
Appendix C: Ventilation Network Analyzer in Cþþ With Input and Output 441
/* Compute the pressure to be adjusted in a fixed quantity branch
* r[i]*dabs(q[i])*q[i] is zero if r[i] of a fixed quantity
* branch is not given
*/
if(nfixb > 0)
{
adjustHLinFixedQuantityBranch();
}
printFanPressure();
cout << endl << "Input K value : " << endl;
cin >> k;
if(k <¼ 0)
{
exit(0);
}
indic ¼ 0;
// Make Necessary Preparations for the Calculation of Pollutant
concentrations
// Make all the flows positive
if(indic !¼1)
{
setFlowsPositive();
// Tabulate Inflows and Outflows
tabulateInAndOutFlows();
indic ¼ 1;
// Set Mixture TLV to zero.....
setMixtureTLVZero();
}
// Set Diesel Exhaust Concentrations to zero.......
label1050 : setDieselExhaustConcZero();
cin.clear();
cin.sync();
cout << "ynInput title of the component of diesel exhaust : yn";
getline(cin, subtit);
cin.clear();
cin.sync();

