Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
Solving solar

Mark Mikofski mikofski

😎
Solving solar
View GitHub Profile
View multiyear_data.py
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 Oct 21, 2020
Comparison of Dual-Tilt vs. Fixed-Tilt
View dualtilt.ipynb
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 Sep 2, 2020
Python tabular data formats face-off
View compare_tabular_data.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View pv_system.py
"""
An open PV system specification
"""
import json
import pathlib
import yaml
def get_pv_spec(pv_spec_pathlib_file_or_buffer):
View dcloss.ipynb
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 Mar 13, 2020
NSRDB NY STATIONS
View ny_nsrdb_map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gh656.ipynb
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 Mar 29, 2019
SciPy Cython Optimize Zeros API
View cython_optimize_brentq_benchmark.ipynb
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 Mar 13, 2020
proof of an implicit solver
View PV-system-MPP-implicit-solver.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikofski
mikofski / solpos_mex.c
Last active Jun 7, 2018
MATLAB mex gateway function for NREL SOLPOS
View solpos_mex.c
/*==========================================================
* solpos.c - NREL solar position calculator
*
* calculates solar position from location and time
*
* The calling syntax is:
*
* angles = solpos(location,datetime,weather)
*
* This is a MEX-file for MATLAB.
You can’t perform that action at this time.