fedetftpolimi

Results 42 comments of fedetftpolimi

Note that for R1233zd(E) the thermal conductivity model appears to be missing as PropsSI only returns Inf. Is this a known missing feature?

Me and @albertoleva were initially plotting conductivity as a function of density at constant pressure but then switched to enthalpy as it is easier to understand when the fluid starts...

From a quick check it should allow both static and dynamic libraries to access the pointers to the modelicaUtilities functions, so from a C/C++ perspective it seems good. However, the...

@casella By the way, the two proposal are also not mutually exclusive. We may even support both allowing to retrieve the functions as symbols by the linker or pointers through...

The proposal in https://github.com/modelica/ModelicaSpecification/issues/2191 we were referring to is the one @casella [posted on on May 22, 2024](https://github.com/modelica/ModelicaSpecification/issues/2191#issuecomment-2124156432): exporting symbols to allow automatic lookup by the dynamic linker/loader. The idea...

I like @casella idea of a pre-defined instance of the ModelicaUtilityFunctions external object. We should avoid the situation of creating several redundant instances of the ModelicaUtilityFunctions object. Now that I...

Am I missing something? I always thought it was implemented by throwing an exception (C code can be compiled with exceptions on essentially all platforms) so that if there are...

By the way, if this is not addressed, libraries such as ExternalMedia will always leak memory and likely crash the entire Modelica environment after attempting to recover from a ModelicaError...

The fact that the interface is in C does not forbid to implement ModelicaError by throwing an exception under the hood. If the exception propagates through C code it doesn't...