Start with the documentation chapter about this subroutine - there you will find the information about the necessary syntax. Then look for examples of this subroutine in the documentation (e.g. in the Verification guide). Finally, check if there are any research papers about such simulations that could help you, at least with the theory, formulas and so on.