photo

Mounira


Last seen: 14 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


run the system for 24 hours in short period
hello, so i have model in simulink, it runs for Total time=2 seconds, and sampling time for microgrid=1e-6, sampling time for m...

22 days ago | 1 answer | 0

1

answer

Question


how to add disturbance into MPC block without remaking it from the beginning?
Hello, so i am trying to add imports inputs and output to MPC; but I keep having this error: "hessian matruix to the QP proble...

2 months ago | 1 answer | 0

1

answer

Question


tuning model predictive controller
Hello, so i want to tune my Model predictive controller; the model (microgrid) is working perfectly fine with the Model predict...

2 months ago | 1 answer | 1

1

answer

Question


can I use Model Predictive Controller in Simulink and coding in script at the same time? using MATLAB
Hello, so i have a question, I have Model Predictive Controller in Simulink and also i have to add some new constraints and cos...

5 months ago | 1 answer | 0

1

answer

Question


how to change variable value in lookup table during simulation in Simulink?
Hello, so I have a 2 table lookup; first table has: P (48 values) and time(1:1:48); and the second table has: load Q (48 values...

5 months ago | 2 answers | 0

2

answers

Question


how to filter rows with zero values?
hello, so i have data in mat.file 3 columns about weather conditions (first column: temperature, second column: irradiation1; t...

6 months ago | 1 answer | 0

1

answer

Question


how to adjust the simulation time of the parent model with the referenced model?
Hello, so I have a dc microgrid model with sources generation and loads, and this microgrid is controlled by model predictive c...

6 months ago | 1 answer | 0

1

answer

Question


Time Delay/S-Function: The specified delay time is smaller than the specified Sample time (Ts). This may cause inaccurate simulation results.
Hello, so I have a dc microgrid model with sources generation and loads, and this microgrid is controlled by model predictive c...

6 months ago | 1 answer | 0

1

answer

Question


Referenced model contains an algebraic loop. Referenced models do not support algebraic loops
Hello, so i have a dc microgrid model and i have a model predictive controller using simulink in Matlab, and i want to run the ...

6 months ago | 2 answers | 0

2

answers

Question


Error using function: Too many input arguments.
Hello, so i have a prediction model code, with 15 inputs, and one output, and the code is working perfectly, and i have saved ...

6 months ago | 3 answers | 0

3

answers

Question


how to run Model predictive controller in parallel with another model
Hello, so i have a dc microgrid model and i have a model predictive controller using simulink in Matlab, and i want to run the ...

7 months ago | 1 answer | 0

1

answer

Question


how to make it state space representation a dynamics microgrid model in Model Predictive Controller(MPC)
Hello, so i have a microgrid model and MPC, like in the figure and I had en error "Plant Models cannot be a pure direct feed ...

7 months ago | 1 answer | 0

1

answer

Question


Error in port widths or dimensions
Hello, so i have a state space representation in simulink matlab, and i have this error: Error in port widths or dimensions. ...

7 months ago | 1 answer | 0

1

answer

Question


Simscape port connection using simulink Matlab
Hello, so i have this model, and i want to connect the submodel of the capacitor to the model, but I cannot seemed able to do i...

7 months ago | 1 answer | 0

1

answer

Question


Transforming workspace into table using script in MATLAB
Hello, so I have a model in simulink Matlab, and there is a block " To workspace", that gives a data almost 15000 do the worksp...

7 months ago | 1 answer | 0

1

answer

Question


Error in port widths or dimensions.
Hello, so i have a model; dx'= Ax+ B*u; and y=Cx+Du; with one input and one output, and output=state; this model is represente...

7 months ago | 1 answer | 0

1

answer

Question


save a training code using ANN in script and use it in a function in simulink Matlab.
Hello, so i have a code for prediction of the output power of solar pv panel in a script, i want to save the training model of...

7 months ago | 1 answer | 0

1

answer

Question


Error in LoadFlowTool using power GUI
Hello, so I am trying to use load flow analyser in power gui, the synchronous machine as a generator with a load next to it, bo...

8 months ago | 0 answers | 0

0

answers

Question


change negative data to zero in one table in matlab
Hello, so i have table with negative values and also with some values above zero but very small, for example: 0.00001 and i wa...

8 months ago | 1 answer | 0

1

answer

Question


error: Unsupported input format for From Workspace block 'untitled/From Workspace1'. Available formats are double non-complex matrix, a structure with or without time, or a st
Hi, I have data from workplace on one column and 15624 lignes, and i want to make enter these data into the inputs of pv array,...

9 months ago | 1 answer | 0

1

answer