Add functions for hosp sim
Update docs