Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Accesing OMSimulator command line to provide starting values

Accesing OMSimulator command line to provide starting values

Hi all,

I am trying to import an FMU from TRNSYS in the OMSimulator tool. However, once I insert it I get the following error:

[3] 08:16:21 Scripting Error
[fmiLogger] module FMI2XML: Start attribute is required for this causality, variability and initial combination

It seems that it is caused by the absence of starting values. I have checked the existing documentation (link) but I am not able to find the command line of OMSimulator.

On the other hand, in that link I have not found any function or method to provide initial values to different variables. I only see this one (which maybe is also useful, I don't know...):
-ignoreInitialUnknowns=<bool>  Ignore the initial unknowns from the modelDescription.xml

I would appreciate I you can guide me on how to find the command line and which methods should I use for runing my simulation.

Thanks!

There are 0 guests and 0 other users also viewing this topic
You are here: