use sckm function to create sir model