﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5372	Issue with NFInst.instExpressions and protected elements	Francesco Casella	Per Östlund	"Please check [https://libraries.openmodelica.org/branches/newInst/BuildingSystems/files/BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.err BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem]. The following error is reported by the NF:
{{{
[BuildingSystems 2.0.0-beta/Technologies/ThermalStorages/BaseClasses/BuoyancyModels/PartialBuoyancy.mo:7:3-9:119:writable] Error: Illegal access of protected element port_b.
[BuildingSystems 2.0.0-beta/Technologies/ThermalStorages/FluidStorage.mo:356:5-359:29:writable] Error: Variable HeatBuoyancy.port_b[i] not found in scope $IMPLICIT.
}}}
There are some protected elements in class FluidStorage, but I cannot understand why {{{port_b}}} should be.
"	defect	closed	high	2.0.0	New Instantiation		invalid		nytsch@…
