Skip to content

Feature/variable hourly dist table

emanuel buzey requested to merge feature/variable_hourly_dist_table into dev

Trello card

Important

In this commit, the CUPS data import process is developed, allowing the processing of a CSV that contains 500 CUPS with 8760 coefficients for each one. The implementation carried out has processed the CSV in 20 minutes in a local environment:

Local Environment Memory Specifications

Total Used Free Share Buffer/Cache Avaible
Memory 15Gi 6,0Gi 321Mi 1,2Gi 9,1Gi 7,9Gi
Swap 2,0Gi 0,0Ki 2,0Gi - - -

odoo.conf configuration

To handle this process efficiently, the timeouts were customized in odoo.conf as shown below:

limit_time_cpu = 360

Importance for Production

When pushing these changes to production, it is essential to perform extensive testing to ensure that the production server efficiently handles the workload. The resources available on the production server, especially memory and odoo.conf settings, should be considered and adjusted as necessary to replicate the behavior observed in the local environment.

Edited by emanuel buzey

Merge request reports