I'm transferring a legacy model from Simulink to Dymola that includes a feedback loop where an output signal is passed back to the input for decay calculations. In Simulink, a memory block is used to create a one integration time step delay and also to initialize the signals. I attempted to use a unit step delay in Dymola, however we do not use a fixed-step solver and the model diverged. Fixed delay also did not work as expected
Are there any suggestions on how to pass the output to input while initializing properly? These signals are all of type "Real".