APSIMInitiative / APSIM710

APSIM
https://www.apsim.info
30 stars 47 forks source link

ApsimX: Report always shows results of last sim run. #1348

Closed ApsimBot closed 5 years ago

ApsimBot commented 5 years ago

Legacy Bug ID: 1916 Author: Justin Date: 2014-07-08 10:15:08 +0000 UTC

Tested with OilPalmValidation.apsim with no existing .db file. Simulations are all called base; they reside in a factorial node named after the experiment number. Each Experiment node is in a seperate folder.

Run the Base simulation for Expt 504 which generates a report. Clicking on the MonthlyOutput report shows the results of the run. If you now click on the MonthlyOutput report for Expt324, you will get the results for 504 show (This sim has not yet been run). Run Expt 324 and the MonthlyOutput will show the expected results. However, if you now click the MonthlyOutput node for 504, you will get the results for 324. Running 504 again gives results for 504 regardless of which experiment you click.

This could be happening because all simulations are named 'Base'. Might need to either expand the uniqueness search to the whole XPath, or disallow identical simulation names even though they're in different places.

ApsimBot commented 5 years ago

Author: fai04d Date: 2014-07-17 14:00:00 +0000 UTC

Have confirmed it is due to all base simulations being called 'Base'.

ApsimBot commented 5 years ago

Author: hol353 Date: 2015-04-10 14:37:00 +0000 UTC

Transferred to GitHub