Wrong error raised when forgetting to instanciate a cycle closer
The issue only happens if a cycle closer is absent but sink and sources are present. here, the sink and source are used for the secondary circuit of the condenser so they have no influence on the heat pump cycle itself but still, the error is not captured and the KeyError is misleading.
Example code :
_from CoolProp.CoolProp import PropsSI
from tespy.networks import Network
from tespy.components import Source, Sink,Compressor,Valve,MovingBoundaryHeatExchanger, SimpleHeatExchanger
from tespy.connections import Connection