Opened 15 years ago

Last modified 14 years ago

#1199 closed defect (fixed)

Media: If expression fails to elaborate

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone:
Component: Instantiation Version: 1.5.0RC2
Keywords: Cc: Martin Sjölund, Adrian Pop, Per Östlund

Description

{{{instantiateDaeFunction failed for h_T in scope: Modelica.Media.Incompressible.TableBased.specificEnthalpy
instantiateDaeFunction failed for h_T in scope: Modelica.Media.Incompressible.TableBased.specificEnthalpy
instantiateDaeFunction failed for h_T in scope: Modelica.Media.Incompressible.TableBased.specificEnthalpy
instantiateDaeFunction failed for h_T in scope: Modelica.Media.Incompressible.TableBased.specificEnthalpy
instantiateDaeFunction failed for h_T in scope: Modelica.Media.Incompressible.TableBased.specificEnthalpy
instantiateDaeFunction failed for h_T in scope: Modelica.Media.Incompressible.TableBased.specificEnthalpy
instantiateDaeFunction failed for specificEnthalpy in scope: Modelica.Media.Incompressible.TableBased.specificEnthalpy_pTX}}}

{{{- Static.elabIfexp failed

  • Static.elabExp failed: if TinK then T else Cv.to_degC(T) Scope: Modelica.Media.Incompressible.TableBased.h_T}}}

TinK has type NOTYPE instead of Boolean, so this is probably an issue with updateComponentsInEnv. The file ends up in an infinite loop, but it does not overflow the stack.

Attachments (1)

TestGlycolTotal.mo (67.7 KB ) - added by Martin Sjölund 15 years ago.

Download all attachments as: .zip

Change History (2)

by Martin Sjölund, 15 years ago

Attachment: TestGlycolTotal.mo added

comment:1 by Per Östlund, 14 years ago

This particular problem seems to have been solved in r8063, but there are still other problem with the model.

Note: See TracTickets for help on using tickets.