# DB

Followers: 0 Following: 0

**Statistics**

RANK**70,247**

of 293,248

REPUTATION**0**

CONTRIBUTIONS

**23** Questions

**2** Answers

ANSWER ACCEPTANCE **
56.52%
**

VOTES RECEIVED**0**

RANK

of 20,011

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

How to convert Simscape (Hydraulic) blocks to discrete time to reduce computational time?

My model currently has a high computation time because half of it is using continueous time hydraulic blocks from the Simscape H...

1 year ago | 1 answer | 0

### 1

answerQuestion

What is an efficient way to do PID tuning in a model with long computing time?

I'm modeling PID control of a variable frequency drive (VFD) on a centrifugal pump system in Simulink/Simscape. As I want the sy...

1 year ago | 2 answers | 0

### 2

answersQuestion

How to model PI flow control with throttling (butterfly) valve in hydraulic centriful pump Simscape/Simulink model?

I want to model PI-controlled butterfly throttling valve to control the flow. The control variable is an early flow measurement....

1 year ago | 1 answer | 0

### 1

answerSimscape - hydraulic flow control valve

Hi, it's been some time, but have you solved it? I would suggest using the orifice block, which also has a variable opening opti...

1 year ago | 0

Question

How to plot pump and system curve based on the hydraulic model in Simscape / Simulink?

I have modeled a centrifugal pump system with frictionous pipes and a control valve. I want to plot the system curve to see wher...

1 year ago | 1 answer | 0

### 1

answerHow to set time domain Simscape model to hours instead of seconds?

It seems the notation for hours is hr, not h. Therefore, I can change the flowrate from m^3/s to m^3/hr and it works.

1 year ago | 0

| accepted

Question

How to set time domain Simscape model to hours instead of seconds?

For my hydraulic isothermic model I model a centrifugal pump installation. Normally, flows and pump capacity characteristics are...

1 year ago | 2 answers | 0

### 2

answersQuestion

In a Simscape Fluids/Hydraulic/IL centrifugal pump model, why is the flow higher after narrow pipe than directly after the pump?

I'm creating a centrifugal pump system where a fluid is pumped from one tank to another. See the first figure. The tanks have sm...

1 year ago | 1 answer | 0

### 1

answerQuestion

In Simscape: How to change runtime of simulation and how to change name of blocks?

1) I change the runtime from 1-1000, but the Results Explorer still just runs it for the default 10 seconds. How do I fix this? ...

1 year ago | 1 answer | 0

### 1

answerQuestion

How many iterations does a ODE solver like ode45 do? What do the dimension of outputs mean?

Say I have a state space function function dx = sys(t, x) A = [0 1; -2 3]; B = [0;1]; K = [-1 -1]; u = K*x; dx = ...

2 years ago | 1 answer | 0

### 1

answerQuestion

What do the (high) values in a controllability matrix mean?

In a linear state space system, I used the function Co = ctrb(A,B) To check the controllability of the system. I get a full ...

2 years ago | 0 answers | 0

### 0

answersQuestion

Function returns scalar independent of input, but I need a matrix output

I have function handle f: f = @(x)4.3206303272e-05.*x(1).^2+2.39837699915e-05.*x(2).^2 Where is a vector. I want to plot the...

2 years ago | 1 answer | 0

### 1

answerQuestion

How to replace the sdpvar vector x with meshgrid variables to plot it? (YALMIP)

I have polynomial f of min degree 2, max degree 6 with variables x1 and x2, which are defined in Matlab by: x = sdpvar(2,1) Ac...

2 years ago | 1 answer | 0

### 1

answerQuestion

Plotting a multivariate polynomial with sdpvar variables

Suppose I have a polynomial , with degree . I want to plot the function where each variable in runs from to . I saw that usin...

2 years ago | 1 answer | 0

### 1

answerQuestion

How to have Matlab create a random matrix that is fullrow rank?

Say we have random matrix A, which we use for proving some theory, and we need this matrix to be fullrow rank, how to model this...

2 years ago | 2 answers | 0

### 2

answersQuestion

What is the mathematical notation for a Pulse Generator + If blocks in Simulink?

Hi, I have a value of I1 and I2. I want the value of I1, except for one time every 28 days/seconds (does not matter). I modelle...

3 years ago | 0 answers | 0

### 0

answersQuestion

What is the difference between the sample-and-hold block and a delay?

The sample and hold block holds a value for a certain time and outputs it. A delay takes a previous value from a certain time a...

3 years ago | 1 answer | 0

### 1

answerQuestion

How to use the state port of an integrator block in Simulink?

Hi, I want to use the state port for initial value of the integrator when it resets. However, I get an error message when I tre...

3 years ago | 1 answer | 0

### 1

answerQuestion

What is this Simulink block called?

What is this middle block in Simulink? I cannot find it in the library.

3 years ago | 1 answer | 0

### 1

answerQuestion

Export doubletimeseries dataset from MATLAB to Excel

Hi, I have data from Simulink out.conout colum time and 7 others: I want to export this to excel. I've tried writetable, xlsw...

3 years ago | 1 answer | 0

### 1

answerQuestion

How can I model the integrator show the desired reset behaviour?

Hi, I want to model continuous behaviour with its input depending on the discrete behaviour which should be changing per sample...

3 years ago | 1 answer | 0

### 1

answerQuestion

How to input a vector in Simulink with initial values to ultimately plot it over time?

I have initial vector x0 = [12;7,57] With x(0)=x0 I want to plot the changes x makes over time t and time steps k with x'(t)...

3 years ago | 1 answer | 0

### 1

answerQuestion

What is this block called and where can I find it?

Figure below. What is its function and what is the top output?

3 years ago | 1 answer | 0

### 1

answerQuestion

How do I make a plot with all three states [x1 x2 x3]' in SImulink?

I have made a model on people [x1 x2 x3]' influencing each other by influence matrix A. How can I plot the changes in the stat...

3 years ago | 0 answers | 0

### 0

answersSolved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Question

How do I plot the dynamics of agents influencing each other?

Hi, I want to plot the influence of agents on each other in a graph. For this example, I have three agents : k=1 x1(k)=10; x...

3 years ago | 1 answer | 0