Posts

Full project code

This post contains the full source code for all three MATLAB scripts developed for the PDE3823 final year project: IoT-Based Wind Energy Monitoring and Analysis System. Matlab File 1: wind_turbine_analysis.m %% Wind Turbine Data Analysis - Main Script % Author: Muhammad Cezanne Niyaz % Date: February 2026 % Description: Analyzes simulated wind turbine dataset and generates plots clear all ; close all ; clc; %% 1. Load the Dataset fprintf( 'Loading dataset...\n' ); data = readtable( 'sample_motor_dataset.csv' ); % Extract columns (handles both with and without underscores) if ismember( 'Time_s' , data.Properties.VariableNames) time = data.Time_s; voltage = data.Voltage_V; current = data.Current_A; rpm = data.RPM; power = data.Power_W; else time = data.Time; voltage = data.Voltage; current = data.Current; rpm = data.RPM; power = data.Power; end fprintf( 'Dataset loaded successfully!\n' ); fprintf( 'Total data poi...