|
From: SourceForge.net <no...@so...> - 2005-07-12 21:39:17
|
Bugs item #1230162, was opened at 2005-06-30 01:32 Message generated for change (Comment added) made by jerryvos You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101703&aid=1230162&group_id=1703 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Pending >Resolution: Later Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: parameter file for multi-run Initial Comment: Hi, When I try to run a multi-run simulation with two nested parameters specified in a parameter file, while these two parameters are also set at certain values in 'setup()' in my model for a GUI run, it goes wrong for the first run. The values of the two parameters in 'setup()' are used not those specified in the file. After the first run, correct values are read into the model. The reason seems to be possible wrong position of the code 'model.setup()' in 'runBatch' method of Controller class. I move the code right above 'batchController.setModel(this.getModel());' and it works fine. However, for this experiment, I was forced to copy SimInit, Controller and BatchController classes, rename them and make some necessary modification and compile them with my other classes. Jae-Cheol Kim ps. It'll be nice if there's a way to get the name of a parameter file in the runtime. ---------------------------------------------------------------------- >Comment By: Jerry Vos (jerryvos) Date: 2005-07-12 16:39 Message: Logged In: YES user_id=1093815 Jae-Cheol, Could you test this when the next release of Repast comes out? It should fix your problem if it's coming from improperly reading the nested params. Also, could you clarify what code you moved in Controller.runBatch? I'm not sure what you would have moved. When you say "It'll be nice if there's a way to get the name of a parameter file in the runtime" do you mean from the GUI or inside the model/library? I assume the latter, but this would require quite a few changes to setup I think, but may be something for future consideration. I'll mark this as pending until you get a chance to test this later. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101703&aid=1230162&group_id=1703 |