diff --git a/docs/sphinx/source/user_guide/introtutorial.rst b/docs/sphinx/source/user_guide/introtutorial.rst index 957884b892..b66992fae5 100644 --- a/docs/sphinx/source/user_guide/introtutorial.rst +++ b/docs/sphinx/source/user_guide/introtutorial.rst @@ -87,7 +87,7 @@ to accomplish our system modeling goal: longitude=longitude, altitude=altitude, temperature=weather["temp_air"], - pressure=pvlib.atmosphere.alt2pres(altitude), + pressure=weather["pressure"], ) dni_extra = pvlib.irradiance.get_extra_radiation(weather.index) airmass = pvlib.atmosphere.get_relative_airmass(solpos['apparent_zenith']) diff --git a/docs/sphinx/source/whatsnew/v0.11.3.rst b/docs/sphinx/source/whatsnew/v0.11.3.rst index e330221dde..703bdb31ff 100644 --- a/docs/sphinx/source/whatsnew/v0.11.3.rst +++ b/docs/sphinx/source/whatsnew/v0.11.3.rst @@ -14,9 +14,9 @@ Enhancements Documentation ~~~~~~~~~~~~~ +* Fix Procedural and Object Oriented simulation examples having slightly different results, in :ref:`introtutorial`. (:issue:`2366`, :pull:`2367`) * Restructure the user guide with subsections (:issue:`2302`, :pull:`2310`) - Testing ~~~~~~~ @@ -37,3 +37,4 @@ Contributors ~~~~~~~~~~~~ * Rajiv Daxini (:ghuser:`RDaxini`) * Mark Campanelli (:ghuser:`markcampanelli`) +* Manoj K S (:ghuser:`manojks1999`)