How to loop a model's output back to the input untill they both converge
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Andrews Kwkaye
am 2 Sep. 2022
Beantwortet: J Chen
am 2 Sep. 2022
I am building a model to calculate the pressure and flow rate for a fuel rig. The model takes in a guessed flow, and based on lookup tables, outputs different pressures. These pressures are used to compute the final flow.
My problem is I want to achieve a convergence (the flow in = flow out), and I want to know how I can loop the result at the flow out to the flow in till they both have the same flow.
0 Kommentare
Akzeptierte Antwort
J Chen
am 2 Sep. 2022
Use a Delay block https://www.mathworks.com/help/simulink/slref/delay.html
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!