|
| 1 | +BSD 3-Clause License (NREL variant) |
| 2 | + |
| 3 | +Copyright (c) 2018, National Renewable Energy Laboratory |
| 4 | +All rights reserved. |
| 5 | + |
| 6 | +NOTICE: This software was developed at least in part by Alliance for |
| 7 | +Sustainable Energy, LLC (“Alliance”) under Contract No. DE-AC36-08GO28308 |
| 8 | +with the U.S. Department of Energy and the U.S. Government retains for itself |
| 9 | +and others acting on its behalf a nonexclusive, paid-up, irrevocable worldwide |
| 10 | +license in the software to reproduce, prepare derivative works, distribute |
| 11 | +copies to the public, perform publicly and display publicly, and to permit |
| 12 | +others to do so. |
| 13 | + |
| 14 | +Redistribution and use in source and binary forms, with or without |
| 15 | +modification, are permitted provided that the following conditions are met: |
| 16 | + |
| 17 | +* Redistributions of source code must retain the above copyright notice, |
| 18 | + the above government rights notice, this list of conditions and the |
| 19 | + following disclaimer. |
| 20 | + |
| 21 | +* Redistributions in binary form must reproduce the above copyright notice, |
| 22 | + the above government rights notice, this list of conditions and the |
| 23 | + following disclaimer in the documentation and/or other materials provided |
| 24 | + with the distribution. |
| 25 | + |
| 26 | +* The name of the copyright holder, contributors, the United States Government, |
| 27 | + the United States Department of Energy, or any of their employees may not |
| 28 | + be used to endorse or promote products derived from this software without |
| 29 | + specific prior written permission. |
| 30 | + |
| 31 | +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 32 | +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 33 | +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 34 | +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER, CONTRIBUTORS, UNITED STATES |
| 35 | +GOVERNMENT OR UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, |
| 36 | +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 37 | +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
| 38 | +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 39 | +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 40 | +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
| 41 | +THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 42 | + |
| 43 | +------- |
| 44 | +Portions of this code originally derived from the "adp-toolbox," licensed under |
| 45 | +a BSD2- clause license with the following text: |
| 46 | + |
| 47 | +BSD 2-Clause License |
| 48 | + |
| 49 | +Copyright (c) 2012, Massachusetts Institute of Technology and Bryan Palmintier |
| 50 | +All rights reserved. |
| 51 | + |
| 52 | +Redistribution and use in source and binary forms, with or without |
| 53 | +modification, are permitted provided that the following conditions are met: |
| 54 | + |
| 55 | +* Redistributions of source code must retain the above copyright notice, this |
| 56 | + list of conditions and the following disclaimer. |
| 57 | + |
| 58 | +* Redistributions in binary form must reproduce the above copyright notice, |
| 59 | + this list of conditions and the following disclaimer in the documentation |
| 60 | + and/or other materials provided with the distribution. |
| 61 | + |
| 62 | +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 63 | +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 64 | +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 65 | +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
| 66 | +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 67 | +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 68 | +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 69 | +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 70 | +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 71 | +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
0 commit comments