43 Commits

Author SHA1 Message Date
35e5a4a9bb Refactor getGrossAnnualEconomy method to simplify query logic and enhance grouping and ordering of results 2026-01-21 15:40:52 -03:00
17133c4326 Refactor groupBy and orderBy clauses in getGrossAnnualEconomy method for improved query logic 2026-01-21 15:23:25 -03:00
775465e444 Refactor getGrossAnnualEconomy method to enhance logic for retrieving last consolidated year and include conditions for future year data estimation. 2026-01-21 15:17:12 -03:00
fcfd95740d Refactor getGrossAnnualEconomy method to streamline last consolidated year retrieval and generate sequential year data with estimated values for missing years. 2026-01-21 15:10:22 -03:00
81e718b4f3 Enhance getGrossAnnualEconomy method to include logic for identifying the last fully consolidated year and generating sequential year data with estimated values for missing years. 2026-01-21 14:44:48 -03:00
7ac06b6dd6 Fix date filtering in getGrossMonthlyEconomy and getCaptiveMonthlyEconomy methods for accurate data retrieval 2026-01-19 13:55:28 -03:00
084c110ada Update date intervals in economy queries to extend the data range by one additional year 2026-01-16 17:19:05 -03:00
marcio1002
0b58e2923b Ajustes 2023-12-18 20:15:16 -03:00
Luiz Filipe
9e09370128 divide by count 2022-08-16 03:07:28 -03:00
Luiz Filipe
e225ab62c4 Only current year 2022-08-16 02:16:27 -03:00
Luiz Filipe
66e0bf8aa6 Only current year 2022-08-16 02:15:51 -03:00
Luiz Filipe
cff63b8391 Conver month format to original 2022-08-12 16:21:26 -03:00
Luiz Filipe
f33c7ddf37 Conver month format 2022-08-12 16:18:59 -03:00
Djonathan
b13d34a38c Function implementation does not work correctly at cost R$/MWh. 2022-07-20 09:06:11 -03:00
Djonathan
ae15694ca6 Correction Cost indicator R$/MWh. 2022-07-19 23:28:02 -03:00
Djonathan
d8a399ede1 Correction Cost indicator R$/MWh. 2022-07-19 23:02:19 -03:00
Djonathan
7b99cfbf7f Implementation correction Cost indicator R$/MWh. 2022-07-19 22:56:21 -03:00
Djonathan
dbdb64f507 Moving average endpoint implementation. 2022-07-08 18:32:00 -03:00
Djonathan
471c4fb3ed Correction of query Gross Annual Savings. 2022-07-08 09:52:45 -03:00
Djonathan
c07de31547 Change months of subtitles from English to Portuguese. Update the percentage obtained from the captive cost and not from the free cost. 2022-07-07 18:28:37 -03:00
Djonathan
0c9d8467f2 Correction of the query Gross monthly savings. 2022-07-06 20:20:36 -03:00
Djonathan
f7716475f2 Correction of monthly captive x free consultation. 2022-07-06 19:59:25 -03:00
Djonathan
19e1f52e14 You need to add filter per unit, with the options per unit or all units. 2022-07-06 17:24:29 -03:00
Djonathan
d199c9615c Return data for the current year. 2022-07-06 14:46:16 -03:00
Djonathan
3f43c5d739 Correction in the api. 2022-07-06 13:54:25 -03:00
Djonathan
c79f82f8eb -Put newest first. -From 2021 PLD History. Current year - 1. -Implementation of division by 1000. -Divide the raw data only once by 1000. 2022-07-06 13:46:15 -03:00
Djonathan
9b7987a11e API update. 2022-07-05 00:26:26 -03:00
Djonathan
a0727ee2b4 Corrections for the return of the Gross Monthly Economy api tracing the missing months. 2022-06-30 12:35:36 -03:00
Djonathan
0ad3f0cf8a Validation of client code in the user registration. 2022-06-29 16:51:29 -03:00
Djonathan
f1f6c69062 Correction in the R/MWh Cost function. 2022-06-29 12:38:38 -03:00
Djonathan
635841b843 Economy query fix. 2022-06-29 09:44:32 -03:00
Djonathan
57bafadc4d Fix ordering Gross Monthly Savings. 2022-06-28 12:19:35 -03:00
Djonathan
cf8ac54790 Implement news integration. 2022-06-27 10:48:34 -03:00
Djonathan
b3f7fdb324 Upload user registration image to s3. 2022-06-24 17:57:19 -03:00
Djonathan
2428bd0284 Change the ordering Gross Monthly Savings. 2022-06-24 15:46:57 -03:00
Djonathan
c911fec36e Correction of the Annual Gross Savings query. 2022-06-23 23:00:28 -03:00
Djonathan
c53d0e0ed3 Correction of the return of the api cost R$/MWh. 2022-06-22 08:44:46 -03:00
Djonathan
15727b9769 Consumption table api feedback fix. 2022-06-21 17:23:05 -03:00
Djonathan
67325f063c Creation of a new R/MWh cost api route method. 2022-06-21 16:45:05 -03:00
Djonathan
5cc94f4744 Corrections and minor adjustments in the api. 2022-06-17 09:55:21 -03:00
Djonathan
18cf6ddad5 The PLD api, operation summary and some general corrections were developed. 2022-06-15 11:53:02 -03:00
Djonathan
2fd0c7bf70 add profile 2022-06-14 11:20:52 -03:00
Djonathan
f997d062de update project Heroku. 2022-06-13 12:37:24 -03:00