From mikofski at berkeley.edu Fri Sep 3 14:38:41 2021 From: mikofski at berkeley.edu (Dr. Mark Alexander Mikofski PhD) Date: Fri, 3 Sep 2021 11:38:41 -0700 Subject: [SciPy-User] ANN: pvlib-0.9.0 released Message-ID: Dear Pythonistas and solar power enthusiasts, On behalf of the maintainers, we're happy to announce a new release of pvlib python: software for simulating performance of photovoltaic solar energy systems. *See what's new for v0.9.0:* * https://pvlib-python.readthedocs.io/en/stable/whatsnew.html *Releases are available from PyPI and the conda-forge channel:* * https://pypi.org/project/pvlib/ * https://anaconda.org/conda-forge/pvlib-python *Read the Documentation:* * https://pvlib-python.readthedocs.io/en/stable/index.html *Report issues & contribute:* * https://github.com/pvlib/pvlib-python *Highlights:* * There are some breaking changes , so please read the Release Notes carefully before updating. * pvlib now has a new Array class that represents groups of identical modules that are part of a PVSystem but have the same orientation and mounting type. * The PVSystem class can now model a combination of arrays each with different orientations, modules, and mounting types. * pvlib completed a very successful GSoC , which added several new iotools like get_bsrn() , get_pvgis_hourly() , get_cams() , and more. Special thanks to Adam R. Jensen , Kevin Anderson, and many reviewers who helped! * Many bug fixes including a fix to Perez contributed by Clean Power Research. Read their blog to learn more about how they're contributing to pvlib. Thanks! *The maintainers thank you for using pvlib python!* -- Mark Mikofski, PhD (2005) *Fiat Lux* -------------- next part -------------- An HTML attachment was scrubbed... URL: From winash12 at gmail.com Tue Sep 7 05:54:39 2021 From: winash12 at gmail.com (ashwin .D) Date: Tue, 7 Sep 2021 15:24:39 +0530 Subject: [SciPy-User] Calculating circulation around a latitude circle Message-ID: Hello, It probably is a very trivial question but I think (and hope) that there is no harm in asking for a clarification. I have grid coordinates and their associated velocities arranged along a latitude circle(https://en.wikipedia.org/wiki/Circle_of_latitude_ . I am wanting to calculate the circulation around that latitude circle. I have seen this example - http://www.joshtheengineer.com/2019/04/01/compute-circulation-of-a-vector-field-in-matlab-and-python/ and the associated video - https://www.youtube.com/watch?v=b8EnhiSjL3o . But I think my case is a trivial case of what is being explained in those links. A straightforward application of Stokes integral in my case as shown below Numerical integration of (u_i d (lambda) + v . (d theta)). In my case d.theta is zero since there is no change of latitude along a latitude circle . Am I right on those assumptions ? Or do I need to interpolate my grid coordinates to an ellipse as shown in that example ? Thanks and regards, Ashwin. -------------- next part -------------- An HTML attachment was scrubbed... URL: From winash12 at gmail.com Fri Sep 10 11:42:31 2021 From: winash12 at gmail.com (ashwin .D) Date: Fri, 10 Sep 2021 21:12:31 +0530 Subject: [SciPy-User] Calculating circulation around a latitude circle In-Reply-To: References: Message-ID: https://stackoverflow.com/questions/33857555/integrating-a-vector-field-a-numpy-array-using-scipy-integrate This SO Q & A is doing something similar to what I am wanting to do. My question still stands whether I need to interpolate my Vx, Vy using Scipy and then use integrate.odeint ? I have a 2d array of velocity components Vx(x,y) and Vy(x,y) where x and y are longitude and latitude. In my case around the latitude circle the latitude does not change. On Tue, Sep 7, 2021 at 3:24 PM ashwin .D wrote: > Hello, > It probably is a very trivial question but I think (and hope) > that there is no harm in asking for a clarification. I have grid > coordinates and their associated velocities arranged along a latitude > circle(https://en.wikipedia.org/wiki/Circle_of_latitude_ . I am wanting > to calculate the circulation around that latitude circle. I have seen this > example - > http://www.joshtheengineer.com/2019/04/01/compute-circulation-of-a-vector-field-in-matlab-and-python/ > and the associated video - https://www.youtube.com/watch?v=b8EnhiSjL3o . > But I think my case is a trivial case of what is being explained in those > links. A straightforward application of Stokes integral in my case as shown > below > > Numerical integration of (u_i d (lambda) + v . (d theta)). In my case > d.theta is zero since there is no change of latitude along a latitude > circle . Am I right on those assumptions ? Or do I need to interpolate my > grid coordinates to an ellipse as shown in that example ? > > Thanks and regards, > Ashwin. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: