Dear all, I created a type that calculates the life-cycle cost of a project, but the calculations are performed uselessly at each time step. I need to add an "IF statement" that forces the type to perform the calculations at the last time step of the simulation. Any guidance ? P.S. The code is in Fortran Thank you