Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

genopt give the same f(x) s without any decrease, what is the problem ?

I'm using Dymola to simulate and Genopt to optimize a variable c by minimizing the f(x). everything related to simulation works fine, I used "CombiTimeTable" to impose the fist values of c in Dymola. I imported a .txt file called "modelicaschedule.txt" in CombiTimeTable which in Dymola I named it "inputFileName" from c:\genopt...

parameter String inputFileName = "modelicaSchedule.txt"

now the Genopt just print f(x)=255.4355657 and no changing .(mean no itterating)

but when I change the location name in "CombiTimeTable" to "inputFileName" teh value of Genopt changes but whith another f(x) (not the one that Dymola made)

genopt give the same f(x) s without any decrease, what is the problem ?

I'm using Dymola to simulate and Genopt to optimize a variable c by minimizing the f(x). everything related to simulation works fine, I used "CombiTimeTable" to impose the fist values of c in Dymola. I imported a .txt file called "modelicaschedule.txt" in CombiTimeTable which in Dymola I named it "inputFileName" from c:\genopt...

parameter String inputFileName = "modelicaSchedule.txt"

now the Genopt just print f(x)=255.4355657 and no changing .(mean no itterating)

but when I change the location name in "CombiTimeTable" to "inputFileName" teh value of Genopt changes but whith another f(x) (not the one that Dymola made)