I am optimizing a model using genetic algorithms. As an experiment input I am changing the values of a table that is consequently written to the WorkerPool Creation Table on simulation start.
The simulation seems to run fine producing results and changing the values of my defined input, however I am presented with an error in the HTML report when using named indexing in the tables of the Optimization Parameter definition:
The column index "Amount" exists and is in the correct format. Perhaps the GA tool doesn't support custom indexing? Should I re-run the experiments using numbered (default) indexing, or can I use the results as they are despite the errors?
Using named indexing helps in defining the parameters since it's easier to tell the columns of the table apart and what they represent.
Solved! Go to Solution.
I'm responsible for HTML reports and will take a look at this problem.
I'll update you as soon as I have information for you!
Thank you. For your reference I am including a screenshot of what my tables look like since I can't share the model with you:
As you can see, there are other columns in the "Optimization Parameter" windows using named indexing but don't receive an error in the HTML report ("root.Parameters["Wagons", 1]" and "root.TransferWagon_Parameters[...")
Hi and good morning from Berlin,
First - I was able to reproduce this problem without hassles.
Second - if you want to "evalute" a (SimTalk) formula, which you tried, than please use this syntax:
Third - please escape characters with a special function, so that you'll get this:
root.WorkerTab\[2,1\] (formula): [=root.WorkerTab[2,1]] root.WorkerTab\[#Amount,1\] (formula): [=root.WorkerTab["Amount",1]]
Fourth - I have to care for the differences in using:
I hope this helps you to get rid of your problem!