Skip to content

Commit 6440ada

Browse files
manojks1999cwhanse
andauthored
Fix for the different results for Procedural and Object oriented exam… (#2367)
* Fix for the different results for Procedural and Object oriented examples * Updated the docs * Change in docs --------- Co-authored-by: Cliff Hansen <[email protected]>
1 parent 6355f0a commit 6440ada

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/sphinx/source/user_guide/introtutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ to accomplish our system modeling goal:
8787
longitude=longitude,
8888
altitude=altitude,
8989
temperature=weather["temp_air"],
90-
pressure=pvlib.atmosphere.alt2pres(altitude),
90+
pressure=weather["pressure"],
9191
)
9292
dni_extra = pvlib.irradiance.get_extra_radiation(weather.index)
9393
airmass = pvlib.atmosphere.get_relative_airmass(solpos['apparent_zenith'])

docs/sphinx/source/whatsnew/v0.11.3.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Enhancements
1414

1515
Documentation
1616
~~~~~~~~~~~~~
17+
* Fix Procedural and Object Oriented simulation examples having slightly different results, in :ref:`introtutorial`. (:issue:`2366`, :pull:`2367`)
1718
* Restructure the user guide with subsections (:issue:`2302`, :pull:`2310`)
1819

19-
2020
Testing
2121
~~~~~~~
2222

@@ -37,3 +37,4 @@ Contributors
3737
~~~~~~~~~~~~
3838
* Rajiv Daxini (:ghuser:`RDaxini`)
3939
* Mark Campanelli (:ghuser:`markcampanelli`)
40+
* Manoj K S (:ghuser:`manojks1999`)

0 commit comments

Comments
 (0)