Closed AlexBotts closed 2 years ago
StandarDensity and sonicDensity are being calculated incorrectly. I also don't see caDensity being calculated at all or a conversion for user input from F to R... for metric this conversion for temp will be different.
airTempRankine = airTemp + 459.67 'converting F to R caPressurePSIA = supplyPressure + atmpressure caDensity = (caPressurePSIA 144 / 53.34 airTempRankine) standardDensity = atmpressure 144 / (53.34 airTempRankine)) sonicDensity = (caDensity * (2 / (1.4 + 1)) ^ (1 / (1.4 - 1)))
Assuming calculations above work out, the label on the UI for SupplyPressure will need updated to "psig"
this is a suite issue BTW
Moving to the suite side 644
There is a bug somewhere in the calculation. The original excel sheet is giving the proper answer but doesn't match MEASUR. Alex is combing through to find the issue.