Building the data into separate facilities¶
The data consists in many facilities, that will be monitored. The data used to update the monitoring algorithms for each facility depends on the supervision trail that has been triggered. In order to efficiently keep track of each facility and of its trail, we transform the collected in a list of facilities objects with specific information stored, related to facilities.
-
class
monitoring_algorithms.facility_monitoring.
facility
(data, tarifs)¶ A Facility currently under monitoring is followed in time. Its data is updated as time advances, independtly for each algorithm.
Parameters: data : the data for a given facility
tarifs : A list of tarifs for the RBF program
Attributes
facility_id (str) The facilities’ unique identifier facility_name (str) The current name of the facility facility_type (str) The administrative type for the facility division (str) The division in which the facility list_facilities_name departement (str) The departement in which the facility lies reports (list) The data from the reports sent by the facility last_supervision (date) The date of the last supervision made in the facility supervisions (DataFrame) A table of the supervisions made in the facility for each algorithm used Methods
arima_report_payment
make_reports
make_supervision_trail
plot_supervision_trail