cancel
Showing results for 
Search instead for 
Did you mean: 

Error in GA Optimization HTML Results

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hi,

 

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:

 

2017-01-16 13_57_08-modelTest_v17_1.spp - Tecnomatix Plant Simulation 13.1 - [.Models.Frame.AntalOpe.png

 

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.

 

Thank you.

4 REPLIES

Betreff: Error in GA Optimization HTML Results

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Hi,

 

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!

 

Best regards,

 

Martin

Martin Lemburg

Digital Factory Divison

Product Lifecycle Management
Manufacturing Engineering Software / R&D / Plant Simulation
Berlin / Germany

Betreff: Error in GA Optimization HTML Results

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hi Martin,

 

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:

 

2017-01-16 16_10_13-modelTest_v17_1.spp - Tecnomatix Plant Simulation 13.1 - .Models.Frame.WorkerTab.png

 

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[...")

Betreff: Error in GA Optimization HTML Results

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

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:

[=root.WorkerTab[2,1]]
[=root.WorkerTab["Amount",1]]

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: 

[root.WorkerTab[2,1]]
[root.WorkerTab["Amount",1]]

 

I hope this helps you to get rid of your problem!

 

Best regards,

 

Martin

 

 

Martin Lemburg

Digital Factory Divison

Product Lifecycle Management
Manufacturing Engineering Software / R&D / Plant Simulation
Berlin / Germany

Betreff: Error in GA Optimization HTML Results

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi Martin,

thank you for the explanation.

A change was necessary for the GAwizard, which I is attached for Plant Simulation 13.

Regards,

Peter