Community Profile

photo

Yifeng Tang

MathWorks

Last seen: Today Active since 2020

Statistics

All
  • 6 Month Streak
  • First Submission
  • GitHub Submissions Level 1
  • Knowledgeable Level 4
  • Revival Level 3
  • First Answer

View badges

Content Feed

View by

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Load more