Renovus-Tech / solarec-python

GNU Affero General Public License v3.0
0 stars 0 forks source link

Adjust calculations to the frequency of data #34

Open pferrariuy opened 6 hours ago

pferrariuy commented 6 hours ago

Description

Solution now supports multiple frequency for the data that is stored, so the calculation must take in concideration the frequency of the data to generate the corresponding results.

Expected Behavior

Current endpoints must continue working, but taking in consideration the frequency of the data, not to assume 15 minutes frequency.

Related Issues

pferrariuy commented 6 hours ago

Information regarding the location will be send in the payload json as follow:

"frq":"15m",
"frqNumber":15,
"frqUnit":"m"