On PI AF in Library on Element Templates - Analysis Templates, the evaluate button should be able to evaluate logic at a previous point in time as well as the current time. This would allow better visibility over how logic performs for periods of time in the past, and will be better for debugging logic.