diff --git a/tespy/connections.py b/tespy/connections.py index c0bffdcbd..4183f9d07 100644 --- a/tespy/connections.py +++ b/tespy/connections.py @@ -271,8 +271,8 @@ def __init__(self, label, **kwargs): def set_attr(self, **kwargs): - self.label = kwargs.get('label') - self.P = kwargs.get('P') + self.label = kwargs.get('label', self.label) + self.P = kwargs.get('P', self.P) if not np.isnan(self.P): self.P_set = True