Community Profile

# Yifeng Tang

### MathWorks

Last seen: 4 days ago Active since 2020

Programming Languages:
Python, MATLAB, Fortran
Spoken Languages:
English, Chinese
Pronouns:
He/him
Professional Interests:
Physical Modeling, Simscape Fluids, Simscape, Heat and Mass Transfer, Thermodynamics and Heat Transfer

All

#### Content Feed

View by

Heat Exchanger (TL-TL) breaking thermodynamics?!
This shouldn't happen for parallel-flow heat exchangers, because of 2nd law of thermo-dynamics. But this may happen for counter...

12 days ago | 1

| accepted

hydraulic circle for fire suppression system clean agent
Hi Albara, It will be helpful if you could provide some schematic to show the interior of the agent tank so we can understand t...

12 days ago | 0

Simscape Gas Inertia block
Hi Caleb, "Fluid inertia is negligible." is one of the model assumption of the Pipe (G) block. You may be able to modify the c...

19 days ago | 0

Simscape fixed displacement pump pressure gain wrong?
Hi Sandro, one quick thing to fix: you need another reservoir at port B, otherwise the fluid has nowhere to go. The reservoir a...

19 days ago | 0

Modeling a pressurized flexible body (balloon) in simscape multibody/fluids
Hi Siril, I feel the problem may be way more complicated than just "the two open red open wires". To model this pressurized fl...

19 days ago | 0

Isothermal Fluids Pump/Motor Case Drain
Hi Philip, I feel the way you model it is very reasonable. Adding an small orifice or check valve mimics what happens in real ...

19 days ago | 0

Changing Thermal Liquid Properties in Simscape
If you'd like to manually set the properties like density, Cp, etc., the right block to use is "Thermal Liquid Settings (TL)" fr...

1 month ago | 0

Failed to increase pressure of a system with an actuator. Whats wrong?
It looks like that you would like to move the piston & mass so the pressure in Chamber A of the actuator will increase and you a...

2 months ago | 0

| accepted

Simscape piston moves without pressure difference
You don't need a force to keep a mass moving at constant velocity, as the acceleration is zero and F=m*a. When I add a damper...

2 months ago | 0

| accepted

Simscape pipe cleaning model - cleaning used pipe's interior surface with different fluid
It's possible to model a "solution", i.e. thermal liquid + passive scalar(s), using a quick-and-dirty way or a more formal one. ...

2 months ago | 0

simulation of a gas network node
It should be quite straightforward to build something like this: Just like how you draw that on paper. Simscape Onramp can b...

2 months ago | 1

What is the mistake in the simulation, if the transient initialization at time x, solving for consistent states and modes, failed to converge?
Hi Emefun, It looks like the piston side of your hydraulic cylinder doesn't have any mass. Adding a mass block to the rod allo...

2 months ago | 1

| accepted

False Results SIMSCAPE Pipe Block for cooling air stream
Hi Bastian, It sounds like in the simulation, the air stream is taking away less heat than in the test, resulting in a higher e...

2 months ago | 0

Li-ion battery pack cooling using Phase changing material
Hi Chinmaya, This will involve some customization in Simscape language. The simpliest implementation is to make a custom block...

2 months ago | 0

Simscape: Fan (MA) behavior with higher external flow
Hi Fabian, Check out this example: https://www.mathworks.com/help/hydro/ug/sscfluids_ev_thermal_management.html In the radiato...

3 months ago | 0

Temperature varying input for reservoir in refrigeration cycle
Use a Controlled Reservoir (MA) block. https://www.mathworks.com/help/releases/R2023b/simscape/ref/controlledreservoirma.html ...

3 months ago | 0

Centrifugal Pump doesnt increase pressure in Simscape for 2P-Fluid
Hi ÖMER, Two things I did to make the "Comminityfrage.slx" model to produce reasonable results. At the pump, make the max head...

3 months ago | 0

| accepted

Simulink: Adding expansion valve and try to close the refrigerant loop but fail to converge with initial conditions
Hi Brendon, I'm concerned that the way you are taking heat out of the condenser may generated unintended consequences and make ...

3 months ago | 0

How is the correct heat transfer equation in the Simscape block "Pipe (TL)"?
The temperature at the outlet port will be the same as the temperature inside the pipe. So usually either T_A or T_B will be th...

3 months ago | 0

Tutorials on Two Phase Fluid models?
In Simscape Fluids, there is an example/tutorial on how to build one of the shipping example on refrigeration step by step. h...

3 months ago | 0

How can i plot P-H Diagram with two parameter are: Pressure and Temperature( With refrigerantion system)?
Hi Trieu, For points outside the vapor dome, P & T uniquely determine the state. You may use Reservoir (2P) or Controlled Rese...

3 months ago | 0

How to model combustion chamber or heater for gas turbine system using Simulink?
Hi Kheng, For this application, I would highly recommend that you use Simscape and Simscape Fluids for your physical modeling. ...

3 months ago | 0

Simscape Thermal Liquid Domain - Across variable T of parallel flows
Adding a pipe block after each of the custom components will work just fine as well. Indeed, ALL ports connected to the same ju...

3 months ago | 0

Problem with Condensator-Evaporator (TL-2P) block in simscape fluids
Hi Lorenzo, I too agree that having counter flow and flow perpendicular to bank of tubes at the same time doesn't quite make se...

3 months ago | 0

On what basis do you vary the Laminar Pressure Ratio parameter in the Local Restriction (MA) block in Simscape?
I've adjusted this parameter to match the shape of a deltaP-Q curve over an orifice inside a valve. But 99% of the time, I didn...

3 months ago | 0

How can I assamble n identical blocks in a simscape simulation automathically?
In addition to @Fangjun Jiang's suggestion on add_block(), I would encourage you to also look into the "composite component" opt...

3 months ago | 1

Error Temperature of liquid volume must be less than or equal to Maximum valid temperature
Hi Johannes, I took a look at your model. Two minor things, both in the pump subsystem, I'd suggest that you change: the unit...

3 months ago | 0

I want to use a solenoid valve to achieve two-phase flow on/off
First, you'll almost never see a valve block to be complete "off" in a model. You'll always see a minimum area or flow fraction...

3 months ago | 0

Submitted

Intro-Examples-for-Simscape-CN
Model and scripts from video series on Simcape physical modeling