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

conditional components - need to recompile?

conditional components - need to recompile?

Hi,

Are there any compile flags (or any other method) that would make it possible to re-simulate a model with a conditional component (e.g. Modelica.Electrical.Analog.Basic.Resistor resistor1(R=R) if incRes) without the need to re-compile if the the Boolean "incRes" changes?

Thanks, Bob

Re: conditional components - need to recompile?

No. Conditional components use structural parameters which cannot be changed after model translation.

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