Sean Nash

Can we remove this code?

Can we remove this code?

Can we remove this code?

Can we remove this code?

FPFilterFlushDefeatured.

FPFilterFlushDefeatured.

Don't include an Alarms detail if there are no alarms.

Don't include an Alarms detail if there are no alarms.

That suggests that our coefficient(s) are too aggressive (in situations where it looks unstable). Not directly due to max step size, so we shouldn't reduce it for this reason. I believe 25 will neg...

That suggests that our coefficient(s) are too aggressive (in situations where it looks unstable). Not directly due to max step size, so we shouldn't reduce it for this reason. I believe 25 will negatively impact our responsiveness in situations where our error is larger than 25 mL/min.
So instability could be due to:
1) coefficient(s) are too strong or
2) may need more than one set of coefficients (e.g. coefficients need to change according to Qd or state or ... because the relationship between output and feedback changes)

These don't need to be initialized to zero.

These don't need to be initialized to zero.

Is this code for alpha or beta? getCurrentOperationMode() will only return DD modes in beta.

Is this code for alpha or beta? getCurrentOperationMode() will only return DD modes in beta.

roRRAvg is an input.

roRRAvg is an input.

roRejectionRatioTankFill is an input.

roRejectionRatioTankFill is an input.

roRejectionRatio is an input.

roRejectionRatio is an input.

roRRTankFillAvg is an input.

roRRTankFillAvg is an input.

Update inputs/outputs.

Update inputs/outputs.

Add message for Reject Ratio data.

Add message for Reject Ratio data.

Update inputs/outputs.

Update inputs/outputs.

Update inputs/outputs.

Update inputs/outputs.

Update inputs/outputs.

Update inputs/outputs.

We have an alarm in this function. Should note it in function header.

We have an alarm in this function. Should note it in function header.

The else in this trinary looks wrong - doesn't round up to multiple of 8.

The else in this trinary looks wrong - doesn't round up to multiple of 8.

This if should have an else where we zero .valveOpsStartTime (in case it briefly got set but then failed this if before timeout).

This if should have an else where we zero .valveOpsStartTime (in case it briefly got set but then failed this if before timeout).

Declarations should be at top of scope.

Declarations should be at top of scope.