﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3330	Error occurred while flattening model Buildings.Electrical.AC.*.Sources.PVSimpleOriented	Marco Bonvini		"Hi all,

I'm trying to make the Electrical package of the modelica Buildings library work with OpenModelica. So far most of the models work, however OM has problems in flattening some of them.

Looks like the problem is caused by the multiple extension that some of the models have.

I was able to solve a similar issue (https://github.com/lbl-srg/modelica-buildings/issues/415) by adding an extra parent to all the models of type *ResistiveLoad.

Now I am seeing a similar issue with the following models:

    Buildings.Electrical.AC.*.Sources.PVSimpleOriented

while the models

    Buildings.Electrical.AC.*.Sources.PVSimple 

work correctly.

When trying to use one of the examples for these models I get this error

Error: Could not evaluate structural parameter (or constant): PhaseSystem.n which gives dimensions of array: v[PhaseSystem.n]. Array dimensions must be known at compile time.
Error: Error occurred while flattening model Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels

Any suggestions or fix that I can do?

Thanks
Marco
"	defect	closed	normal	1.17.0	Third-Party Libraries	1.9.0Beta	wontfix	Buildings Library	
