Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#5167 closed defect (fixed)

Issue with package constants in HelmholtzMedia with the NF

Reported by: casella Owned by: perost
Priority: high Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc: m.thorade@…

Description

Please check HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation. The following error is reported:

HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation_functions.c:2680:10:
error: use of undeclared identifier '_Medium'
  tmp2 = _Medium._fluidConstants[1]._criticalMolarVolume;
         ^

Change History (6)

comment:1 Changed 6 years ago by casella

  • Cc m.thorade@… added

comment:2 Changed 6 years ago by perost

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 02ecfb7.

comment:3 follow-up: Changed 6 years ago by Matthis Thorade <matthis.thorade@…>

This error seems to be similar!?

HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport_functions.c:15912:39: error: use of undeclared identifier '_Medium'
  tmp2 = size_of_dimension_base_array(_Medium._dynamicViscosityCoefficients._a, ((modelica_integer) 1));

https://libraries.openmodelica.org/branches/newInst/HelmholtzMedia/files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.err

comment:4 in reply to: ↑ 3 Changed 6 years ago by perost

Replying to Matthis Thorade <matthis.thorade@…>:

This error seems to be similar!?

HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport_functions.c:15912:39: error: use of undeclared identifier '_Medium'
  tmp2 = size_of_dimension_base_array(_Medium._dynamicViscosityCoefficients._a, ((modelica_integer) 1));

https://libraries.openmodelica.org/branches/newInst/HelmholtzMedia/files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.err

Fixed in 00ef403a.

comment:5 follow-up: Changed 6 years ago by Matthis Thorade <matthis.thorade@…>

Nice!
The following two also have a similar error message. Again, I don't know if that means they are related at all...

HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.c:80:3: 
error: use of undeclared identifier '$Psat_p$Pliq'
  $Psat_p$Pliq = tmp2._liq;
  ^

https://libraries.openmodelica.org/branches/newInst/HelmholtzMedia/files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.err
https://libraries.openmodelica.org/branches/newInst/HelmholtzMedia/files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.err

comment:6 in reply to: ↑ 5 Changed 6 years ago by perost

Replying to Matthis Thorade <matthis.thorade@…>:

Nice!
The following two also have a similar error message. Again, I don't know if that means they are related at all...

It might look similar, but it's a completely different issue. I opened #5225 for it.

Note: See TracTickets for help on using tickets.