Skip to content

Instantly share code, notes, and snippets.

View mikofski's full-sized avatar
😎
Solving solar

Mark Mikofski mikofski

😎
Solving solar
View GitHub Profile
@mikofski
mikofski / surfrad_data_download.py
Last active January 30, 2021 07:22
SURFRAD data download
#! python
import ftplib
import io
import json
import logging
import pathlib
import sys
import threading
import time
import os
import pvlib
import pandas as pd
from matplotlib import pyplot as plt
import seaborn as sns
sns.set()
plt.ion()
INVERTERS = pvlib.pvsystem.retrieve_sam('CECInverter')
INVERTER_10K = INVERTERS['SMA_America__SB10000TL_US__240V_']
@mikofski
mikofski / dualtilt.ipynb
Last active October 21, 2020 00:18
Comparison of Dual-Tilt vs. Fixed-Tilt
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikofski
mikofski / compare_tabular_data.ipynb
Created September 2, 2020 22:42
Python tabular data formats face-off
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
"""
An open PV system specification
"""
import json
import pathlib
import yaml
def get_pv_spec(pv_spec_pathlib_file_or_buffer):
@mikofski
mikofski / dcloss.ipynb
Last active March 24, 2020 03:13
dcloss
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikofski
mikofski / ny_nsrdb_map.geojson
Last active March 13, 2020 19:36
NSRDB NY STATIONS
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikofski
mikofski / gh656.ipynb
Last active November 27, 2019 21:28
pvlib_gh656
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikofski
mikofski / cython_optimize_brentq_benchmark.ipynb
Last active March 11, 2022 21:34
SciPy Cython Optimize Zeros API
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikofski
mikofski / PV-system-MPP-implicit-solver.ipynb
Last active March 13, 2020 19:02
proof of an implicit solver
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.