rcenvironment / rce

Distributed, workflow-driven integration environment
https://rcenvironment.de/
51 stars 16 forks source link

Consistant output of converger component #61

Closed LucasKugler closed 3 months ago

LucasKugler commented 4 months ago

The output of the converger component is completely different between the converged and not converged state, which makes it difficult to trigger logic depending on this condition: for example, "done:", "converged", "converged relative" and "converged absolute" are only written once convergence is reached, while "_is_converged:false" is only written when it is not converged, and then becomes "_converged:value".

If I want to save the output of a component inside the convergence loop only if that iteration led to a converged state, I cannot use a switch triggered by the converger because the number of values sent to the switch will never match the number of iterations.

Writing "Converged:false" while convergence is not reached would be enough to solve the problem, although If there is a workaround I haven't thought of I'd be thankful for any idea

janflink commented 3 months ago

Hi. We will contact you in the next days to gather more detailed information about the setup and the issue.