ukaea/PROCESS

Investigate Scan x failure

Closed this issue · 4 comments

@clmould was trying to run a scan and was getting that certain parts of x were outside of the range when starting to run the next scan point. The values outside of the range were ftmargoh and ftburn which were not being scanned and should have been at their default value of 1 at the beginning of the new scan!?

This was running the scan.ipynb notebook and was fixed by setting the above f-values to 0.9 in the MFile. Before the values were not being set in the MFile.

Can you give a few more details? Were ftmargoh and ftburn iteration variables? Are you saying they were outside their bounds at the beginning of the next scan point? Surely all iteration variables are output in the MFile? Is x the solution vector?

Yes both are iteration variables. The rest of the questions I will answer when I look into this on Wednesday

Reset out of bounds iteration variables to their closest bound before the next scan point

Found that test_scan started failing since #3041