{"id":{"repo_id":"nps","oai_identifier":"oai:calhoun.nps.edu:10945/74868"},"canonical_url":"https://search.ndltd.org/etd/nps/oai:calhoun.nps.edu:10945/74868","repository":{"repo_id":"nps","name":"Naval Postgraduate School","base_url":"https://calhoun.nps.edu/server/oai/request"},"display":{"title":"SIMULTANEOUS ANOMALY DETECTION AND LOAD DISAGGREGATION VIA TRANSFORMER MULTI-TASK LEARNING","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Rivas, Jorge H."],"institution":"Monterey, CA; Naval Postgraduate School","degree_name":"Master of Science in Electrical Engineering","degree_level":"Masters","degree_discipline":"Electrical Engineering","degree_department":"Electrical and Computer Engineering (ECE)","school":null,"contributors":[],"advisors":["Oriti, Giovanna","Thulasiraman, Preetha"],"committee_chairs":[],"committee_members":["Alves, Richard"],"year":2025,"date_issued":"2025-12","date_published":"2025-12","updated_at":"2026-11-19T06:43:32Z","subjects":[],"languages":[],"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."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.programcode","label":"Dc Identifier Programcode","values":["590, Electronic Systems Engineering"],"render_values":[{"text":"590, Electronic Systems Engineering","href":null,"code":true}]},{"key":"thesis:thesis_identifier","label":"Thesis Thesis Identifier","values":["41013"],"render_values":[{"text":"41013","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10945/74868","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10945/74868","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Anps%3Aoai%3Acalhoun.nps.edu%3A10945%2F74868","prefix":"oai_dc"},"source_record":{"url":"https://calhoun.nps.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Acalhoun.nps.edu%3A10945%2F74868","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Oriti, Giovanna","Thulasiraman, Preetha"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Alves, Richard"]},{"key":"dc:contributor.department","label":"Department","values":["Electrical and Computer Engineering (ECE)"]},{"key":"dc:creator","label":"Author","values":["Rivas, Jorge H."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-03-17T16:22:45Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-03-17T16:22:45Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-12"]},{"key":"dc:publisher","label":"Institution","values":["Monterey, CA; Naval Postgraduate School"]},{"key":"dc:relation.advisorentity","label":"Dc Relation Advisorentity","values":["f4822f3e-2aea-40ad-9b4a-288607743ad7","e5065ddf-384c-454e-90a9-05a86e1c1a3a"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["88110183-ea50-46f5-b469-809c1418a16d"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Electrical Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science in Electrical Engineering"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Naval Postgraduate School"]},{"key":"thesis:thesis_identifier","label":"Thesis Thesis Identifier","values":["41013"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Non-Intrusive Load Monitoring (NILM)","Machine Learning (ML)","Artificial Intelligence (AI)","Microgrid","Shipboard Power System","Cyber","Power","Transformer","Anomaly Detection","Fault Detection","Energy Security","Sequence-to-Sequence","Neural Network","Deep Learning","Energy Monitoring"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.programcode","label":"Dc Identifier Programcode","values":["590, Electronic Systems Engineering"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10945/74868"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:description.sponsorship","label":"Dc Description Sponsorship","values":["DASN-Operational Energy Office, Washington DC, 20350"]},{"key":"dc:title","label":"Title","values":["SIMULTANEOUS ANOMALY DETECTION AND LOAD DISAGGREGATION VIA TRANSFORMER MULTI-TASK LEARNING"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:contributor.affiliation","label":"Local Contributor Affiliation","values":["Lieutenant, United States Navy"]}]}],"canonical_facts":{"dc:contributor.advisor":["Oriti, Giovanna","Thulasiraman, Preetha"],"dc:contributor.committeemember":["Alves, Richard"],"dc:contributor.department":["Electrical and Computer Engineering (ECE)"],"dc:creator":["Rivas, Jorge H."],"dc:date.accessioned":["2026-03-17T16:22:45Z"],"dc:date.available":["2026-03-17T16:22:45Z"],"dc:date.issued":["2025-12"],"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."],"dc:description.sponsorship":["DASN-Operational Energy Office, Washington DC, 20350"],"dc:identifier.programcode":["590, Electronic Systems Engineering"],"dc:identifier.uri":["https://hdl.handle.net/10945/74868"],"dc:publisher":["Monterey, CA; Naval Postgraduate School"],"dc:relation.advisorentity":["f4822f3e-2aea-40ad-9b4a-288607743ad7","e5065ddf-384c-454e-90a9-05a86e1c1a3a"],"dc:relation.orgunit":["88110183-ea50-46f5-b469-809c1418a16d"],"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."],"dc:subject.keyword":["Non-Intrusive Load Monitoring (NILM)","Machine Learning (ML)","Artificial Intelligence (AI)","Microgrid","Shipboard Power System","Cyber","Power","Transformer","Anomaly Detection","Fault Detection","Energy Security","Sequence-to-Sequence","Neural Network","Deep Learning","Energy Monitoring"],"dc:title":["SIMULTANEOUS ANOMALY DETECTION AND LOAD DISAGGREGATION VIA TRANSFORMER MULTI-TASK LEARNING"],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"local:contributor.affiliation":["Lieutenant, United States Navy"],"thesis:degree_discipline":["Electrical Engineering"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science in Electrical Engineering"],"thesis:institution_name":["Naval Postgraduate School"],"thesis:thesis_identifier":["41013"]},"updated_at":"2026-11-19T06:43:32Z"}