“XX-SLAM: a general purpose Second Law Analysis Module” – in second Law Analysis of Thermal Systems