# Yifeng Tang

### MathWorks

**Statistics**

RANK**296**

of 262.960

REPUTATION**254**

CONTRIBUTIONS

**0** Questions

**179** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**23**

RANK**13.196** of 17.997

REPUTATION**16**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **7**

ALL TIME DOWNLOADS**86**

RANK

of 113.920

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Water supply system-Simulink

Depending on what physical domain you are thinking of, a few pipeline blocks in the Simscape Fluids library allow the modeling o...

alrededor de 9 horas ago | 0

How to control simscape ball valve block

Looks like an earlier version of question: https://www.mathworks.com/matlabcentral/answers/502708-control-of-ball-valve?s_tid=s...

alrededor de 9 horas ago | 0

Simscape 2P: How can I realize both varying local restriction and blocking the flow path.

Besides from my comment earlier, I've found that using a custom block of a "variable flow resistance" seems to make thing easier...

7 días ago | 0

Optimal components for a two-stage heat pump in Simscape

It puzzles me why there isn't a flow out of the BV port of the tank. There isn't a flow into BV port either? The BV port is co...

7 días ago | 1

Simscape Pipe array (many pipes in parallel)

It's possible to do it in the way you described. I attached a sample of "flow multiplier" and "thermal liquid multiplier". Dep...

14 días ago | 0

how can i do two phase to thermal liquid connection?

Hi Davod, This wasn't possible until the R2021a release of Simscape Fluids. https://www.mathworks.com/help/physmod/hydro/ref/i...

14 días ago | 0

How change simscape simulation time from seconds (sec.) to hours (h)

Just to summarize the thread of comments, so the question appears as "Answered". The easiset way is to multiply the duration of...

14 días ago | 0

Simscape Fluids - The best way to inputs parameters on the Displacement Pump Rexroth

Hi Diego, It's very common that the supplier doesn't provide ALL technical data. Some educated guess is often needed. The fir...

19 días ago | 0

How can i give more accurate initial conditions ?

The pump module has no input (velocity or torque) at the shaft. The system of equations is missing conditions needed to start t...

19 días ago | 0

What causes the pressure behavior in valves?

Hi Michael, I think there are a couple things at play here: First, there is currently no volume at all between the two reservo...

19 días ago | 0

Why the volumic flow rate sensor (motion air) is registering a negative value?

As @VBBV mentioned in the comment, switching the A/B port is likely the solution. Is this turbine block the same one as in theA...

19 días ago | 0

Simscape fluids and Ansys CFX

Hi Federico, For the block you mentioned, tabulated data or polynomial coefficients (which will require some data fitting) are ...

21 días ago | 0

Recursive type equation solution in simscape

Feels like you are trying to use Simscape like MATLAB :p, by considering how to use iterations to do the numerical integration. ...

21 días ago | 0

air-oxygen mixing model in a continuous process

You should be able to use the Moist Air (MA)domain for such a purpose. The domain keep tracks of the concentration, mass, and e...

21 días ago | 0

Problems with Organic Rankine Cycle Simulation

If you are new to Simulink and Simscape, consider the free, interactive tutorials known as the Onramps first. Simulink Onramp: ...

21 días ago | 1

| accepted

How to connect elements form different simscape sub-libraries?

I believe you may use two orifices to achieve what you have described. Just control the input area to each to adjust the amount...

21 días ago | 0

How to use Simscape to solve heat conduction equation?

I guess by "wrong results" you mean the measured heat flow rate doesn't make sense? I noticed you connected the heat flow rate ...

21 días ago | 0

I get the following error; "Caused by: Variable 'fan_area' has been deleted from base workspace." in Simscape

The parameters of this model are all kept in the Simulink model workspace. So the fact that it's looking for things in the base...

26 días ago | 0

Modeling of a bypass valve in the two-phase structure

If "opening fraction is zero throughout" and the valve let through a significant fraction of the total mass flow, you have too m...

26 días ago | 0

How can I implement vanes (IGVs) on compressor unit in Simscape?

You are right about the compressor block: it doesn't support vanes as an input. I can think of one workaround, by using a 3D lo...

26 días ago | 0

how can i get the specific heat at constant volume for two phase fluid Water/Steam

Hi Mario, You should be able to calculate Cv from Cp, temperature, thermal expansion coeffcient, density, and bulk modulus. Al...

26 días ago | 0

Is it possible to calculate the "hydraulic-translation-multibody"-system backwards?

I would agree with you that the valve position couldn't be calculated the way you described. The force, though, can be found by...

28 días ago | 0

Variable Kv valve model

My suggestion would be to modify the code of a local restriction block, and move the Discharge Coefficient (Cd) from "parameter"...

28 días ago | 0

Pressure-flow characteristic for a 4-Way Directional Valve

I believe the pressure differentials refer to p.P-p.A, p.P-p.B, p.A-p.T, p.B-p.T. The flow direction is defined in the save way...

28 días ago | 0

How to add radiation heat transfer to 3-Zone Pipe (2P) ?

This may be a workaround: May the convective transfer coefficient in the 3-zone pipe ridiculously large, so it results in almos...

28 días ago | 0

How do I change the default settings (water) in Thermal Liquid (TL) Settings in my Simulink model?

Use the Thermal Liquid Settings block in Simscape / Foundation Library / Thermal Liquid / Utilities: https://www.mathworks.com/...

28 días ago | 0

Heat Excahnger TL Modeling Liquid Cooling

Looks like a follow-up on question https://www.mathworks.com/matlabcentral/answers/1624290-simulink-thermal-liquid-simulation?s_...

28 días ago | 0

Simulink Thermal liquid simulation

Hi Jan, There are a few things that need attention in your model: use of "absolute reference" blocks: this block prescribes an...

28 días ago | 0

Aggregate Equivalent Length of Local Resistances (AELoLR) Simscape hyd. Pipes

Hi Michael, This parameter is there to add some length to the pipe only in the equations that calculate the friction loss, see ...

28 días ago | 0

Equations for Simscape component Pipe (2P)

The blending happens in lines 324-327 (R2022a): % Smooth transition for heat transfer coefficient between liquid, mixture, ...

alrededor de 1 mes ago | 0