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

set parameters and startvalues before simulation

set parameters and startvalues before simulation

Hey,

i want to run parameter studies  in python (change the infiltration rate in buildingLibraray)

i tried: simulateModel and simulateExtendedModel(..."zone.n50", [value])

My questions:

    I got an error message when trying to translate the model and the change the value (simulateModel).
      Then i tried to rund simulateExtendedModel: It is also not possible.

      So my question: How to change values ( befor running (and translating?) the simulation?

      Kind regards,
      Gerald

      Re: set parameters and startvalues before simulation

      See here: https://openmodelica.org/forum/default- … eter-sweep
      You can run omc from command line from python, do buildModel and then use Model --overide to run it with different start values.

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