how to work with dyomo and sqs and S#