﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2059	Strange look-up errors when dealing with replaceable functions	Francesco Casella	Per Östlund	"Please load the attached version of the ThermoPower library, which uses MSL 3.2.1.

Running checkModel(ThermoPower.Examples.RankineCycle.PrescribedSpeedPump) returns the following errors:

{{{
[ThermoPower/Examples.mo:2455:68-2455:79:writable] Error: Variable
q_nom not found in scope ThermoPower.Examples.RankineCycle.PrescribedSpeedPump

[ThermoPower/Water.mo:6461:7-6465:36:writable] Error: Class 
flowCharacteristic not found in scope ThermoPower.Water.Pump 
(looking for a function or record).
}}}

I cannot explain them: q_nom is declared in PrescribedSpeedPump a few lines above, and it is also the name of one of the inputs of ThermoPower.Functions.PumpCharacteristics.quadraticFlow, while the function flowCharacteristic is defined in the base class of ThermoPower.Water.Pump named ThermoPower.Water.BaseClasses.PumpBase.

What's wrong here?"	defect	closed	blocker	2.0.0	New Instantiation	trunk	fixed		
