Community Profile

photo

Mounira


Last seen: 4 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

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...

2 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...

2 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...

3 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...

3 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...

3 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 ...

4 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 ...

4 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 ...

4 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 ...

4 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. ...

4 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...

4 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...

4 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...

5 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...

5 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...

5 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...

5 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,...

6 months ago | 1 answer | 0

1

answer