Community Profile

photo

Yifeng Tang

MathWorks

Last seen: Today 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

Statistics

All
  • Personal Best Downloads Level 2
  • 12 Month Streak
  • First Submission
  • GitHub Submissions Level 1
  • Knowledgeable Level 4
  • Revival Level 3
  • First Answer

View badges

Content Feed

View by

Answered
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 hours ago | 0

Answered
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 hours ago | 0

Answered
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 hours ago | 0

Answered
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 ...

20 hours ago | 0

Answered
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...

17 days ago | 0

Answered
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...

29 days ago | 0

| accepted

Answered
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...

29 days ago | 0

| accepted

Answered
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...

1 month ago | 1

Answered
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...

1 month ago | 1

| accepted

Answered
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

Answered
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

Answered
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...

2 months ago | 0

Answered
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 ...

2 months ago | 0

Answered
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...

2 months ago | 0

| accepted

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

4 months ago | 33 downloads |

Answered
Problems with the "System-Level Heat Exchanger (TL-MA)" Simscape block
Starting from "nominal temperatures and rate of heat transfer" means at time of 0, the fluids inside the volume will have the pr...

5 months ago | 0

Answered
How do I take the translation output from one hydraulic cylinder rod and give it as an input to another so that it can act as a reciprocating pump in SIMHYDRAULICS?
I believe you have one of the hydraulic cylinder backwards. The left-right on the canvas doesn't indicate positive or negative ...

6 months ago | 1

| accepted

Answered
Reciever Accumulator in Simscape inlet Liquid and Vapour problem
It doesn't matter what state/mixture goes INTO the receiver from which port; the block will get what's coming in. When the flui...

6 months ago | 0

| accepted

Answered
2P-2P Heat Exchanger
A few thoughts: (1) maybe use a system-level heat exchanger (2P-2P) as a starting point, so you have a model that you can simul...

6 months ago | 0

| accepted

Load more