Opened 6 years ago

Closed 6 years ago

#5321 closed defect (fixed)

The NF does not handle overconstrained connections correctly

Reported by: Francesco Casella Owned by: Per Östlund
Priority: high Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc: Michael Wetter

Description

Please check Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL. The NF fails with

[1] 19:06:18 Symbolic Error
Too many equations, over-determined system.
The model has 916 equation(s) and 913 variable(s).

while the OF leads to successful simulation.

I guess overconstrained connections are not handled properly, so there are eventually more equations than unknowns in the flat model.

Change History (2)

comment:1 by Francesco Casella, 6 years ago

@perost, I checked the 3-phase AC electrical models of the Builings library, and I verified that all models failing to compile have meshes, while the ones that simulate correctly don't. So, this failure it's most definitely due to NF not removing the redundant equations from the loops of the connection diagram for some reason.

There is a lot such models in the testuite, so I guess that addressing this issue should boost the coverage significantly. I have no idea whether this is an easy fix or not, but I would definitely give it a try ASAP.

comment:2 by Francesco Casella, 6 years ago

Resolution: fixed
Status: newclosed

Fixed by PR #3081

Note: See TracTickets for help on using tickets.