设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5259|回复: 8

[求助] 在emplant如何使用遗传算法?

[复制链接]
发表于 2008-4-1 13:16:03 | 显示全部楼层 |阅读模式
5仿真币
在emplant如何使用遗传算法?
* h3 ]! c* N' e7 }" o; Q9 K我想知道在emplant7.6中如何导入遗传算法?是不是在emplant7.6中就有呀?0 F; U7 F4 q0 A' f  @7 _$ v+ q
谢谢

最佳答案

查看完整内容

里面有个GA模块,,
发表于 2008-4-1 13:16:04 | 显示全部楼层
里面有个GA模块,,
发表于 2008-4-1 13:16:04 | 显示全部楼层
在file-add objects-GA: ^2 X7 {' H! b5 u
就可以使用了
 楼主| 发表于 2008-4-2 20:06:20 | 显示全部楼层
GA模块,又如何加载呢?% U  v8 f. ?: U( w% S& T
不好意思,我是新手,麻烦您说的详细点好吗?  T: e% ?3 T% Y$ |; |
谢谢!!
发表于 2008-4-5 13:01:45 | 显示全部楼层
当然,我这是8.1的,如果是低版本的,有没这版块,我不清楚
 楼主| 发表于 2008-4-8 10:53:32 | 显示全部楼层
我还想问一下,在7.5中有GAWizard,为什么在7.6中就没有呢?
发表于 2008-4-9 10:33:26 | 显示全部楼层
在7.6中也有GAWizard,,它这个模块需要添加才能使用,正常情况下,不一定能看得见
+ Q, \. g+ b, q在help文件中,有如何添加GAWizard) P( j0 L! F9 D+ h
To add the GAWizard [img]mkMSITStore:C:\Program%20Files\Tecnomatix\Plant%20Simulation%208.1\Help\eM-PlantENU.chm::/images/GAWizardicon.gif[/img] to your simulation model: 2 l9 [5 n' ]3 r4 ]
    • Click any folder on the tab Class Library in the Explorer with the right mouse button and select the command [url=mkMSITStore:C:\Program%20Files\Tecnomatix\Plant%20Simulation%208.1\Help\eM-PlantENU.chm::/Ch02UserInterface113.html#901442]Add Objects[/url]. Select Genetic Algorithms to add the objects to the Class Library. Then, load the object GAWizard: Click Info Pages in the Explorer. Click Tools and select GAWizard. This adds the folder GAWizard to the Tools folder. Insert the object GAWizard and all objects required to run the optimization into the root frame of the simulation model. Open the object GAWizard by double-clicking it.
You can define the optimization problem with the GAWizard by using:
    • Drag-and-Drop: Drag the tables, the sequence of which you would like to optimize onto the GAWizard and drop it there. When you would like to optimize an attribute of an object, drag this object onto the GAWizard, drop it and select the attribute. Then, you can change the value range of the parameters to be optimized into the table ProblemDefinition. To open this table, click the button Open next to Definition of the optimization parameter on the tab Define.
    • GA-tables, which you insert into the root frame of your simulation model. Click Reset on the tab Run. This will register all GA-tables you inserted with the GAWizard. Then configure all GA-tables on the tab Define. Select the check box Parameterizing the model with GA-tables, then click the button Edit and program the method setParameter. The global variable individual is a table of the individual to be evaluated, which the genetic algorithm created. The first line of code demonstrates how to access the chromosomes of the individual. Set a breakpoint in the method and click the buttons Reset and Start on the tab Run of the object GAWizard to detect the order of the chromosomes the object used. With the method setParameter you can transfer all properties of the chromosomes into your simulation model. The result of the method setParameter is true, when the values of the individual allow to parameterize the simulation model. When the parameterization fails, the respective individual will be assigned a bad fitness value, a so-called penalty value. Enter the penalty value into the text box Fitness non-realizable individuals on the tab Define. Take special care of the paths to the objects for which you define arguments, as the method setParameter is located in the Frame in which the object GAWizard is located.
发表于 2008-4-9 10:35:07 | 显示全部楼层
我这有个GAWizard 的模型,,需要的可以下载

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2008-7-3 09:54:22 | 显示全部楼层
tg 你的模型是7.6版本的 友7.5版本的嗎?" y1 _/ ~( D4 `
我怎樣試都怪怪的~) b" d1 ]( D; X- s) ~. @
還有哪位大大有7.5版本的ga模型
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2024-5-14 10:48 , Processed in 0.014187 second(s), 15 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表