campfire is a model for parabolic solar troughs, written in MATLAB.
It consists of a optical and a thermal model. There is a also a basic costing code, that allows you to compute the LCOE of a trough.
It was written by Abdullah Khalid and Hassan Bukhari with the support of the Lahore University of Management Sciences (LUMS) in Pakistan.
Please start with constants.m. Define the properties of your system. Most properties are self explanatory.
Then run mainLinear.m to run a simulation of the model and display some results.
mainFieldLCOE.m is a script that also runs costing code associated with the model.
More details can be found in our thesis.
This code is licensed under the GPLv3 license.
If you use this code please drop an email at [email protected].