Cantera Integrated Blocks_TMATSC_compressor
ck1313 opened this issue · 1 comments
ck1313 commented
In TMATSC_compressor.m:
line 232: pwr = FI.W * (FI.ht - FO.ht) * 1.4148;
line 233: pwr = pwr + Fbleed1.W_(Fbleed1.ht - FO.ht)1.4148 + Fbleed2.W(Fbleed2.ht - FO.ht)1.4148;
I think it should be pwr = pwr - Fbleed1.W(Fbleed1.ht - FO.ht)1.4148 - Fbleed2.W(Fbleed2.ht - FO.ht)_1.4148;
because of the pwr in line 232, including all flow from the input, which means it calculates the power of bleed. In the 233, the power of bleed should be cut.
GRC-RHC-Sim commented
ck1313,
Yes, I totally agree. Thanks so much for finding this bug. Bleed from an earlier stage should reduce the power requirement for the compressor not make it higher.
Updated; 12/21/2015
117f958
-Jeff