Dear All, <br><br>I am modeling a BROAD single effect absorption chiller using type680. This uses the catalog data lookup approach. Not all data points are available for all operation conditions, for example, with cooling water (CW) in of 30C, Set point Temp 7C, and hot water (HW) input of 85C there is no capacity data point because it is below 50%, however there is a data point available at CW of 24C, set point temp of 7C and HW input of 85C so we need to have the 85C included in the data file. <br>
<br>The problem is what to put as the data point in these invalid points? <br> Zero (0) works for most, as it just turns the chiller off, but a problem occurs when the conditions are between an invalid and a valid data point because the dynamic data point interpolates between the 0 and the real value leading to unrealistic data. <br>
<br>There needs to be a way to switch the chiller off when an any invalid data point is used. <br><br>One solution is to add another 0, Zero point very close to each side of the point, for example(not exact), do 85, 89.9, 90..... = capacity 0, 0, 0.74.....<br>
<br>This would minimize the interpolation chance, however not great and pointful to create the data file. <br><br>Another solution would be to put NA or something in the data file for the invalid points, and change the fortran code to recognize this and switch the chiller off. Similar to the errorif function in Excel. <br>
However my fortran is very limited and i couldn't find anything on the web. <br><br>Has anyone found a better solution or can help with this? <br><br>Kind regards,<br><br>Jeremy<br><br><br><br><br>