Skip to content
Snippets Groups Projects

Feature/variable hourly dist table

Closed emanuel buzey requested to merge feature/variable_hourly_dist_table into dev
  1. Mar 15, 2024
    • emanuel buzey's avatar
      [IMP] energy_selfconsumption: create view with imported data · 1e3ff6ef
      emanuel buzey authored
      - Relational fields are incorporated to facilitate the visualization of data imported from the DistributionTableVariableCoefficient model.
      - A new conditional group is introduced in the DistributionTable view to specifically handle the 'variable_schedule' type, showing the 'hour', 'cups_id' and 'coefficient' fields only when applicable.
      - Implemented display logic to hide the actual value of 'coefficient', displaying a static value '*' instead.
        _________________________________________________
       /                                                 \
      | Enrico, Daniil: Thanks for everything I'm going   |
      | to miss you. Som IT <3                            |
       \                                                 /
        =================================================
                                                       \
                                                        \
                                                          ^__^
                                                          (oo)\_______
                                                          (__)\       )\/\
                                                              ||----w |
                                                              ||     ||
      1e3ff6ef
  2. Mar 13, 2024
  3. Mar 12, 2024
    • emanuel buzey's avatar
      [IMP] energy_selfconsumption: add validation for CUPS and coefficients · 8d06a4b7
      emanuel buzey authored
      - Implemented CUPS validation using the stdnum library to ensure that each CUPS adheres to the correct format and standards.
      - Added validation for the sum of coefficients per row to equal 1, incorporating a tolerance margin to account for floating-point arithmetic imprecision. This ensures accurate distribution table data import.
      - Introduced a new boolean field in the DistributionTable model to track error occurrences during batch processing of import jobs. This change addresses the asynchronous nature of the import process, allowing for the effective halting of the operation upon detecting errors in any batch.
      8d06a4b7
  4. Mar 08, 2024
  5. Mar 07, 2024
  6. Mar 06, 2024
  7. Mar 01, 2024
  8. Feb 26, 2024
  9. Feb 22, 2024
  10. Feb 21, 2024
Loading