Skip to content

get_solarpostion in modelchain.prepare_inputs does not use weather data. #523

Closed
@kenkuwae

Description

@kenkuwae

Problem
get_solarpostion method in modelchain.ModelChain.prepare_inputs does not use weather data.

To Reproduce
change line 745 - 746

755:       self.solar_position = self.location.get_solarposition(
756:            self.times, method=self.solar_position_method)

to

755:       self.solar_position = self.location.get_solarposition(
756:            self.times, method=self.solar_position_method,
757:            pressure=self.weather.pressure,
758:            temperature=self.weather.temp_air)

Versions:

  • pvlib.__version__: 0.5.2
  • pandas.__version__: 0.23.3
  • python: 3.5.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions