Closed koay9f closed 3 years ago
Need to add panLossRatio to bindings
panLossRatio
quick change to lines 156 - Original
const double ratedCapacity, const double ratedTempSetPoint, const double ratedTempDryBulb, const double ratedWindSpeed, const double operatingTempDryBulb, const double operatingWindSpeed, const double operatingHours, const double baselineTempSetPoint, const double modTempSetPoint){ const double calc1 = ratedCapacity * 0.038676 / /*0.038676 = 12000 * 0.011 / 3413*/ (ratedTempSetPoint - ratedTempDryBulb) / pow((ratedTempSetPoint + ratedTempDryBulb) / 2,-0.181) / pow((ratedTempSetPoint - ratedTempDryBulb),0.266) / pow((1.277 * ratedWindSpeed + 1),0.5) * pow((1.277 * operatingWindSpeed + 1),0.5);`` replace with ``` static PowerEnergyConsumptionOutput BasinHeaterEnergyConsumption( const double ratedCapacity, const double ratedTempSetPoint, const double ratedTempDryBulb, const double ratedWindSpeed, const double operatingTempDryBulb, const double operatingWindSpeed, const double operatingHours, const double baselineTempSetPoint, const double modTempSetPoint, const double panLossRatio){ const double calc1 = ratedCapacity * 4.3936731107 * panLossRatio / /*4.3936731107 = 15000 btu/hr/ton / 3413 kW/btu */ (ratedTempSetPoint - ratedTempDryBulb) / pow((ratedTempSetPoint + ratedTempDryBulb) / 2,-0.181) / pow((ratedTempSetPoint - ratedTempDryBulb),0.266) / pow((1.277 * ratedWindSpeed + 1),0.5) * pow((1.277 * operatingWindSpeed + 1),0.5); ```
update applied to calc, test(s) updated
what branch is this in?
Issue overview
Need to add
panLossRatio
to bindingsquick change to lines 156 - Original