05.07.2013 Views

BSA Flow Software Installation and User's Guide - CSI

BSA Flow Software Installation and User's Guide - CSI

BSA Flow Software Installation and User's Guide - CSI

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Software</strong> implementation<br />

Updating mean value estimates:<br />

t ←<br />

Updating Variance <strong>and</strong> RMS estimates:<br />

If calculations are based on old data, where all samples are available from<br />

the beginning <strong>and</strong> no further samples will be acquired, the formulas above<br />

are used directly.<br />

During data acquisition temporary results are calculated <strong>and</strong> updated as new<br />

samples arrive. A different approach is used to make fast <strong>and</strong> efficient<br />

calculations in this case.<br />

Store the total number of samples N as well as the sums ∑ i <strong>and</strong> t ∑ i i U<br />

t .<br />

(If you’re not using transit time weighting, ti=1 for all i <strong>and</strong> the former of the<br />

summations will equal N).<br />

Whenever a block of M new samples arrive, update these values:…<br />

N ← N + M<br />

∑<br />

∑<br />

∑<br />

tU<br />

←<br />

( ∑t<br />

) + ( )<br />

N ∑t<br />

M<br />

( ∑tU<br />

) + ( tU<br />

) N ∑ M<br />

… <strong>and</strong> recalculate the mean value according to formula (7-34).<br />

(11)<br />

(12)<br />

(13)<br />

Statistics can in principle be updated for each <strong>and</strong> every new sample arriving<br />

in which case M=1.<br />

Store <strong>and</strong> update the sample count <strong>and</strong> sums as above, plus the weighted sum<br />

of squared velocity sample values:<br />

2<br />

2<br />

( ∑ t U ) + ( t U ) N<br />

M<br />

2<br />

t U ← ∑<br />

-now an updated variance estimate can be calculated according to the<br />

following:<br />

=<br />

∑<br />

t ⋅<br />

2<br />

u 2<br />

2<br />

2<br />

∑ tU<br />

− ( ∑ tU)<br />

N<br />

⋅<br />

( ∑ t)<br />

N −1<br />

(14)<br />

-where the bias correction term at the end is used when no weigthing is<br />

applied, <strong>and</strong> ignored when Transit Time weigthing is applieded.<br />

Taking the square root of the updated variance estimate as in (7-36) will<br />

produce an updated estimate of the RMS.<br />

(15)<br />

Combining the total number of samples now included with the updated<br />

estimates of mean <strong>and</strong> variance from above, you will also be able to update<br />

the confidence limit value for the estimated mean using formula (7-37) <strong>and</strong><br />

(7-41).<br />

If the measured velocity is assumed normal distributed, the confidence limit<br />

for the estimated variance <strong>and</strong> RMS can also be updated using formulas<br />

(7-38), (7-39) & (7-41).<br />

<strong>BSA</strong> <strong>Flow</strong> <strong>Software</strong>:Reference guide 7-103

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!