Dear TRNSyst user, I try to optimize a system with TRNOpt. I have the
total cost of my system to minimize depending on 2 variables (one continuous
and one discrete which can take 3 values). When I run TRNOpt with my system which depends only
on the continuous variable (for instance with Hooke-Jeeves) it works really
well, great. But when I try to add the dependence with de second
variable (i.e the discrete variable and the continuous variable) it does not
work. I received the error on the GenOpt window: “GenOpt terminated with error. See logfile for further information” I received the error when I used the algorithm with these
parameters: Hybrid for Continuous and Discrete NeighborhoodTopology = gbest NeighborhoodSize = 1 NumberOfParticle = 0 NumberOfGeneration = 0 Seed = 0 CognitiveAcceleration = 0.5 SocialAcceleration = 0.5 MaxVelocityGainContinuous = 0 MaxVelocityDiscrete = 0.5 ConstrictionGain = 0.5 MeshSizeDivider = 2 InitialMeshSizeExponent = 0 MeshSizeExponentIncrement = 1 NumberOfStepReduction = 4 I attach the logfile to this mail and the file where
there are all the parameters for TRNOpt I tried other algorithms and I received the same
error except for the “parametric” where it worked but with some
errors at the beginning which I paste at the end of this mail. I do not know which algorithm is the best one to use
when I want to optimize a system with a continuous and a discrete variable (the
discrete variable has to take three values: 1,2,3) Maybe somebody has an idea which can help me to find
the solution of my problem? Thanks a lot Alexis Fabre **** Warning **** Simulation 1: Exception in evaluating x = ( 20.0; 0). Exception in executing the simulation program Current command String: 'C:\Program
Files\Trnsys16\Exe\TRNEXE.EXE "C:\Program
Files\Trnsys16\optimization\GENOPT\SIMULATION\GenoptInputFile.DCK" /n
/WAIT '. Exception message: Error in executing the simulation program Exit value of the simulation program: 1 Current command String : 'C:\Program
Files\Trnsys16\Exe\TRNEXE.EXE "C:\Program
Files\Trnsys16\optimization\GENOPT\SIMULATION\GenoptInputFile.DCK" /n
/WAIT '. Error stream of simulation program : Simulation
program did not return an error stream. **** Info **** Simulation 2: Caught 'java.lang.Exception' with message:
Exception in executing the simulation program Current command String: 'C:\Program
Files\Trnsys16\Exe\TRNEXE.EXE "C:\Program
Files\Trnsys16\optimization\GENOPT\SIMULATION\GenoptInputFile.DCK" /n
/WAIT '. Exception message: Error in executing the simulation program Exit value of the simulation program: 1 Current command String : 'C:\Program
Files\Trnsys16\Exe\TRNEXE.EXE "C:\Program
Files\Trnsys16\optimization\GENOPT\SIMULATION\GenoptInputFile.DCK" /n
/WAIT '. Error stream of simulation program : Simulation
program did not return an error stream. Try to evaluate simulation a second time. **** Warning **** Simulation 2: Exception in evaluating x = ( 44.0; 0). Exception in executing the simulation program Current command String: 'C:\Program
Files\Trnsys16\Exe\TRNEXE.EXE "C:\Program
Files\Trnsys16\optimization\GENOPT\SIMULATION\GenoptInputFile.DCK" /n
/WAIT '. Exception message: Error in executing the simulation program Exit value of the simulation program: 1 Current command String : 'C:\Program
Files\Trnsys16\Exe\TRNEXE.EXE "C:\Program
Files\Trnsys16\optimization\GENOPT\SIMULATION\GenoptInputFile.DCK" /n
/WAIT '. Error stream of simulation program : Simulation
program did not return an error stream.
3E sa/nv Headquarters
(Invoicing Address) Vaartstraat 61 Rue du
Canal, B-1000 Brussels Visit us at www.3E.eu Not facing but shaping
the changes SAVE PAPER: THINK TWICE
BEFORE PRINTING! This email is strictly
confidential and intended solely for the use of the individual to whom it is
addressed. Any views or opinions presented are solely those of the author and
do not necessarily represent those of 3E. If you are not the intended
recipient, be advised that you have received this email in error and that any
use, dissemination, forwarding, printing or copying of this email is strictly
prohibited. |
Attachment:
Biomass_PipeLoss.20100928.log
Description: Biomass_PipeLoss.20100928.log
Attachment:
Opt_20100929.top
Description: Opt_20100929.top