﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6420	Detection of wrong connections	Christian Kral	Adeel Asghar	"This is a feature request, resulting as a conclusion of the non-working models of my students that I had to investigate over the last years. 

Whenever the connections of a graphical model in Modelica looks OK but the connections are not OK, it is very hard to identify the underlying problem. Typical issues in electrical circuits are:

- Shortening the two pins the current path of (a) a current or (b) a power sensor (see attachment Example1: wrong {{{connect(currentSensor.p, currentSensor.n)}}}) 
- Instead of connecting the two connectors of a component, the connections are made to the same one connector of the component (see attachment Example1: {{{connect(ground.p, resistor.p)}}} instead of {{{connect(ground.p, resistor.n)}}})

Such issues can usually not be identified in the diagram layer, as the wrong connections interfere with the icon. Depending on the complexity of the model, is more less time consuming to identify such issues in OpenModelica. 

In order to trace such issue a button like ""Check connections"" could be introduced. This could for example trigger some simple checks:

- List the not connected connectors (possibly output connectors could be excluded from the list)
- Highlight the connection with bold line width (and shade and flashing or whatever) in the foreground so that the icons are in the background and each connection can be checked thoroughly"	enhancement	closed	high	NeedsInput	OMEdit	1.16.2	duplicate		
