是德科技
直播中

王辉

7年用户 1257经验值
私信 关注
[问答]

在Genesys中是否可以使用离散步长变量来运行优化?

在Genesys中是否可以使用离散步长变量(而不是连续变量,仅有最小和最大限制)来运行优化?
我想测试给定的设计灵敏度/限制到实际的量化优化变量。
例如,如果衰减器是我的优化变量之一,我想看看如果我的可变衰减器只能以0.5dB的步长改变,那么优化限制是什么。
显然,我可能在优化集中有多个这样的离散步长变量。
谢谢你,最诚挚的问候,罗伯特。

以上来自于谷歌翻译


     以下为原文

  Is it possible in Genesys to run optimization using discrete step size variables (instead of continuous variables, with only min and max limitations)?

I would like to test a given design sensitivity/limitation to practical quantized optimization variables.   

For example, if an attenuator is one of my optimization variable, I would like to see what are the optimization limitations if my variable attenuator can be only change in the steps of 0.5dB. Obviously I might have more than one of such discrete step variables in the optimization set.

Thank you and best regards,
Robert.  

回帖(1)

李晓婷

2019-1-2 17:07:02
要做到这一点,需要一个目前在Genesys中不可用的离散优化器。
您可以通过优化Equation块中的变量来欺骗它,但可以使用其中一个舍入函数来分配参数。
例如,在衰减器情况下,假设您优化了att_opt变量,但将att_fix分配给实际的衰减器值:att_opt = 3.1 att_fix = floor(2 * att_opt)/ 2

以上来自于谷歌翻译


     以下为原文

  To do this properly requires a discrete optimizer that is presently not available in Genesys. You might be able to trick it by optimizing variables in an Equation block but assign the parameter using one of the rounding functions.

For example in the attenuator case lets say you optimize the att_opt variable but assign att_fix to the actual attenuator value:

att_opt= 3.1
att_fix=floor(2*att_opt)/2
举报

更多回帖

发帖
×
20
完善资料,
赚取积分