Figure 2. Algorithm flowchart. Data input by the user through the front end; Setting all the input parameters into a TRD file; Running a test simulation; Optimisation process in TRNOPT: a. Calculating the maximum and minimum limits of total solar collection area, storage tank volume, and he...