﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5756	OMEdit - IDEAS library - redeclare package problem	sophie.hertzog@…	Adeel Asghar	"Hello, I am currently working on IDEAS library with OMEdit. I already mentionned the problem on IDEAS GitHub (https://github.com/open-ideas/IDEAS/issues/1101) and it seems the problem does not occur on Dymola but on OMEdit. Do you know how I can solve this?

1. I am defining Medium at the top of the code: 

{{{
model SimpleHouseTemplate7
  ""Template file for simple house example + heating simple command""
  extends Modelica.Icons.Example;

  package MediumAir = IDEAS.Media.Air ""Medium model for air"";
  package MediumWater = IDEAS.Media.Water ""Medium model for water"";
}}}


2: Then I want to redefine the package Medium for a specific block of the IDEAS library called ""ConstantEffectiveness"" (in IDEAS.Fluid.HeatExchangers): 


{{{
IDEAS.Fluid.HeatExchangers.ConstantEffectiveness hexRec(redeclare package Medium = MediumAir, eps = 0.85)
}}}


3. I get following errors:

{{{
[1] 08:14:06 Übersetzung Fehler
[SimpleHouseTemplate7: 61:69-61:95]: Modified element Medium not found in class ConstantEffectiveness.

}}}

According to IDEAS developers, the redeclaration of the package should work. Do you know how I can solve this on OMEdit? 
"	defect	closed	normal	Future	OMEdit	v1.14.0	invalid	IDEAS ; Medium	
