Skip to content

Instantly share code, notes, and snippets.

View cwhanse's full-sized avatar

Cliff Hansen cwhanse

  • Sandia National Laboratories
View GitHub Profile
# -*- coding: utf-8 -*-
"""
Created on Thu Apr 25 14:39:40 2024
@author: cliff
"""
import numpy as np
import pandas as pd
import pvlib
from pvlib.singlediode import bishop88, estimate_voc, _prepare_newton_inputs
@cwhanse
cwhanse / revised_lambertw_mpp.ipynb
Last active January 25, 2023 20:26
Improved max. power calculation in pvlib.singlediode._lambertw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cwhanse
cwhanse / iv_function_behavior.py
Last active December 22, 2022 19:03
Funny behavior with pvlib v0.9.4 calcparams and singlediode functions
import numpy as np
import pandas as pd
import pvlib
import matplotlib.pyplot as plt
modules = pvlib.pvsystem.retrieve_sam('CECMod')
cec_model = modules['Canadian_Solar_Inc__CS6P_235P']
{
"openapi": "3.0.0",
"info": {
"version": "1.1.3",
"title": "OB OpenAPI Taxonomy",
"description": "OB OpenAPI Definitions For Orange Button."
},
"paths": {},
"servers": [],
"components": {