Zaslat SMS: Introduction to material and energy balances