Modelica code described in our paper
Pathirana, Visura, Sarah Elizabeth Creasman, Ondřej Chvála, and Steve Skutnik. "Molten salt reactor system dynamics in simulink and modelica, a code to code comparison." Nuclear Engineering and Design 413 (2023): 112484.
https://doi.org/10.1016/j.nucengdes.2023.112484
The Simulink code is in: https://github.com/ondrejch/2020-SMD-MSR
Detailed modeling approach is described in
Pathirana, Visura Umesh, "Dynamics Modeling of Molten Salt Reactors. " PhD diss., University of Tennessee, 2023.