Skip to content

Time zone settings for "pvlib - pvfactors_timeseries" #1751

Answered by kandersolar
YutoVego asked this question in Q&A
Discussion options

You must be logged in to vote

Here is the example page, but modified for Tokyo:

import pandas as pd
from pvlib import location
from pvlib.bifacial.pvfactors import pvfactors_timeseries
import matplotlib.pyplot as plt
import warnings

# supressing shapely warnings that occur on import of pvfactors
warnings.filterwarnings(action='ignore', module='pvfactors')

times = pd.date_range('2021-06-21', '2021-06-22', freq='1T', tz='Asia/Tokyo')
loc = location.Location(latitude=35.6762, longitude=139.6503, tz=times.tz)
sp = loc.get_solarposition(times)
cs = loc.get_clearsky(times)

# example array geometry
pvrow_height = 1
pvrow_width = 4
pitch = 10
gcr = pvrow_width / pitch
axis_azimuth = 180
albedo = 0.2

irrad = pvfactors_time…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@kandersolar
Comment options

@YutoVego
Comment options

@kandersolar
Comment options

Answer selected by YutoVego
@YutoVego
Comment options

@YutoVego
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants