I am resolving it, but according to Sean, if we have a state which is just asking it to go to the next state, we might not need the state to be declared.
I think we have to remember last fill volume for each reservoir and refer to that. With this approach, if user changes Qd, the percentage will be wrong.
This default is in an if statement to make sure we are less than NUM_OF_VALVES so the default cannot be reached in VectorCAST. But we keep the default in the code in case there was a memory stomp or other anomalies.