Invia SMS: Material and energy balance computations