Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a simple transformer effficiency model to pvlib (#2053)
* wrote a simple transformer efficiency model * edited documentation to include latex, unsure if it will compile correctly in docs. * removed "if __main__" * removed "if __main__" * changed whatsnew rst * updated to be in compliance with Flake8 * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * + added transformer to index.rst + added transformer.rst to pvlib/docs/source/sphinx/reference * Update docs/sphinx/source/reference/transformer.rst Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * updated names of loss values and changed to [unitless] * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * forgot to update arguments in test function * updated formatting of docstring * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * adding space between equations in docstring * fixing flake8 linting * removing whitespace * Update docs/sphinx/source/reference/transformer.rst Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> * Update pvlib/transformer.py Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> * Update pvlib/transformer.py Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Update pvlib/transformer.py Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> * Update pvlib/transformer.py Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> * Update pvlib/transformer.py Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> * Update docs/sphinx/source/whatsnew/v0.11.0.rst Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> * Update pvlib/transformer.py Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> * Update pvlib/tests/test_transformer.py Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> * Update pvlib/transformer.py Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> * Update pvlib/transformer.py Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com> * Update pvlib/transformer.py Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com> * Update docs/sphinx/source/whatsnew/v0.11.0.rst Co-authored-by: Adam R. Jensen <39184289+AdamRJensen@users.noreply.github.com> * Update pvlib/transformer.py Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> * Update pvlib/transformer.py Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> * clean up derivation and docstring * change code calculations to match docstring * test recovery of no-load and full-load values * bit more cleanup * typo * Apply suggestions from code review Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> * Apply suggestions from code review --------- Co-authored-by: Cliff Hansen <cwhanse@sandia.gov> Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com> Co-authored-by: Adam R. Jensen <39184289+AdamRJensen@users.noreply.github.com>
- Loading branch information