Page 468 - Advanced Mine Ventilation
P. 468
Appendix C: Ventilation Network
Analyzer in CDD With Input and
Output
HMineDeclarations_h
#include <iostream>
#include <string>
#include <iomanip>
#include <math.h>
using namespace std;
#define ARRAY_SIZE 100
string title, subtit;
double nvp[ARRAY_SIZE], sumnvp[ARRAY_SIZE], tlvmxb[ARRAY_SIZE],
qdwall[ARRAY_SIZE], length[ARRAY_SIZE];
double tlvmxj[ARRAY_SIZE], qdjunc[ARRAY_SIZE];
double qd, sumtn, sumair, summtn, dh, h, d, e, t, sumd, sumdh, sumh,
dhf, dsq, regsiz, small;
double fx[20], x[20], sigma2[6], q[50], w[6], dd[40], beta[6], z[40],
s[6], alpha[6], hh[40], fq[50];
double c[6][40], p[20][7];
unsigned int ja, jb;
unsigned int jj1[ARRAY_SIZE], j2[ARRAY_SIZE];
float qdbg, delqdg, qdjg, tlv, nqdbs, nqdjs, qdbs, delqds, qdjs, ff;
float r[ARRAY_SIZE], height[ARRAY_SIZE], width[ARRAY_SIZE],
ff_temp[ARRAY_SIZE], rr[ARRAY_SIZE], cdj[ARRAY_SIZE], mj[ARRAY_SIZE];
float cdb[ARRAY_SIZE], mb[ARRAY_SIZE], jout[ARRAY_SIZE],
jin[ARRAY_SIZE],
nbin[ARRAY_SIZE], nbout[ARRAY_SIZE];
int nb, nj, maxj, nf, maxit, nbwnvp, nfixb, cont_flag, nm, nfbpf, ib,
np, key, n1, im,

