GithubHelp home page GithubHelp logo

solar-tk's Issues

timezone aware of get_sun_position()

sun_position = get_sun_position(
start_time=self.start_time.replace(tzinfo=self.timezone).astimezone(pytz.timezone('UTC')),
end_time=self.end_time.replace(tzinfo=self.timezone).astimezone(pytz.timezone('UTC')),
granularity=self.granularity, latitude=self.lat_, longitude=self.lon_)

Since you change the start time and end time to UTC timezone before running get_sun_position(). Do you have to change them back after getting the sun position? It seems like in the implementation of get_sun_position(), you do not change the time back to current time zone.

Problems with setup.py

Hi,

I have some problems to install SolarTK using pip+git. I think the major problem is that your setup.py tries to read README.rst instead of README.md. If you interested, I can open a PR with a fix if you prefer to fix that by yourself, you can take a look at my fork

This enables to install solarTK with pip install git+https://github.com/sustainablecomputinglab/solar-tk and call it more easily from own scripts.

Southern hemisphere tilt calculation

Let me start by saying thank you for sharing!

I was experimenting a little with this project with the AusGrid solar dataset. I seem to run into an issue in the get_tilt function. It seems like southern hemisphere latitudes cause some issues (for example, -33.7085861, 151.1228434).. or at least the negative tilt fails validation in the maximum_generation module. Grateful for any suggestions or advice.

API key

Dear Noman Bashir,

first of all I'd like to congratulate you for the work done with SOLAR-TK.

I would like to kindly as a question about the API keys that the code seems to request.

When I run the code I get the following error message raises: ValueError ("Invalid API key provided."). This is becausa I did not insert an API key and I have to insert it in the parameters.py module. The question is: do I have to insert both the google API key and DarkSky API Key ? If I am right, DarkSky app doesn't exist anymore: does the code run despite this issue ?

Thank you for your attention !

Best regards.

Paolo Vitulli

Inconsistency of solar panel efficiency apply to K

print(lat, lon, k_/0.18, tilt_, ori_, c_, t_base)

In parameter estimation, 0.18 is used as the value of efficiency factor.

self.k = k * 0.20 # convert back to k at 20% efficiency

However, when the estimated k is applied to estimate maximum generation, the efficiency change to 0.2.

Is there any reason for choosing different efficiency value?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.