You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a port in my modelDescription.xml file as the following:
<ScalarVariable name = "XYZ" valueReference ="123" description = "Function Call" causality="parameter" variability="tunable" <String start="0/>
How do I add this port in the YAML file ?
When I try adding this in the Parameters section in the YAML via
Hello,
This error means that the FMU Importer had trouble calling GetString with a certain ValueReference. Make sure the FMU supports returning the value of all your string parameters. Indeed, the FMU Importer automatically retrieves the FMU's value of a parameter during the first simulation step to publish it to its topic.
If you want to stop the FMU Importer to do this, you can add IgnoreUnmappedVariables: True to the configuration file and map all your other (needed) variables.
Hello,
The port that was mentioned above is a function call residing inside FMU (causality is of type Parameter)
I want to trigger the function call (and set the value passed to the function via Setters).
Is it possible to have the function call variables under the YAML FMU Configuration File, just as we do for IN/OUT ports?
I came across the above section where in it is mentioned that Parameters are by default set as DataPublishers.
But in my context I want to set the Parameters as DataSubscribers.
Below the table I see a statement where in it redirects to a link where the default mapping could be changed.
However, the link is not redirecting me to anywhere. Would it be possible to provide any alternative link (if any).
I have a port in my modelDescription.xml file as the following:
<ScalarVariable name = "XYZ" valueReference ="123" description = "Function Call" causality="parameter" variability="tunable" <String start="0/>
How do I add this port in the YAML file ?
When I try adding this in the Parameters section in the YAML via
Value: "1"
And also map it in the VariableMapping section as
VariableName: "XYZ"
TopicName: "Function_1"
Transformation:
TransmissionType: "String"
I have an error stating [error] Failed to retrieve data via GetString.
Please suggest what am I doing wrong ?
The text was updated successfully, but these errors were encountered: