pswamp.monitoring.fft_v2
Classes
Generic real-time application, which does nothing, except stores a time window with PMU data of specified length. |
Module Contents
- class pswamp.monitoring.fft_v2.FFTOnline(kafka_kwargs, fft_window=5, kafka_topic='pmudata', status_topic='application.status', *args, **kwargs)
Bases:
pswamp.monitoring.utils.TimeWindowRTApp,pswamp.monitoring.utils.StatusComGeneric real-time application, which does nothing, except stores a time window with PMU data of specified length. The run_analysis method should be overwritten in order to perform various analysis. Results can be forwarded to another topic automatically.
- n_samples_store = 500
- freq_range
- em_freq_idx
- threshold_emergency = 10
- threshold_alert = 1
- max_amplitude = 0
- run_analysis(t, measurement)
This should be overwritten. :param t: :param phasors: :return: