本文整理汇总了Python中pvlib.solarposition.get_solarposition函数的典型用法代码示例。如果您正苦于以下问题:Python get_solarposition函数的具体用法?Python get_solarposition怎么用?Python get_solarposition使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_solarposition函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: test_get_solarposition_altitude
def test_get_solarposition_altitude():
times = pd.date_range(datetime.datetime(2003,10,17,13,30,30),
periods=1, freq='D', tz=golden.tz)
ephem_data = solarposition.get_solarposition(times, golden.latitude,
golden.longitude,
altitude=golden.altitude,
temperature=11)
this_expected = expected.copy()
this_expected.index = times
this_expected = np.round(this_expected, 5)
ephem_data = np.round(ephem_data, 5)
assert_frame_equal(this_expected, ephem_data[this_expected.columns])
ephem_data = solarposition.get_solarposition(times, golden.latitude,
golden.longitude,
altitude=0.0,
temperature=11)
this_expected = expected.copy()
this_expected.index = times
this_expected = np.round(this_expected, 5)
ephem_data = np.round(ephem_data, 5)
try:
assert_frame_equal(this_expected, ephem_data[this_expected.columns])
except AssertionError:
pass
else:
raise AssertionError
开发者ID:CharlesXiaoyuanLi,项目名称:pvlib-python,代码行数:27,代码来源:test_solarposition.py
示例2: get_solarposition
def get_solarposition(self, times, pressure=None, temperature=12,
**kwargs):
"""
Uses the :py:func:`solarposition.get_solarposition` function
to calculate the solar zenith, azimuth, etc. at this location.
Parameters
----------
times : DatetimeIndex
pressure : None, float, or array-like, default None
If None, pressure will be calculated using
:py:func:`atmosphere.alt2pres` and ``self.altitude``.
temperature : None, float, or array-like, default 12
kwargs passed to :py:func:`solarposition.get_solarposition`
Returns
-------
solar_position : DataFrame
Columns depend on the ``method`` kwarg, but always include
``zenith`` and ``azimuth``.
"""
if pressure is None:
pressure = atmosphere.alt2pres(self.altitude)
return solarposition.get_solarposition(times, latitude=self.latitude,
longitude=self.longitude,
altitude=self.altitude,
pressure=pressure,
temperature=temperature,
**kwargs)
开发者ID:anomam,项目名称:pvlib-python,代码行数:31,代码来源:location.py
示例3: test_get_solarposition_error
def test_get_solarposition_error():
times = pd.date_range(datetime.datetime(2003,10,17,13,30,30),
periods=1, freq='D', tz=golden.tz)
ephem_data = solarposition.get_solarposition(times, golden.latitude,
golden.longitude,
pressure=82000,
temperature=11,
method='error this')
开发者ID:CharlesXiaoyuanLi,项目名称:pvlib-python,代码行数:8,代码来源:test_solarposition.py
示例4: test_get_solarposition_no_kwargs
def test_get_solarposition_no_kwargs(expected_solpos):
times = pd.date_range(datetime.datetime(2003,10,17,13,30,30),
periods=1, freq='D', tz=golden.tz)
ephem_data = solarposition.get_solarposition(times, golden.latitude,
golden.longitude)
expected_solpos.index = times
expected_solpos = np.round(expected_solpos, 2)
ephem_data = np.round(ephem_data, 2)
assert_frame_equal(expected_solpos, ephem_data[expected_solpos.columns])
开发者ID:caskeep,项目名称:pvlib-python,代码行数:9,代码来源:test_solarposition.py
示例5: test_get_solarposition_no_kwargs
def test_get_solarposition_no_kwargs():
times = pd.date_range(datetime.datetime(2003,10,17,13,30,30),
periods=1, freq='D', tz=golden.tz)
ephem_data = solarposition.get_solarposition(times, golden.latitude,
golden.longitude)
this_expected = expected.copy()
this_expected.index = times
this_expected = np.round(this_expected, 2)
ephem_data = np.round(ephem_data, 2)
assert_frame_equal(this_expected, ephem_data[this_expected.columns])
开发者ID:CharlesXiaoyuanLi,项目名称:pvlib-python,代码行数:10,代码来源:test_solarposition.py
示例6: test_get_solarposition_pressure
def test_get_solarposition_pressure(pressure, expected):
times = pd.date_range(datetime.datetime(2003,10,17,13,30,30),
periods=1, freq='D', tz=golden.tz)
ephem_data = solarposition.get_solarposition(times, golden.latitude,
golden.longitude,
pressure=pressure,
temperature=11)
this_expected = expected.copy()
this_expected.index = times
this_expected = np.round(this_expected, 5)
ephem_data = np.round(ephem_data, 5)
assert_frame_equal(this_expected, ephem_data[this_expected.columns])
开发者ID:caskeep,项目名称:pvlib-python,代码行数:12,代码来源:test_solarposition.py
示例7: test_get_solarposition_deltat
def test_get_solarposition_deltat(delta_t, method, expected_solpos_multi,
golden):
times = pd.date_range(datetime.datetime(2003,10,17,13,30,30),
periods=2, freq='D', tz=golden.tz)
ephem_data = solarposition.get_solarposition(times, golden.latitude,
golden.longitude,
pressure=82000,
delta_t=delta_t,
temperature=11,
method=method)
this_expected = expected_solpos_multi
this_expected.index = times
this_expected = np.round(this_expected, 5)
ephem_data = np.round(ephem_data, 5)
assert_frame_equal(this_expected, ephem_data[this_expected.columns])
开发者ID:anomam,项目名称:pvlib-python,代码行数:15,代码来源:test_solarposition.py
示例8: test_haurwitz
def test_haurwitz():
tus = Location(32.2, -111, 'US/Arizona', 700)
times = pd.date_range(start='2014-06-24', end='2014-06-25', freq='3h')
times_localized = times.tz_localize(tus.tz)
ephem_data = solarposition.get_solarposition(times_localized, tus.latitude,
tus.longitude)
expected = pd.DataFrame(np.array([[0.],
[0.],
[82.85934048],
[699.74514735],
[1016.50198354],
[838.32103769],
[271.90853863],
[0.],
[0.]]),
columns=['ghi'], index=times_localized)
out = clearsky.haurwitz(ephem_data['zenith'])
assert_frame_equal(expected, out)
开发者ID:caskeep,项目名称:pvlib-python,代码行数:18,代码来源:test_clearsky.py
示例9: test_simplified_solis_series_elevation
def test_simplified_solis_series_elevation():
tus = Location(32.2, -111, 'US/Arizona', 700)
times = pd.date_range(start='2014-06-24', end='2014-06-25', freq='3h')
times_localized = times.tz_localize(tus.tz)
ephem_data = solarposition.get_solarposition(times_localized, tus.latitude,
tus.longitude)
expected = pd.DataFrame(
np.array([[ 0. , 0. , 0. ],
[ 0. , 0. , 0. ],
[ 377.80060035, 79.91931339, 42.77453223],
[ 869.47538184, 706.37903999, 110.05635962],
[ 958.89448856, 1062.44821373, 129.02349236],
[ 913.3209839 , 860.48978599, 118.94598678],
[ 634.01066762, 256.00505836, 72.18396705],
[ 0. , 0. , 0. ],
[ 0. , 0. , 0. ]]),
columns=['dni', 'ghi', 'dhi'],
index=times_localized)
expected = expected[['dhi', 'dni', 'ghi']]
out = clearsky.simplified_solis(ephem_data['apparent_elevation'])
assert_frame_equal(expected, out)
开发者ID:caskeep,项目名称:pvlib-python,代码行数:22,代码来源:test_clearsky.py
示例10: test_ineichen_series
def test_ineichen_series():
tus = Location(32.2, -111, 'US/Arizona', 700)
times = pd.date_range(start='2014-06-24', end='2014-06-25', freq='3h')
times_localized = times.tz_localize(tus.tz)
ephem_data = solarposition.get_solarposition(times_localized, tus.latitude,
tus.longitude)
am = atmosphere.relativeairmass(ephem_data['apparent_zenith'])
am = atmosphere.absoluteairmass(am, atmosphere.alt2pres(tus.altitude))
expected = pd.DataFrame(np.
array([[ 0. , 0. , 0. ],
[ 0. , 0. , 0. ],
[ 91.12492792, 321.16092181, 51.17628184],
[ 716.46580533, 888.90147035, 99.5050056 ],
[ 1053.42066043, 953.24925854, 116.32868969],
[ 863.54692781, 922.06124712, 106.95536561],
[ 271.06382274, 655.44925241, 73.05968071],
[ 0. , 0. , 0. ],
[ 0. , 0. , 0. ]]),
columns=['ghi', 'dni', 'dhi'],
index=times_localized)
out = clearsky.ineichen(ephem_data['apparent_zenith'], am, 3)
assert_frame_equal(expected, out)
开发者ID:caskeep,项目名称:pvlib-python,代码行数:23,代码来源:test_clearsky.py
示例11: calc_radiation
def calc_radiation(self, data, cloud_type='total_clouds'):
'''
Determines shortwave radiation values if they are missing from
the model data.
Parameters
----------
data: netcdf
Query data formatted in netcdf format.
cloud_type: string
Type of cloud cover to use for calculating radiation values.
'''
self.rad_type = {}
if not self.lbox and cloud_type in self.modelvariables:
cloud_prct = self.data[cloud_type]
solpos = get_solarposition(self.time, self.location)
self.zenith = np.array(solpos.zenith.tz_convert('UTC'))
for rad in ['dni','dhi','ghi']:
if self.model_name is 'HRRR_ESRL':
# HRRR_ESRL is the only model with the
# correct equation of time.
if rad in self.modelvariables:
self.data[rad] = pd.Series(
data[self.variables[rad]][:].squeeze(),
index=self.time)
self.rad_type[rad] = 'forecast'
self.data[rad].fillna(0, inplace=True)
else:
for rad in ['dni','dhi','ghi']:
self.rad_type[rad] = 'liujordan'
self.data[rad] = liujordan(self.zenith, cloud_prct)[rad]
self.data[rad].fillna(0, inplace=True)
for var in ['dni', 'dhi', 'ghi']:
self.data[var].fillna(0, inplace=True)
self.var_units[var] = '$W m^{-2}$'
开发者ID:MoonRaker,项目名称:pvlib-python,代码行数:36,代码来源:forecast.py
示例12: Location
from pvlib import tmy
from pvlib import pvsystem
from pvlib import clearsky
from pvlib import irradiance
from pvlib import atmosphere
from pvlib import solarposition
from pvlib.location import Location
latitude = 32.2
longitude = -111
tus = Location(latitude, longitude, 'US/Arizona', 700, 'Tucson')
times = pd.date_range(start=datetime.datetime(2014,1,1),
end=datetime.datetime(2014,1,2), freq='1Min')
ephem_data = solarposition.get_solarposition(times,
latitude=latitude,
longitude=longitude,
method='nrel_numpy')
irrad_data = clearsky.ineichen(times, latitude=latitude, longitude=longitude,
linke_turbidity=3,
solarposition_method='nrel_numpy')
aoi = irradiance.aoi(0, 0, ephem_data['apparent_zenith'],
ephem_data['azimuth'])
am = atmosphere.relativeairmass(ephem_data.apparent_zenith)
meta = {'latitude': 37.8,
'longitude': -122.3,
'altitude': 10,
'Name': 'Oakland',
'State': 'CA',
'TZ': -8}
开发者ID:JohannesOos,项目名称:pvlib-python,代码行数:30,代码来源:test_pvsystem.py
示例13: test_pres2alt
import numpy as np
import pandas as pd
import pytest
from numpy.testing import assert_allclose
from pvlib.location import Location
from pvlib import solarposition
from pvlib import atmosphere
latitude, longitude, tz, altitude = 32.2, -111, 'US/Arizona', 700
times = pd.date_range(start='20140626', end='20140626', freq='6h', tz=tz)
ephem_data = solarposition.get_solarposition(times, latitude, longitude)
# need to add physical tests instead of just functional tests
def test_pres2alt():
atmosphere.pres2alt(100000)
def test_alt2press():
atmosphere.pres2alt(1000)
@pytest.mark.parametrize("model",
['simple', 'kasten1966', 'youngirvine1967', 'kastenyoung1989',
'gueymard1993', 'young1994', 'pickering2002'])
开发者ID:SamBeyene75,项目名称:pvlib-python,代码行数:31,代码来源:test_atmosphere.py
示例14: Location
from nose.tools import raises
from numpy.testing import assert_almost_equal, assert_allclose
from pandas.util.testing import assert_frame_equal, assert_series_equal
from pvlib.location import Location
from pvlib import clearsky
from pvlib import solarposition
from . import requires_scipy
# setup times and location to be tested.
tus = Location(32.2, -111, 'US/Arizona', 700)
times = pd.date_range(start='2014-06-24', end='2014-06-25', freq='3h')
times_localized = times.tz_localize(tus.tz)
ephem_data = solarposition.get_solarposition(times_localized, tus.latitude,
tus.longitude)
@requires_scipy
def test_ineichen_required():
# the clearsky function should call lookup_linke_turbidity by default
expected = pd.DataFrame(
np.array([[ 0. , 0. , 0. ],
[ 0. , 0. , 0. ],
[ 51.47811191, 265.33462162, 84.48262202],
[ 105.008507 , 832.29100407, 682.67761951],
[ 121.97988054, 901.31821834, 1008.02102657],
[ 112.57957512, 867.76297247, 824.61702926],
[ 76.69672675, 588.8462898 , 254.5808329 ],
[ 0. , 0. , 0. ],
[ 0. , 0. , 0. ]]),
columns=['dhi', 'dni', 'ghi'],
开发者ID:cbirkj,项目名称:pvlib-python,代码行数:32,代码来源:test_clearsky.py
示例15: basic_chain
def basic_chain(times, latitude, longitude,
module_parameters, inverter_parameters,
irradiance=None, weather=None,
surface_tilt=None, surface_azimuth=None,
orientation_strategy=None,
transposition_model='haydavies',
solar_position_method='nrel_numpy',
airmass_model='kastenyoung1989',
altitude=None, pressure=None,
**kwargs):
"""
An experimental function that computes all of the modeling steps
necessary for calculating power or energy for a PV system at a given
location.
Parameters
----------
times : DatetimeIndex
Times at which to evaluate the model.
latitude : float.
Positive is north of the equator.
Use decimal degrees notation.
longitude : float.
Positive is east of the prime meridian.
Use decimal degrees notation.
module_parameters : None, dict or Series
Module parameters as defined by the SAPM.
inverter_parameters : None, dict or Series
Inverter parameters as defined by the CEC.
irradiance : None or DataFrame
If None, calculates clear sky data.
Columns must be 'dni', 'ghi', 'dhi'.
weather : None or DataFrame
If None, assumes air temperature is 20 C and
wind speed is 0 m/s.
Columns must be 'wind_speed', 'temp_air'.
surface_tilt : float or Series
Surface tilt angles in decimal degrees.
The tilt angle is defined as degrees from horizontal
(e.g. surface facing up = 0, surface facing horizon = 90)
surface_azimuth : float or Series
Surface azimuth angles in decimal degrees.
The azimuth convention is defined
as degrees east of north
(North=0, South=180, East=90, West=270).
orientation_strategy : None or str
The strategy for aligning the modules.
If not None, sets the ``surface_azimuth`` and ``surface_tilt``
properties of the ``system``.
transposition_model : str
Passed to system.get_irradiance.
solar_position_method : str
Passed to location.get_solarposition.
airmass_model : str
Passed to location.get_airmass.
altitude : None or float
If None, computed from pressure. Assumed to be 0 m
if pressure is also None.
pressure : None or float
If None, computed from altitude. Assumed to be 101325 Pa
if altitude is also None.
**kwargs
Arbitrary keyword arguments.
See code for details.
Returns
-------
output : (dc, ac)
Tuple of DC power (with SAPM parameters) (DataFrame) and AC
power (Series).
"""
# use surface_tilt and surface_azimuth if provided,
# otherwise set them using the orientation_strategy
if surface_tilt is not None and surface_azimuth is not None:
pass
elif orientation_strategy is not None:
surface_tilt, surface_azimuth = \
get_orientation(orientation_strategy, latitude=latitude)
else:
raise ValueError('orientation_strategy or surface_tilt and ' +
'surface_azimuth must be provided')
times = times
#.........这里部分代码省略.........
开发者ID:Nanunanuk,项目名称:pvlib-python,代码行数:101,代码来源:modelchain.py
示例16: ineichen
def ineichen(
time,
location,
linke_turbidity=None,
solarposition_method="pyephem",
zenith_data=None,
airmass_model="young1994",
airmass_data=None,
interp_turbidity=True,
):
"""
Determine clear sky GHI, DNI, and DHI from Ineichen/Perez model
Implements the Ineichen and Perez clear sky model for global horizontal
irradiance (GHI), direct normal irradiance (DNI), and calculates
the clear-sky diffuse horizontal (DHI) component as the difference
between GHI and DNI*cos(zenith) as presented in [1, 2]. A report on clear
sky models found the Ineichen/Perez model to have excellent performance
with a minimal input data set [3].
Default values for montly Linke turbidity provided by SoDa [4, 5].
Parameters
-----------
time : pandas.DatetimeIndex
location : pvlib.Location
linke_turbidity : None or float
If None, uses ``LinkeTurbidities.mat`` lookup table.
solarposition_method : string
Sets the solar position algorithm.
See solarposition.get_solarposition()
zenith_data : None or pandas.Series
If None, ephemeris data will be calculated using ``solarposition_method``.
airmass_model : string
See pvlib.airmass.relativeairmass().
airmass_data : None or pandas.Series
If None, absolute air mass data will be calculated using
``airmass_model`` and location.alitude.
interp_turbidity : bool
If ``True``, interpolates the monthly Linke turbidity values
found in ``LinkeTurbidities.mat`` to daily values.
Returns
--------
DataFrame with the following columns: ``GHI, DNI, DHI``.
Notes
-----
If you are using this function
in a loop, it may be faster to load LinkeTurbidities.mat outside of
the loop and feed it in as a variable, rather than
having the function open the file each time it is called.
References
----------
[1] P. Ineichen and R. Perez, "A New airmass independent formulation for
the Linke turbidity coefficient", Solar Energy, vol 73, pp. 151-157, 2002.
[2] R. Perez et. al., "A New Operational Model for Satellite-Derived
Irradiances: Description and Validation", Solar Energy, vol 73, pp.
307-317, 2002.
[3] M. Reno, C. Hansen, and J. Stein, "Global Horizontal Irradiance Clear
Sky Models: Implementation and Analysis", Sandia National
Laboratories, SAND2012-2389, 2012.
[4] http://www.soda-is.com/eng/services/climat_free_eng.php#c5 (obtained
July 17, 2012).
[5] J. Remund, et. al., "Worldwide Linke Turbidity Information", Proc.
ISES Solar World Congress, June 2003. Goteborg, Sweden.
"""
# Initial implementation of this algorithm by Matthew Reno.
# Ported to python by Rob Andrews
# Added functionality by Will Holmgren
I0 = irradiance.extraradiation(time.dayofyear)
if zenith_data is None:
ephem_data = solarposition.get_solarposition(time, location, method=solarposition_method)
time = ephem_data.index # fixes issue with time possibly not being tz-aware
try:
ApparentZenith = ephem_data["apparent_zenith"]
except KeyError:
ApparentZenith = ephem_data["zenith"]
logger.warning("could not find apparent_zenith. using zenith")
else:
ApparentZenith = zenith_data
# ApparentZenith[ApparentZenith >= 90] = 90 # can cause problems in edge cases
if linke_turbidity is None:
# The .mat file 'LinkeTurbidities.mat' contains a single 2160 x 4320 x 12
#.........这里部分代码省略.........
开发者ID:djgagne,项目名称:pvlib-python,代码行数:101,代码来源:clearsky.py
示例17: test_ephemeris_functional
def test_ephemeris_functional():
solarposition.get_solarposition(
time=times, location=golden_mst, method='ephemeris')
开发者ID:Monisha-mohan,项目名称:pvlib-python,代码行数:3,代码来源:test_solarposition.py
示例18: sun_position
def sun_position(dates=None, daydate=_day, latitude=_latitude, longitude=_longitude,
altitude=_altitude, timezone=_timezone, method='pvlib',
filter_night=True):
""" Sun position
Args:
dates: a pandas.DatetimeIndex specifying the dates at which sun position
is required.If None, daydate is used and one position per hour is generated
daydate: (str) yyyy-mm-dd (not used if dates is not None).
latitude: float
longitude: float
altitude: (float) altitude in m
timezone: a string identifying the timezone to be associated to dates if
dates is not already localised.
This args is not used if dates are already localised
method: (string) the method to use. default uses pvlib. other methods are
'ephem' (using ephem package) or 'astk' (using this module)
filter_night (bool) : Should positions of sun during night be filtered ?
Returns:
a pandas dataframe with sun position at requested dates indexed by
localised dates. Sun azimtuth is given from North, positive clockwise.
"""
if dates is None:
dates = pandas.date_range(daydate, periods=24, freq='H')
if dates.tz is None:
times = dates.tz_localize(timezone)
else:
times = dates
sunpos = None
if method == 'pvlib':
df = get_solarposition(times, latitude, longitude, altitude)
sunpos = pandas.DataFrame(
{'elevation': df['apparent_elevation'], 'azimuth': df['azimuth'],
'zenith': df['apparent_zenith']}, index=df.index)
elif method == 'ephem':
d = times.tz_convert('UTC')
hUTC = d.hour + d.minute / 60.
dayofyear = d.dayofyear
year = d.year
fun = numpy.frompyfunc(ephem_sun_position, 5, 2)
alt, az = fun(hUTC, dayofyear, year, latitude, longitude)
sunpos = pandas.DataFrame(
{'elevation': alt.astype(float), 'azimuth': az.astype(float)},
index=times)
sunpos['zenith'] = 90 - sunpos['elevation']
elif method == 'astk':
d = times.tz_convert('UTC')
hUTC = d.hour + d.minute / 60.
dayofyear = d.dayofyear
year = d.year
el = sun_elevation(hUTC, dayofyear, year, latitude, longitude)
az = sun_azimuth(hUTC, dayofyear, year, latitude, longitude)
sunpos = pandas.DataFrame(
{'elevation': el, 'zenith': 90 - el, 'azimuth': az}, index=times)
else:
raise ValueError(
'unknown method: ' + method + 'available methods are : pvlib, ephem and astk')
if filter_night and sunpos is not None:
sunpos = sunpos.loc[sunpos['elevation'] > 0, :]
return sunpos
开发者ID:pradal,项目名称:astk,代码行数:67,代码来源:sun_position.py
示例19: Location
import pandas as pd
from nose.tools import assert_equals, assert_almost_equals
from pvlib import tmy
from pvlib import pvsystem
from pvlib import clearsky
from pvlib import irradiance
from pvlib import atmosphere
from pvlib import solarposition
from pvlib.location import Location
tus = Location(32.2, -111, 'US/Arizona', 700, 'Tucson')
times = pd.date_range(start=datetime.datetime(2014,1,1),
end=datetime.datetime(2014,1,2), freq='1Min')
ephem_data = solarposition.get_solarposition(times, tus, method='pyephem')
irrad_data = clearsky.ineichen(times, tus, linke_turbidity=3,
solarposition_method='pyephem')
aoi = irradiance.aoi(0, 0, ephem_data['apparent_zenith'],
ephem_data['apparent_azimuth'])
am = atmosphere.relativeairmass(ephem_data.apparent_zenith)
meta = {'latitude': 37.8,
'longitude': -122.3,
'altitude': 10,
'Name': 'Oakland',
'State': 'CA',
'TZ': -8}
pvlib_abspath = os.path.dirname(os.path.abspath(inspect.getfile(tmy)))
开发者ID:Monisha-mohan,项目名称:pvlib-python,代码行数:30,代码来源:test_pvsystem.py
示例20: Location
from nose.tools import raises
from numpy.testing import assert_almost_equal
from pvlib.location import Location
from pvlib import clearsky
from pvlib import solarposition
# setup times and location to be tested.
times = pd.date_range(start=datetime.datetime(2014, 6, 24), end=datetime.datetime(2014, 6, 26), freq="1Min")
tus = Location(32.2, -111, "US/Arizona", 700)
times_localized = times.tz_localize(tus.tz)
ephem_data = solarposition.get_solarposition(times, tus)
# test the ineichen clear sky model implementation in a few ways
def test_ineichen_required():
# the clearsky function should lookup the linke turbidity on its own
# will fail without scipy
clearsky.ineichen(times, tus)
def test_ineichen_supply_linke():
clearsky.ineichen(times, tus, linke_turbidity=3)
开发者ID:bwiktorowicz,项目名称:pvlib-python,代码行数:29,代码来源:test_clearsky.py
注:本文中的pvlib.solarposition.get_solarposition函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论