Question: Problem #3 Background In this problem, assume that you have designed a large array of small photovoltaic cells, which are very cheap but fail often.

 Problem #3 Background In this problem, assume that you have designed

a large array of small photovoltaic cells, which are very cheap but

fail often. You need to design a system which can monitor the

current received irradiation data and alert if any cells are reporting outside

Problem #3 Background In this problem, assume that you have designed a large array of small photovoltaic cells, which are very cheap but fail often. You need to design a system which can monitor the current received irradiation data and alert if any cells are reporting outside of the range of their surrounding neighbors. The data file provided Problem3.csv. The file will be a matrix of many rows and columns. Each element represents a single PV cell that you will be checking for failures. First, your code should check that all values in the matrix are less than 1000. For each value found that is greater than 1000, ask the user to replace that value with a new value less than 1000. If a value less than 1000 is not entered, the program should ask again until a value less than 1000 is entered. The result should be a matrix with all values less than 1000. This must be checked before calculations begin. You will search for any failed PV cells by averaging the value of all cells around the cell of interest and using the percent difference given in the equation below to compare that average with the value of the cell of interest. The user will enter a percent difference threshold which will determine at what level a cell is considered failing. Your code should perform these checks and calculations at each cell keeping in mind the multiple cases described at the bottom of this page with associated diagrams: Average value of all cells around the center cell. Use the percent difference equation below with a" as the average value "b" as the center cell value Percent a-b 100% Difference a The percent difference value will be used to determine if a cell is failing. If the percent difference found for each target cell is greater than the user inputted percent difference, store the row, column, value, average around the cell, and percent difference in a single matrix that contains only the failed cells. You must store each cell that fails in this matrix without overwriting the previous value. HINT:the number of rows in your failed cells matrix should equal the number of cells that fail based on the user input percent difference

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!