photo

Yifeng Tang

MathWorks

Last seen: 4 days ago Active since 2020

Followers: 13   Following: 0

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
MATLAB Answers

0 Questions
405 Answers

File Exchange

1 File

RANK
166
of 299,722

REPUTATION
700

CONTRIBUTIONS
0 Questions
405 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
83

RANK
8,677 of 20,790

REPUTATION
92

AVERAGE RATING
0.00

CONTRIBUTIONS
1 File

DOWNLOADS
16

ALL TIME DOWNLOADS
722

RANK

of 165,604

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

  • First Review
  • Thankful Level 1
  • Knowledgeable Level 5
  • Pro
  • Personal Best Downloads Level 2
  • 12 Month Streak
  • First Submission
  • GitHub Submissions Level 1
  • Revival Level 3
  • First Answer

View badges

Feeds

View by

Answered
如何在simscape里构建蒸发式冷凝器,这涉及到传热与传质的过程
Hello 忠宇, I'd like to revisit this question. While I don't think there is a new block for this evaporative condenser you want,...

7 days ago | 1

Answered
Can ode15i solve a stiff DAE?
I would suggest that you try ode15s or ode23t instead. While ode15i, being an implict solver, may work well with stiff system o...

8 days ago | 0

Answered
How to simulate electro-hydraulic actuator system with hydraulic oil thermal effect in Simscape
Use the components from the Thermal Liquid (TL) domain. You will need to parametrize each component based on your system or the...

8 days ago | 1

| accepted

Answered
Role of the "Anode Exhaust" subsystem in PEMFC Simscape model and hydrogen flow path decision
In most PEMFC system, the anode side doesn't vent to the outside like the cathode side. Unused hydrogen are too precious to be ...

21 days ago | 1

| accepted

Answered
How can I load a final state of a Simscape model in generated code?
Some thoughts: I wasn't about to generate code when xInitial is enabled. Not sure if it's because that's not supported or beca...

1 month ago | 0

| accepted

Answered
Measure the model mass and moment of inertia of the component detached from the main body
Hi @Ming As @Shishir Reddy mentioned, it appears that the inertia sensor spans the weld joints at the beginning of the simulati...

1 month ago | 0

Answered
How to integrate PEM electrolysis system and PEM fuel cell system to form ‌the DC Electrical Power System?
Check out this examples: Green Hydrogen Microgrid https://www.mathworks.com/help/sps/ug/green-hydrogen-microgrid.html. See how ...

1 month ago | 0

Answered
How can I avoid extreme slowdowns in Simscape Multibody when a robot with spatial contact forces comes to a stop?
Some suggestions: In solver profiler, look at tab showing which blocks are causing the solver exceptions, and check if it's ind...

1 month ago | 0

Answered
How to Create and Integrate a Simulink-Based Digital Twin of a Submersible Pump Test Rig with Arduino Sensor Data
Hi @AVICHAL, If you believe you've included all key governing equations in you Simulink model, then indeed you'll need to ident...

1 month ago | 0

Answered
Terminate Simulink simulations in parfor loop after some run time
Consider use the sim command to execute your model, and set a maximum simulation run time using the "TimeOut" option. For examp...

1 month ago | 1

Answered
Optimal decimation to Log Simulation Data
If you put a time vector in the "Data Import/Export" - "Save Options" - "Produce Specified Output Only" - "Output Times", you sh...

1 month ago | 0

Answered
Simscape Fluids - 2 resevours, 1 flow rate source model results in pressure below allowed minimum.
Looks like a parametrization issue to me. In your model, the pressure at the inlet (point 1) is fixed by the upstream reservoir...

3 months ago | 0

| accepted

Answered
Can the PEM Fuel Cell Simscape model be scaled down to 100 W?
I can share a case study where the original model is scaled UP by 4 times, to around 400kW. Maybe you can repeat the workflow f...

3 months ago | 1

Answered
Control of dehumidifier with system level heat exchanger
Summarize the information exchange in the "Comments": Changing the "nominal rate of heat-transfer" is like change the heat exch...

3 months ago | 0

| accepted

Answered
Simulation of BLDC Motor - error with derivative of omega
Hi Marcel, I'm NOT an expert in BLDC motor but I'm in general interested in Simscape language and customization. Could it be a...

4 months ago | 0

| accepted

Answered
How Hydrogen pressure increase to 3MPa without compressor in this control?
As hydrogen is produced at the Cathode from the electrolysis process, the pressure in the upstream volume will increase. This c...

4 months ago | 0

Answered
Simscape Inheritance - Parameters as structs or objects
I think it's possible to mimic the code inside Thermal Liquid Properties to do what you envisions. (1) define a class for the d...

4 months ago | 0

| accepted

Answered
How to build up a motor that controls the speed of an centrifugal pump through an ideal torque source?
Hi Malte, In your model right now the torque source R port is also connected to the mechanical reference (ground), so no moveme...

4 months ago | 0

Answered
How to Set Initial Position for a Mass Block in Simscape?
Hi @José, In the mechanical translational domain, the domain variables are the velocity and the force. In general, the displac...

5 months ago | 1

| accepted

Answered
Problem with two phase Fluid Tables properties for mixtures for Simscape Matlab using CoolProp
Hi Adam, I think there is path forward, but it'll require some work. The error message you and I saw was generated by the fact...

5 months ago | 0

Answered
How to protect a model with simscape interfaces?
Hi @Carolina, As Model Reference and Model Protection won't allow physical connection through the subsystem/model boundary, it'...

5 months ago | 0

Answered
How to export data logging in Simcape simulation by second?
First thing to check, whether you are limiting the number of data points to keep. I suspect so, as your tout variable has lengt...

5 months ago | 0

Answered
How to add functionality to simscape multibody?
Hi Mark, Simscape Multibody, unfortunately, can't be customized in the same way as other physical domains in Simscape. I would...

5 months ago | 0

Answered
I need help coding a custom block on Simscape
This compiled without an error component pelton_turbine % Ce composant calcule le couple généré par l'eau sur la turbine. % 🔹...

5 months ago | 0

Answered
In Simscape, is there an equivalent to the Two-Phase Fluid System components that support Phase-Change-Materials (solid-liquid-transition)?
Hi @Philipp, I attached a simple proof-of-concept. The mlx script add an offset to the u(T) property after T is greater than t...

6 months ago | 0

Answered
Orifice (2P) Parametrization and Control
Hi @Rinaldo Is S a physical signal between 0 and 1, no units (unit = 1)? S is a position input, with a length unit (m, cm, m...

6 months ago | 0

Answered
I have a subsystem in Simulink with LConn and RConn blocks, some from Simulink Electrical and others from Simscape. How can I retrieve their type info from MATLAB?
I think this will help: myBlock = 'example/Subsystem'; port_handles = get_param(myBlock,"PortHandles") inports = port_han...

6 months ago | 0

Answered
I added a constant heat flow source to the pipe but I couldn't see any temperature increase to the fluid which flows
This should work fine. This is how heat is added to the coolant in some examples in the Documentation as well, like Electric Ve...

6 months ago | 0

Answered
Issue with Basin Level Fluctuation After Parallelizing Cooling Towers in MATLAB Data Center Cooling Example
It looks like those two T-junctions are creating different flow resistance into the two towers. As a result, the inflow can flu...

6 months ago | 0

Answered
Load simulation state in Simulink Coder generated C code
Hi @Zoltán Runyó, I think it's possible to do what you are envisioning using "Simulink Parameters" in the initial conditions. ...

6 months ago | 0

Load more