Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design issues: 'prediction_end_time' based on 'sun_elevation' to be replaced by 'sun_azimuth' #2

Open
heinemannj opened this issue Oct 30, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@heinemannj
Copy link
Owner

heinemannj commented Oct 30, 2024

All sensors based on sun_elevation related to

  • prediction_end_time
  • pv_excess_start_time
  • pv_excess_end_time

needs to be replaced by calculations based on

  • sun_azimuth
@heinemannj heinemannj changed the title Design issues: 'prediction_end_time' based on 'sun_elevation' to be replaced by' sun_azimuth' Design issues: 'prediction_end_time' based on 'sun_elevation' to be replaced by 'sun_azimuth' Nov 3, 2024
@heinemannj
Copy link
Owner Author

Calculations based on sun_azimuth are also a path to a dead end.

A working solution seems to be the following calculations by the usage of sunrise, sunset and daylight:

image

image

image

@heinemannj
Copy link
Owner Author

I've introduced a script blueprint to setup related values for corresponding input_numbers:

image

@heinemannj heinemannj added the enhancement New feature or request label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant