Skip to content

Instantly share code, notes, and snippets.

View kandersolar's full-sized avatar
🐌
Nigel the snail

Kevin Anderson kandersolar

🐌
Nigel the snail
  • Sandia National Laboratories
View GitHub Profile
@kandersolar
kandersolar / pvlib_mismatch_prototype.ipynb
Created May 31, 2023 13:50
a pvlib-based prototype I-V curve adder/mismatch calculator
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kandersolar
kandersolar / list_pvlib_functions.py
Created May 30, 2023 18:59
List the public functions in pvlib
import pvlib
import pandas as pd
import numpy as np
def recurse(module):
objects = []
for name in dir(module):
if name.startswith("_"):
continue
obj = getattr(module, name)
@kandersolar
kandersolar / sr_data_demo.ipynb
Last active December 22, 2022 17:12
Extracting SR/QE data from Anton's SR data file on the DuraMAT datahub
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kandersolar
kandersolar / modelchain_sp_hack.ipynb
Last active December 16, 2022 16:08
Hacky way of using pre-calculated solar position/airmass values with ModelChain.run_model()
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kandersolar
kandersolar / cumulative_energy.ipynb
Created October 27, 2022 20:45
Showing how calculating interval energy from cumulative energy depends on how the cumulative energy was recorded
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kandersolar
kandersolar / doi2bibtex.ipynb
Created May 12, 2022 14:17
Get bibtex for a DOI
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kandersolar
kandersolar / pvfactors_components.ipynb
Created April 21, 2022 15:30
Extracting irradiance components and intermediate values from a pvfactors simulation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kandersolar
kandersolar / pvfactors_runtime_rows.ipynb
Created February 4, 2022 16:47
pvfactors runtime scaling with n_pvrows
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kandersolar
kandersolar / TrendAnalysis_pvdaq4_modified.ipynb
Last active February 3, 2022 20:29
RdTools power=0 issue
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kandersolar
kandersolar / prilliman_comparison.ipynb
Last active January 25, 2022 01:43
Comparing implementations of the Prilliman et al. 2020 moving average cell temperature model
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.