Dynamic simulation of flash drums using rigorous physical property calculations