Refactor sim input generation into fuction from class, Add max dwells keyword