WTDTA1 modeling issue #268
Answered
by
cuihantao
jinningwang
asked this question in
Modeling
Replies: 2 comments 2 replies
-
Not quite clear of the issue. Do you mean that I don't think it does type checking at all. |
Beta Was this translation helpful? Give feedback.
1 reply
-
ExtParam takes a vtype argument for the type. You can set it to str, and it should pass.
Regards,
Hantao Cui
…On Feb 11, 2022, 2:34 PM -0600, Jinning Wang ***@***.***>, wrote:
ExtParam will do link_ext_param, which will invoke _list2array(). The trouble is that, if the idx is a string, then ExtParam will run into an error because the string cannot be converted to float.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jinningwang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the Version 1.5.10.post4+g35b822bb, I found an issue with the WTDTA1 model that may need to be fixed.
In WTDTA1Data, an input parameter
ree
is used to specify the idx of RenExciter:Then in WTDTA1Model, the
ree
is used as the indexer forreg
(ExtParam
). Further,reg
is used as the indexer forSn
(ExtParam
). However, the trouble is that an indexer should beIdxParam
.A possible way is to develop a new Param
ExtIdx
, but that can be overkill for such a rare case. Do you have any better idea to solve it?Regards,
Jinning
Beta Was this translation helpful? Give feedback.
All reactions