Back to search

Monterey, CA; Naval Postgraduate School

SIMULTANEOUS ANOMALY DETECTION AND LOAD DISAGGREGATION VIA TRANSFORMER MULTI-TASK LEARNING

Abstract

dc:description.abstract

Ensuring power quality and system security in naval vessels is critical as electric propulsion and advanced combat systems increase power demands. Traditional load monitoring approaches are impractical in space-constrained environments. Non-intrusive load monitoring (NILM) addresses this by disaggregating individual loads from aggregate measurements, yet current approaches treat disaggregation and anomaly detection separately. Existing transformer-based methods target residential single-phase systems, while industrial applications lack datasets needed for deep learning. This work presents a unified transformer architecture that simultaneously handles disaggregation and anomaly detection in three-phase microgrids with motor-heavy loads. The multi-task framework uses physics-informed loss functions, enforcing power conservation during normal operation, while relaxing constraints during faults. To address data scarcity, synthetic data generation uses time-domain and amplitude variation to create diverse training datasets. Testing on a three-phase 120 V testbed showed models trained exclusively on synthetic data explained 98.7% variance (R^2) across 198 features, with energy errors below 7%. Anomaly detection was demonstrated via a phase imbalance, exceeding 99.9% accuracy with correct phase identification. Results show synthetic training matches real-data performance, making transformer-based NILM practical for data-constrained environments like naval ships and microgrids.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Electrical Engineering
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Electrical Engineering
Department dc:contributor.department
Electrical and Computer Engineering (ECE)
Grantor dc:publisher
Monterey, CA; Naval Postgraduate School
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Rivas, Jorge H.
Advisors dc:contributor.advisor
  • Oriti, Giovanna
  • Thulasiraman, Preetha
Committee member dc:contributor.committeemember
  • Alves, Richard

Rights

dc:rights
Statement dc:rights
  • This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.
  • Distribution Statement A. Approved for public release: Distribution is unlimited.

Identifiers

dc:identifier.*
Dc Identifier Programcode
590, Electronic Systems Engineering
Thesis Thesis Identifier
41013

Chain of custody

source
Harvested from
Naval Postgraduate School
Base URL
calhoun.nps.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Rivas, Jorge H.. SIMULTANEOUS ANOMALY DETECTION AND LOAD DISAGGREGATION VIA TRANSFORMER MULTI-TASK LEARNING. Masters thesis, Monterey, CA; Naval Postgraduate School, 2025. https://hdl.handle.net/10945/74868