Energy-efficient techniques in casting