-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing metadata getters #2643
Comments
@TorkelE Is this metadata for XSystems? Or something else? not seeing any XSystems that have |
Sorry, symbolic metadata: https://docs.sciml.ai/ModelingToolkit/stable/basics/Variable_metadata/ Typically, a metadata using ModelingToolkit
@parameters p [misc=["Random", :metadata]]
ModelingToolkit.getmisc(X) works. Check how similar functions are working. It can be worthwhile to see if you can find a list somewhere (and if there is not an exhaustive one, creating it) and checking that each one have both the As an example, it is using symbolic metadata that we e.g. have implemented the metadata tag telling us that a parameter is a conservation law parameter. |
Added |
But is getinput?
…On Thursday, 16 January 2025, Vincent Du ***@***.***> wrote:
Added misc, though I think input is already there as isinput
—
Reply to this email directly, view it on GitHub
<#2643 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEKCY3TCR7SXDPT6V7LXTTD2LAFRRAVCNFSM6AAAAABU3USHSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJWG44DCOJVGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The |
Yes
(Stored as a symbolic variable metadata)
…On Thursday, 16 January 2025, Vincent Du ***@***.***> wrote:
The input field is just a Bool that says whether the variable is an
input, I thought?
—
Reply to this email directly, view it on GitHub
<#2643 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEKCY3RGY2QVNMPCYZOHECL2LATH7AVCNFSM6AAAAABU3USHSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJWHE4DKNJTGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
It seems like all of the boolean metadata variables just have |
To be honest, you are probably right. I was thinking of some system where it loops through metadata, but doesn't really make sense. |
It seems that getters for these metadata are missing:
misc
,input
. Possibly this holds for a few others.The text was updated successfully, but these errors were encountered: