On 12/30/2009 6:05:32 AM, Ted Diehl wrote:
>
>What does everyone think if
>Mathcad/Prime had the concept
>of a "Results
>Database" file? This SEPARATE
>file would store the results
>(what is
>essentially in memory,
>including the state of the
>"calculation tree") during
>the Mathcad calc. It would be
>a separate file from the
>current Mathcad files
>we are accustom to, so the
>Mathcad files .xmcd etc. would
>remain small. Many
>software packages that require
>long computations or large
>amounts of data
>use such structures (Abaqus
>FEA is one such example).
I suggested something like this years ago, although I would prefer the option of storing the results in the Mathcad file. I don't much care for having to keep track of multiple files.
What we have now seems to me to be the worst of all possible worlds.
Back in version 11 .mcd format results were not stored. So I could let a worksheet run for hours to do the calculations (I have a few that do in fact take hours to run), and if I closed it and reopened it I had to wait for hours all over again. The fact that it didn't store the calculation results had advantages though. First, if you save the worksheet it doesn't have to calculate everything. Second, you don't get file bloat due to the stored data.
Now what we have is a file format where it forces you to store the data! I can turn off the storage of large results, but not all storage. The thing is, although it stores the results, it then doesn't use them for anything! If I close and reopen the worksheet it calculates everything all over again! I believe the idea was that the stored results could be fished out of the XML, but how many people have ever actually done that? To add insult to injury, if automatic calculation is turned on (for me it almost always is) every time I save the file in xmcd or xmcdz format it forces a recalculation of the entire worksheet. I am actually currently working on a worksheet for which this takes so long I have to turn off automatic calculation every time I want to save it. It's a PITA!
What we need is the option of storing or not storing the results, and if we choose to store them it should also store the status of the calculations so that it only recalculates stuff if it is actually required. Perhaps we also need an option to store the results in the worksheet, or in an external file.
Richard