Guidelines for Coding

All the guidelines should be followed without fail for timely acceptance of code and award of internship. Failure to do so might result in rejection of your work.

  1. Strictly use DWSIM 4.3 and above for coding.
  2. The codes should follow the naming convention as given below, the codes will not be approved if the naming convention is not followed as instructed. For example, 3rd solved problem from chapter 1 (Example 1.3) should be represented by code named as Ex1_3.dwxml.
  3. Do not submit separate codes for various sub problems of a particular solved examples. For example, only a single code Ex5_4.dwxml (containing answers to all 3 subparts) should be submitted instead of submitting 3 separate codes Ex5_4_a.dwxml, Ex5_4_b.dwxml and Ex5_4_c.dwxml.
  4. The dependencies on other codes/functions (if any) should be mentioned as a comment clearly before starting the code.
  5. If the textbook contains error in calculations/results, mention the same as a comment at the end.
  6. Follow the convention mentioned below for uploading files: (a) Use .dwxml extension for main files (b) Use .dwsim extension for dependency
  7. Do not include problem statement/text from the book in the code.
  8. All the outputs must be displayed in appropriate format (along with units mentioned).
  9. The symbols used in the code should be same as those being used in the textbook.
  10. Check for using correct formulae while using in-built functions (For example, the angles must be converted to degree (or radians) before calculating the sine or cosine etc).
  11. Once you have completed coding, mail us at contact(hyphen)dwsim(at)fossee(dot)in with complete details including your name and allotted book.