DEMAND SIDE MANAGEMENT

RENEWABLE ENERGY

SMART GRID

Question

summation with for loop for all rows in another column

I had following data as attached h = 1; I_all size(3154*20) So hmax = 20; I1 = I_all(1,1) for first row and I1=I_all(2,1) ...

3 mesi ago | 1 answer | 0

Question

how to model an electric vehicle and its charge discharge

Want to model electric vehicle (30kW battery capacity) and charge by 1C/2C/3C rates with 3kW/5kW/10kW charger and consumption 15...

6 mesi ago | 3 answers | 0

Question

find area of curve and update it with given conditions?

I had a load curve (30 min interval 48 values) , and two different levels of curve(red, black horizontal line in pic), Now I wan...

6 mesi ago | 1 answer | 0

Question

for loop execution error

i had a for loop like this for j=1:100 for i=1:48 F{j,1}(i,1)= some equations; end end this is running wel...

7 mesi ago | 1 answer | 0

Question

find maximum of data with some conditions

I had one year load data of a transformer hourly time interval, so load(365*24, 24) matrix. I want to find out the maximum of e...

7 mesi ago | 1 answer | 0

Question

how to generate time series data?

I calculated vector D(48*1) values for one day 30 min interval in .m file program. Now I want to use this D vector into simulink...

7 mesi ago | 0 answers | 0

Question

simple integration calculation to find the area ?

I had a 30 min time step vector T(48*1) values T=[30 60 90 ........1440], and another vector V(48*1) having some values. I want ...

7 mesi ago | 2 answers | 0

Question

large excel data into multiple excel file using xlswrite ?

I had excel sheet data havaing 1048576 rows and I want to split it into 12 excel files and save data in 12 different excel files...

7 mesi ago | 2 answers | 0

Question

nested if loop in for loop with different conditions?

this following code is OK n = 0.8; y = 1.6; % winding exponent y=1.6 K11 = 1; K21 = 1; K22 = 2; T0 = 180; Tw = 4; % H =...

8 mesi ago | 0 answers | 0

Question

Find area under and above the curve with horizontal line and its min/max values in a given range of line ?

I want to do following tasks, First generate a time series load data between 550-1000 for one day 30 min interval, so load(48*1...

8 mesi ago | 0 answers | 0

Question

Area under the curve with conditions?

I want to do following tasks, First generate a time series load data between 550-1000 for one day 30 min interval, so is load(4...

8 mesi ago | 1 answer | 0

Question

linear optimization without any constraint

I had following code: % data a = 30; b = 150; D = (b-a).*rand(100,1) + a; % threshold Th=110; Th=repmat(110,100,1); % di...

8 mesi ago | 0 answers | 0

Question

linear optimization using optimization toolbox and minimize array sum

I had dataset of load for 7 days, 1min time interval and I want to put a threshold value. Now claculate a difference D=(load-Thr...

8 mesi ago | 2 answers | 0

Question

Create a uniform empty cells between 2 data in excel file?

I had a excel file having data at 30min interval for a day , size (48*1). Now I want to create it at 1min time interval with sam...

circa un anno ago | 1 answer | 0

Question

How to fit same variance of data to another data ?

I have two data sets of energy consumption for full day with 30min(data size 48*1) and 1 min(data size 1440*1) time interval of...

circa un anno ago | 1 answer | 0

Question

remove weekends and holidays data from excel file

I had excel file ABC.xlsx, in which sheet A having data from date 01-04-2017 to 31-12-2018 and the sheet2 having the list dates ...

circa un anno ago | 1 answer | 0

Question

find the average of a vector with specific condition ?

I had A vector A=[1 0 0 2 3 2 3 5 0 0 0 0 1 2 1 0 0 0 0 3 4 0 0 0 0 0 0 1 2 3 2 0 0 0 0 2 0 0] like this. Now I want a ...

oltre un anno ago | 1 answer | 0

Question

count number with continuous numbers of 1's ?

I had a matrix A=[0 0 1 1 1 1 0 0 0 1 1 0 0 1 0 0 1 0 0 0 1 1 1 0 0] like this , now I want a matrix B in which B(3)=1,next B(10...

oltre un anno ago | 1 answer | 0

Question

create a array base on specific condition ?

I had a array like this A=[0 0 0 10 0 0 0 0 8 0 0 5 0 0 0 3 0 2 0 0 0 1 0 0 0]; and now I want to create a array B like ...

oltre un anno ago | 2 answers | 0

Question

sum of array elements with specific condition?

lets say I had A=[1 0 1 1 0 1 0 1 0 0 1 1 1 1]; then I want B(1)=sum of all A elements, B(2)= sum all elements of A from A(2) ex...

oltre un anno ago | 2 answers | 0

Question

Battery duty cycle at each instant ?

I have battery voltage Vi at each time instant(predefined before in simulink) and taking the reference voltage Vo (between 718-7...

oltre un anno ago | 1 answer | 0

Question

convert date time to number ?

I had excel sheet having date format dd/mm/yyyy hh:mm:ss , So now I want to convert each value into number format. How can I do ...

oltre un anno ago | 1 answer | 0

Question

calculate data based on previous values and replace it at negative and zeros values

there is different data in the column in excel (REACTIVE_Y_PH), which has some negative and zeros values also, these values shou...

oltre un anno ago | 1 answer | 0

Question

Data interpolation problem for excel file

I had a excel file having 500 rows and 3 columns. In first column the data should be within the range of 200-250 but there are s...

circa 2 anni ago | 1 answer | 0

Question

move a row from a cell to another cell

I had a cell array Q like this Q=cell(5,1); Q{1,:}=[1 2 3 4;11 22 33 4;11 2 33 4]; Q{2,:}=[1 11 11 2;22 2 32 33]; ...

circa 2 anni ago | 2 answers | 0

Question

nested for loop with different variable name

S is cell array of size 994*1 and each cell size in it is 24*24, price3(size 1*24), Bita(size 1*24), CONS_T3(size 1*24), I want...

circa 2 anni ago | 1 answer | 0

Question

matrix as desired data using for loop

suppose I had following matrix A A(1,:)=[10 10 0.2 0 0]; A(2,:)=[10 10 10 0.3 0]; A(3,:)=[10 0.5 0 0 0]; Now I want a cell...

circa 2 anni ago | 1 answer | 0

Question

create a specific matrix data ?

I have a matrix N=[2;3;4;2;4;1;4;3;2;1] (10*1 size) then from this i want to create a matrix like this that for i=1:10 ...

circa 2 anni ago | 1 answer | 0

Question

dlmwrite/dlmread function help ?

I had a matrix A = [data1 data2 data3]; B = [data4 data5]; data1,data2,....data5 are calculated or exported from exc...

oltre 2 anni ago | 1 answer | 0

Question

find a rows in matrix and its position in that matrix ?

datasheet(48*6)size %I had a matrix of size(48*6) and then ii = randperm(size(datasheet,1)); k = ones(24,1)*2; ...

oltre 2 anni ago | 2 answers | 0