为什么我不能调整可调参数"L"?对于块“系列RLC分支"? [英] Why can't I tune tunable parameter "L" for block "Series RLC branch"?

查看:170
本文介绍了为什么我不能调整可调参数"L"?对于块“系列RLC分支"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从Simulink模型制作了exe文件(我使用了rsim,启用了可调参数).在此之前,我用exe文件制作了一个独立的应用程序,该文件的块为常量",并且一切正常.我使用了"rsimgetrtp",并遵循了菲尔先生的建议.但是现在当我需要使用GUI进行更复杂的exe仿真时,我得到警告,提示某些参数不可调整.

I made exe file from Simulink model (I used rsim, tunable parameter on). Before this i made a standalone application with exe file that had block "constant" and everything worked great. I used "rsimgetrtp" and followed mr.Phil advices. But now when I need to make a more complex exe simulation with GUI i get warning that says some parameters can't be tunable.

警告:在参数字段中减少表达式'Lk' "sestpulsni/Lk3"的电感"等于其数值等效值,因为 此字段标记为不可调整.此表达式解析为可调 变量(Lk(基本工作空间)).您将无法调整 模型执行过程中的表达式"

"Warning: Reducing expression 'Lk' in parameter field 'Inductance' of 'sestpulsni/Lk3' to its numerical equivalent because this field is marked not tunable. This expression resolves to tunable variables (Lk (base workspace)). You will be unable to tune this expression during model execution"

反正我可以使它可调吗?或者如果我不能做些什么来制作带有exe和可调参数的独立GUI?

Is there anyway I can make it tunable? or if I can't what should i do to make a standalone GUI with exe and tunable parameters?

推荐答案

听起来您正在使用SimPowerSystems库中的一个块.

It sounds like you are using a block from the SimPowerSystems library.

不幸的是,该库中的许多(大多数?全部?)块都采用了所有参数,将它们放入一个大罐中,将它们混合在一起,然后使用生成的

Unfortunately, many (most? all?) of the blocks in that library take all the parameters, throw them into a large pot, mix them together, and then use the resulting Mung to perform the simulation. There is no way to use the block and avoid that problem.

您唯一可以做的就是利用所需的功能实现自己的块,从而使变量保持单独并因此可调.

The only thing you can do is implement your own block, with the required functionality, which keeps the variables individual and hence tunable.

这篇关于为什么我不能调整可调参数"L"?对于块“系列RLC分支"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆