Functional diagnosis and prescription of measurements using effort and flow variables