Question

Algebric loop error for a PI controller feed back?

Hello, I am trying to solve a model. The model consists of a feedback loop for a PI controller which controls the input variabl...

22 days ago | 0 answers | 0

Question

Comparision of data in simulink sensitivity analysis?

Hello, I have performed sensitivity analysis of a simulink model using sensitivity analysis tool. I have performed the analysis...

1 month ago | 0 answers | 0

Question

How can i compare two sensitivity analysis data in simulink?

Hello everyone, I am performing a sensity analysis of a model in simulink using simulink design optimiser tool. I have performe...

1 month ago | 0 answers | 0

Question

Derivative of state '1' in block 'integrator' at time 0.0 is not finite.

Hello, I have modelled a superheater using simulink. And I have used a PI controller to tune the system. now I need to perform ...

2 months ago | 0 answers | 0

Question

How to solve Index in position 1 exceeds array bounds (must not exceed 1).

Hello, When I am trying to run my code in matlab 2020a version I am getting this error. but when I am running the same code in ...

2 months ago | 1 answer | 0

Question

Modelling of steam flow control valve?

Hello, I am trying to model a simple steam control valve in simulink. Is there any way to model that. I know the basic dynamics...

2 months ago | 1 answer | 0

Question

Derivative of state '1' in block 'XXXX/Integrator Limited1' at time XXXX is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by r

hello, when I am trying to solve the model I am getting the following error when I am using ODE15s as solver. Derivative of st...

2 months ago | 0 answers | 0

Question

how can i convert cell to matrix?

Hello, I am trying to convert the data obtained into matrix. so the dimensions of the T, P and h_out after I run the code are 1...

2 months ago | 1 answer | 0

Question

lookup table error in simulink

Hello I am trying to model a 2D lookup table in simulink. I am calling the break points and table data from workspace. When i ru...

2 months ago | 1 answer | 0

Question

How can i Extract data from Xsteam?

Hello, I am trying to extract data from steam table for pressure range of 20bar and temperature range of 1000. I have written a...

2 months ago | 0 answers | 0

Question

Index exceeds the number of array elements?

Hello, I am trying to extract data from Xsteam.I am trying to retrive data with respect to temperature. the code is as follows...

2 months ago | 1 answer | 0

Question

how to extract data from xsteam to simulink using lookup tables?

p = p_in; a = 1000; b = 0.01; h_vap = zeros(1,((a-1)/b)); L = length(h_vap); for i = 1:L T(i)= 1+b*i; h_v...

2 months ago | 0 answers | 0

Question

How to write subscript and superscriopt in a single variable?

Hello every one, Can someone tell me how can i write this symbol in matlab script.

5 months ago | 0 answers | 0

Question

simulink to workspace using simout as a scalar value

hello everyone, I need to get the data from simulink to workspace, to do that i have used simout block. BUt i am getting a time...

5 months ago | 0 answers | 0

Question

incrementing input value in simulink?

hello everyone, I am working on a model in simulink. Is there any way to provide the input soure from a value of 0.2 to 4 at an...

5 months ago | 0 answers | 0

Question

Expected a value representable in the C type 'int'.

Hello everyone, I am simulating a simple equation in simulink as a matlab function block. and i am getting the following error,...

6 months ago | 0 answers | 0

Question

calling a callback function from script

hello everyone, I am trying to calculate the steam table data using the XSteam.m script. I have written a callback loop to calc...

6 months ago | 1 answer | 0

Question

modelling in matlab of differential equation

Can someone pls tell me how to model this equation in matlab. M*C_p*dt_a/dt = (Q-(m*(h_w-h_s))-(rho_w*V_w*(dh_w/dt))); Where...

6 months ago | 1 answer | 0

Question

solving of differential equation in simulink

hello, can someone tell me how can i model this equation in simulink. the main problem i am facing in it is there are two diff...

6 months ago | 0 answers | 0

Question

calculation of thermal properties of steam in simulink?

Hello, Is there any way to calculate thermal properties of steam from steam tables such as density, enthalpy etc in simulink us...

6 months ago | 0 answers | 0

Question

for loop as matlab function in simulink

Hello is there any way to do for loop as a matlab function in simulink. my code is as follows: P=zeros(1,n+1 ); P(1) = P_in ; ...

8 months ago | 0 answers | 0

Question

summation in matlab with for loop

how can i write the code for the following equation using for loop and summation. here the bold and the underlined part of the e...

8 months ago | 1 answer | 0

Question

for loop in simulaink as matlab function

Is there any way to use this code as a matlab function in simulink? P=zeros(0,n+1); P(1) = P_in; CR = (P_out/P_in)^(1/(n));...

8 months ago | 0 answers | 0

Question

The size of the indicated variable or array appears to be changing with each loop iteration

hello, i am trying to model an iteration loop in matlab, and i am getting the following error 'The size of the indicated variabl...

8 months ago | 1 answer | 0

Question

how can i differentiate a constant in simulink?

hello everyone im trying to differentiate a constant in simulink. but when i use derivative block it considers the value as cons...

8 months ago | 1 answer | 0

Question

modelling of equations in matlab

hello every one, i am trying to model a equations in matlab/simulink. can some one tell me how to model these equations in simul...

8 months ago | 0 answers | 0

Question

Modelling of a air compressor

I am trying to model a screw compressor in matlab/simulink. the parameters which i know are just input temperature, pressure and...

9 months ago | 0 answers | 0

Question

how can i code energy balance eq in matlab

i need to model these two eqns of heat exchanger dT_Co/dt = ((M_C*(T_Ci-T_Co))/(rho_C*V_C))+(UA_i*(T_Ho-T_Co)/(rho_C*V_C*C_Pmc)...

9 months ago | 1 answer | 0