You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by stefanv on 29 Jul 2011 20:01 UTC
There's a call to spliceFunction in Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer, and this function does not appear to be visible in that context.
Comment by hubertus on 29 Jul 2011 21:37 UTC
That is true, and still the case in 3.2. There is a built-in such function in Dymola, which is why this is not noticed. I have fixed a number of occurences of this. A Modelica version of the function is in Modelica.Media.Air.MoistAir.spliceFunction, which is a pretty bad place if it is used at several places in Modelica.Fluid. Anyways, the function call should be to Modelica.Media.Air.MoistAir.spliceFunction().
Comment by dietmarw on 29 Jul 2011 21:59 UTC
As a short-term fix for 3.2 and the following 3.x versions I would suggest simply changing the call.
For a long-term solution (i.e., when conversion scripts are available) we should movespliceFunction() and spliceFunction_der() somewhere suitable under Modelica.Math (and add some proper documentation to it ;-)).
modelica-trac-importer
changed the title
Non-visible spliceFunction in Modelica3.1/Fluid/Pipes.mo
Non-visible spliceFunction in Modelica/Fluid/Pipes.mo
Jan 14, 2017
Comment by dietmarw on 2 Aug 2012 12:57 UTC
This was already fixed in 82f8c79 (see ticket #488). Also for now I don't see the need to generalise that function as it is (so far) only used once in Fluid and else within Media.
Reported by stefanv on 29 Jul 2011 20:01 UTC
There's a call to spliceFunction in Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.LocalPipeFlowHeatTransfer, and this function does not appear to be visible in that context.
Migrated-From: https://trac.modelica.org/Modelica/ticket/596
The text was updated successfully, but these errors were encountered: