update
This commit is contained in:
@@ -639,7 +639,7 @@ _callMeasurementHandler(measurementType, value, position, context) {
|
|||||||
const {efficiencyCurve, peak, peakIndex, minEfficiency } = this.calcEfficiencyCurve(powerCurve, flowCurve);
|
const {efficiencyCurve, peak, peakIndex, minEfficiency } = this.calcEfficiencyCurve(powerCurve, flowCurve);
|
||||||
|
|
||||||
// Calculate the normalized center of gravity
|
// Calculate the normalized center of gravity
|
||||||
const NCog = (flowCurve.y[peakIndex] - this.predictFlow.currentFxyYMin) / (this.predictFlow.currentFxyYMax - this.predictFlow.currentFxyYMin);
|
const NCog = (flowCurve.y[peakIndex] - this.predictFlow.currentFxyYMin) / (this.predictFlow.currentFxyYMax - this.predictFlow.currentFxyYMin); //
|
||||||
|
|
||||||
//store in object for later retrieval
|
//store in object for later retrieval
|
||||||
this.currentEfficiencyCurve = efficiencyCurve;
|
this.currentEfficiencyCurve = efficiencyCurve;
|
||||||
|
|||||||
Reference in New Issue
Block a user