Opened 7 years ago
Closed 7 years ago
#4912 closed defect (duplicate)
Lookup issue in Modelica.Media with NF
Reported by: | Francesco Casella | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description
Please check Modelica.Media.Examples.ReferenceAir.MoistAir.err. The following error is reported:
[Modelica 3.2.2/Media/package.mo:2726:7-2726:80:writable] Error: Class Medium.ThermodynamicState not found in scope MoistAir.
Note:
See TracTickets
for help on using tickets.
The actual error is
which is due to missing support for partial function application, see #4837.
Medium
in this case contains a constant with a binding that indirectly usesTsub_res
, which causes the instantiation ofMedium
to fail during lookup which triggers the lookup error.