Sinapse-Energia / CMS-SDL

Development of a new way of CMS data management
0 stars 0 forks source link

[Monitoring Profile] Get monitoring profile based in real data #4

Open ralcaide opened 5 years ago

ralcaide commented 5 years ago

INTRODUCTION

Current behavior:

When user asks about monitoring profile of a device the application is able to display only the real data received. This behavior is very limited. Why?

  1. The quality of data is not the same in each device
  2. Some devices have not data related with monitoring but only coverage data

The consequence of these limitations is that we are only able to display data and charts of devices with enough monitoring data

Device with good quality monitoring data

Device with good quality monitoring data

Similar device with bad quality monitoring data

device_no_info_190718

devices_cister13_cister14

Expected behavior:

The system should be able to display data / charts of any device even if not have enough monitoring data. How?

  1. Using real monitoring data of similar devices and its historical monitoring data (TBD in this task)
  2. Creating new monitoring data based on expected behavior based on Schedulers and historical real monitoring data (TBD in through other tasks)

FUNCTION TO BE DEVELOPED

The function to be developed should a method of a new model with almost the following signature. The signature of course can be modified / adapted

monitoring_profile get_monitoring_profile(id, start_date, end_date, type, N, T_sampling) where

id: communication_id or logical_device_id start_date: It is clear. Can be a future date end_date: It is clear. end_date >= start_date type: enum that indicates what is the source of data. 0: Only real data (current behaviour) 1: Real data + similar device data 2: Ideal data 3: Other N: Minimum number of real measurements T_sampling: The calculated date should provide one measurement each T_sampling ...

monitoring profile: List of hashes containing time, voltage, current, power and dimming

This task focus on types 0 and 1

DATA MODEL TO BE USED

ER for get_monitoring_profile for types 0 and 1

ER for task 1

Example of monitoring data

a_flampmonitor_hists_example

IDs of the different monitoring data

adesc_flampmonitors

ralcaide commented 5 years ago

v_typelights

ralcaide commented 5 years ago

The monitoring data to be provided is:

Voltaje (6) Intensidad (7) Potencia (8) Dimming (22)

In a future version could be added RF and Energy parameters

ralcaide commented 5 years ago

Attached example of SDL method

SDL_Method.pdf