﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6096	Issues with redeclare in Buildings	Francesco Casella	Per Östlund	"Please check [https://libraries.openmodelica.org/branches/newInst/Buildings_7.0.0/files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.err Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium]. The NF fails with
{{{
[/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Electrical/Transmission/Functions/selectCable_low.mo:19:3-23:30:writable] Error: assert triggered: In function Buildings.Electrical.Transmission.Functions.selectCable_low,
  cable autosizing has a nominal Voltage 15000 [V].
  The low voltage cables do not support such a voltage level.
}}}
I looked up {{{selectCable_low}}} in the library source code of {{{Buldings.Electrical}}} and found several places where it is invoked. I then looked up {{{selectCable_med}}}, but I could only find the definition of the function, which is apparently never called.

Could it be that there is something wrong with the library which eventually calls {{{selectCable_low}}} all the time even when {{{commercialCable}}} is redeclared to {{{Buildings.Electrical.Transmission.MediumVoltageCables.Generic}}}?"	defect	closed	high	1.16.0	New Instantiation		fixed		
