SunCalculator Copyright (c) 2015-2019 Marco Ernst By using SunCalculator, the User accepts the following license agreement: 1. SunCalculator is the intellectual property of its Author, Dr. Marco Ernst. 2. SunCalculator is free for non-commercial use only. 3. Unless explicitly allowed by a separate license agreement, other use and further redistribution in any form is prohibited, for free or commercially, including integration into other software tools or web services, and including commercial distribution of the rendered results. 4. SunCalculator is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE of the rendered results. 5. Neither the Author nor the institution through which this copy of SunCalculator is obtained can be held responsible for the consequences of programming errors, inaccuracies, or misuse. 6. The User refers to following publication whenever the use of SunCalculator is mentioned or results from SunCalculator are used: - M. Ernst, H. Holst, M. Winter, and P. P. Altermatt, “SUNCALCULATOR: A program to calculate the angular and spectral distribution of direct and diffuse solar radiation,” Sol. Energy Mater. Sol. Cells 157, 913–922 (2016). doi: 10.1016/j.solmat.2016.08.008 7. The User accepts the separate license agreements of implemented libraries and databases, as referenced below. ------------------------------------------------------------------------------------ SunCalculator implements the SunCalculator-Library. The following copyright notice applies only to the SunCalculator-Library. SunCalculator-Library Copyright (c) 2015 Institute for Solar Energy Research Hamelin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 4. Redistributions of any form whatsoever must retain the following acknowledgment: 'This product includes the SunCalculator-Library developed by Marco Ernst and Hendrik Holst at the Institute for Solar Energy Research Hamelin (www.isfh.de)' THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------------ SunCalculator includes a pre-calculated SMARTS database (Filename: SMARTS_fine.bin). It is mandatory to accept the SMARTS license agreement (at http://www.nrel.gov/rredc/smarts/register.html) prior using the SMARTS database within SunCalculator. SMARTS references: Gueymard, C. (2001). "Parameterized Transmittance Model for Direct Beam and Circumsolar Spectral Irradiance." Solar Energy (71:5); pp. 325–346. Gueymard, C. (1995). "SMARTS, A Simple Model of the Atmospheric Radiative Transfer of Sunshine: Algorithms and Performance Assessment." Professional Paper FSEC-PF-270-95. Florida Solar Energy Center, 1679 Clearlake Rd., Cocoa, FL 32922.