Francesco Casella
Francesco Casella
> Apparently this proposal of using an external object is not trivial to implement in OpenModelica because it currently lacks support for instantiating external objects at compile time, see [OpenModelica/OpenModelica#13044](https://github.com/OpenModelica/OpenModelica/issues/13044)...
I guess we could have both, with a parameter puParameters to select which ones should be considered.
We can discuss this with @joyelfeghali and @marcochiaramello. It's a non-backwards compatible change, so we need to be careful.
> > We can discuss this with @joyelfeghali and @marcochiaramello. It's a non-backwards compatible change, so we need to be careful. > > I agree with having the parameters value...
@arun3688 can you please take care of this? Thanks!
@adrpo, ping! If you could take care of this, it would be nice.
See [MCP 0038](https://github.com/modelica/ModelicaSpecification/tree/MCP/0038/RationaleMCP/0038) regarding how to solve this issue in general
#4465 fixes the issue on master for MSL 4.2.0. @Esther-Devakirubai we should back-port it to maint/4.1.x so we also get this in 4.1.0.
After the discussion during the last MAP-Lang meeting, there was an agreement to update the specification and allow this kind of behaviour, see modelica/ModelicaSpecification#3577. See comment from @HansOlsson in [#4465](https://github.com/modelica/ModelicaStandardLibrary/pull/4465#issuecomment-2462581008)....
@ceraolo I need to look into that. To me it's a bit odd that explicitly setting U makes it changeable at runtime, while leaving it at its (equal) default value...