You can make use of Solar Advisor Model (freely available at https://sam.nrel.gov/) that internally uses a (free) embedded module of TRNSYS.
If you look at the codes used by SAM (and its manuals), maybe you could make a "reverse-engineering" and understand how to use TRNSYS to simulate CSP systems.
You can at least use SAM to validate your own code.
It is also to be noted that another freely available code exist to simulate CSP systems (tower, parabolic, fresnel, etc.) : GREENIUS from the DLR (German Aerospace).
You can make use of Solar Advisor Model (freely available at https://sam.nrel.gov/) that internally uses a (free) embedded module of TRNSYS.
If you look at the codes used by SAM (and its manuals), maybe you could make a "reverse-engineering" and understand how to use TRNSYS to simulate CSP systems.
You can at least use SAM to validate your own code.
It is also to be noted that another freely available code exist to simulate CSP systems (tower, parabolic, fresnel, etc.) : GREENIUS from the DLR (German Aerospace).
In TRNSYS you can simulate CSP plant. I did one such simulation for 1 MW plant. It is complex but more customized. It gives you lot of flexibility and high accuracy level.