Commit 2c3ecf1a authored by Topi Rasku's avatar Topi Rasku
Browse files

Made the mft_lastSteps calculations more robust, so that the horizons and time...

Made the mft_lastSteps calculations more robust, so that the horizons and time steps don't have to match exactly in order for the model to find the last active time step.
parent 17a99771
......@@ -333,7 +333,7 @@ mft_start(mf_realization(mSolve, f), tSolve)
;
// Last steps of model fts
Option clear = mft_lastSteps;
mft_lastSteps(mSolve, ft(f,t))${ ord(t) + p_stepLength(mSolve, f, t) / mSettings(mSolve, 'intervalInHours') = tSolveLast }
mft_lastSteps(mSolve, ft(f,t))${ ord(t) + p_stepLength(mSolve, f, t) / mSettings(mSolve, 'intervalInHours') >= tSolveLast }
= yes
;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment