logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Jacobs WilkinsTechnical writing
(5/5)

863 Answers

Hire Me
expert
Geraldo SemedoPsychology
(5/5)

617 Answers

Hire Me
expert
Arthur AskeyData mining
(5/5)

961 Answers

Hire Me
expert
Lokesh RanaStatistics
(5/5)

692 Answers

Hire Me
MATLAB
(5/5)

This function calculates the minimum values of fitness function for SHE problem.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

function [ y ] = problem(x)

 

% fitness_mli: This function calculates the minimum values of fitness function for SHE problem.

% input arguments : alpha matrix same as par matrix where angle are in radian. 

% output argument : cost vector of fitness function for par matrix.  

 

%% Initialize costants and input variables

 

Vdc = 12; % magnitude of voltage source in volt 

Ma = 0.8; % Value of desired modulation index(control parameter for desired fundamental voltage)

s=5;

 

% Desired and actual magnitude of fundamental voltage.

 

V1_desired = (Ma*4*s*Vdc)/pi;

V1_actual  = (4*Vdc/pi)*(cos(x(:,1))+cos(x(:,2))+cos(x(:,3))+cos(x(:,4))+cos(x(:,5)));

 

% Low order harmonic voltages.

 

V5 = ((4*Vdc)/(5*pi))*(cos(5*x(:,1))+cos(5*x(:,2))+cos(5*x(:,3))+cos(5*x(:,4))+cos(5*x(:,5)));

V7 = ((4*Vdc)/(7*pi))*(cos(7*x(:,1))+cos(7*x(:,2))+cos(7*x(:,3))+cos(7*x(:,4))+cos(7*x(:,5)));

V11 = ((4*Vdc)/(11*pi))*(cos(11*x(:,1))+cos(11*x(:,2))+cos(11*x(:,3))+cos(11*x(:,4))+cos(11*x(:,5)));

V13 = ((4*Vdc)/(13*pi))*(cos(13*x(:,1))+cos(13*x(:,2))+cos(13*x(:,3))+cos(13*x(:,4))+cos(13*x(:,5)));

% fitness function to be minimized.

 

y = ((100*(V1_desired-V1_actual)./V1_desired)).^4 + (1/5)*(50*(V5./V1_actual)).^2 + (1/7)*(50*(V7./V1_actual)).^2 + (1/11)*(50*(V11./V1_actual)).^2+ (1/13)*(50*(V13./V1_actual)).^2;

 

end

 

 

 

 

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme