Hai you can find source code of the components in path TRNSYS18\SourceCode\Types. If you need to change the source code you have to recompile it. May be using FORTRAN.
Prasanth Subramani after editing the code and compiling it using the compiler in type studio available in TRNSYS 18. I tried running the component with new source code, but results are still same. Do you have any idea what else should be done?
Aditi Garg , does the latest version of TRNSYS ver 18 have a compiler to rebuilt the TRNSYS or to create new components or modify existing components? I used Intel Visual Fortran years ago to create new components.
Mohammad Abdunnabi Yes it has inbuilt compiler. One can use the inbuilt Intel Visual FORTRAN compiler to create new components or modify existing ones.
Aditi Garg : One possibility is that the component is still using the old code. It can happen if you have both the codes in the TRNSYS folder. Maybe take a backup of the old code, delete it in TRNSYS folder. Run the simulation. With this, you can be sure that it is using the new code.
Otherwise, are you sure that it is not because of the code and parameter you choose?
Prasanth Subramani I deleted the existing code from TRNSYS folder and then tried running it. The results are still the same.
Actually I want to check for type 74, by dividing the heat loss coefficient by concentration ratio and some changes in the outlet temperature of collector.
By making these changes in the code, it is giving same result as it was with the existing code.
Aditi Garg : Make sure that this code is being executed. Assign constant value to an output and run simulation. If constant value is printed on every time step, you can be sure that this code is executed.
If right code is executed then it can be mathematical problem or coding problem.
You have to check the code and mathematics behind it.