Answered
Simcape real gas properties for N and H2
Coolprop is free. They also have MATLAB wrapper.

7 months ago | 0

Answered
Brazed plate heat exchanger on Simscape
I would recommend the following combination of options: The key is to choose "generic" for tube section, so you can set th...

7 months ago | 2

| accepted

Answered
two-phase flow 4-way valve
You may follow this example on how to make a N-way valve manually. https://www.mathworks.com/help/simscape/ug/hydraulic-actuato...

7 months ago | 0

Answered
Simscape how to set up a multi-process evaporator or condenser
The architecture looks right: refrigerant in series and air flow in parallel, like the actual heat exchanger. A few things to p...

7 months ago | 0

| accepted

Answered
How to model tanks with inlets above liquid level - partially filled pipes missunderstood?
You can find here two examples on how to use a tank block and a partially filled pipe together in an isothermal liquid model. T...

7 months ago | 0

| accepted

Answered
Binary Mixtures using coolprop in Matlab
Looks like you can use the MATLAB wrapper for Coolprop to define a mixture and query the properties, like below: py.CoolProp.Co...

8 months ago | 1

Answered
How to plot pump and system curve based on the hydraulic model in Simscape / Simulink?
To summarize the discussion from the comments section: The pump curves can be generated from the pump blocks in Simscape Fluids...

8 months ago | 0

Answered
Connection between corrected mass flow and pressure ratio in the Turbine (G) Block
Summary from the discussion in the Comments section. While the formulation isn't given in the Documentation page of the Turbine...

8 months ago | 0

Answered
Definition of Reynolds number for MA side in Heat Exchanger (2P-MA) model
I checked the source code: for generic geometry, the hydraulic diameter is calculated as 4 * generic_fluid_volume / generic_he...

8 months ago | 0

Answered
Heat Pump Air Conditioner
Hello, I would suggest that you take a close look at this Documentation page "Model a Refrigeration Cycle" https://www.mathwor...

8 months ago | 0

| accepted

Answered
Two-phase exchanger with evaporator that loses pressure at the outlet.
Check out this documentation page and carefully follow the workflow. https://www.mathworks.com/help/hydro/ug/modeling-a-refrige...

9 months ago | 1

Answered
Implementation of two-phase liquid out of REFPROP into simscape
In the same Documentation page, there is an example of using the same command to assign the properties to a Two-Phase Fluid Prop...

9 months ago | 0

| accepted

Answered
How can I solve the error generated by a T-Junction when there is a Parallel Channels block in my simscape fluid model?
Hi Miguel, In the model you shared, the T-junction has the default initial flow target of 0 at all ports and "high" priority. ...

9 months ago | 1

Answered
Data center Simscape modelling
There is a shipping example on data center cooling, in R2023a. https://www.mathworks.com/help/hydro/ug/data-center-cooling.html...

9 months ago | 0

Answered
Fin Surface Area Condenser-Evaporator (2P-MA) Simscape Fluids
In the parameter dialog, the fin area for the MA side are for those thin foil/sheet you see on the outside of the tubes. The wa...

9 months ago | 1

| accepted

Answered
Cooling system whit Ammonia not run
Hi Francesco, We believe the error has to do with the fact that NH3 has a non-monotonic supercritical line. It needs to be fix...

9 months ago | 0

Answered
Error using System-Level Refrigeration Cycle (2P)
Hi Carlo, We believe the error has to do with the fact that NH3 has a non-monotonic supercritical line. It needs to be fixed i...

9 months ago | 0

Answered
Simscape two-phase fluid in closed accumulator looses pressure
Hi Patrick, I believe what you are seeing is the result of the "upwind energy scheme" implemented at all ports of thermo-fluids...

10 months ago | 1

| accepted

Answered
how mixing pressure Pm is calculated in gas ejector model of Matlab
This pm term is EVERYWHERE in the governing equations of the ejector. It's solved for implicitly to keep the system of equation...

10 months ago | 0

Answered
How to model actuator ports in Simscape fluids?
I'd encourage you to think more about the "effect" of a port in the actual system, instead of just having the actually values of...

10 months ago | 0

Answered
issues on Heat exchanger in simscape TL-MA
Setting reasonable parameters to discribe the nominal conditions for the heat exchanger seem to resolve the issue. Pay particul...

10 months ago | 0

| accepted

Answered
In a Simscape Fluids/Hydraulic/IL centrifugal pump model, why is the flow higher after narrow pipe than directly after the pump?
In the Isothermal Liquid domain, the density of the fluid is a function of the pressure. See this documentation page: https://w...

11 months ago | 2

| accepted

Answered
How can I mode the refrigeration cycle considering frosting in the evaporator in simscape
Hi Shuping, You are correct about the condensed water being removed right away (like magic) from the MA domain. Therefore, no ...

11 months ago | 0

Answered
Modelling a layer of water crossed by a water circulation.
Hi Lucas, Check out the attached modified .ssc file and a simple test harness. I keep most of the equations from constant volu...

11 months ago | 0

| accepted

Answered
problem with ssc_build to generate custom simscape library
The input to the ssc_build command should be the directory name, instead of the .ssc file name. The directory can contain multi...

11 months ago | 0

| accepted

Answered
Two-Phase Cascade Heat Exchanger
Suggestion: check the parameters you've set for the heat exchanger, source, and reservoir blocks. Pay special attention to the ...

11 months ago | 0

| accepted

Answered
Modelling a layer of water crossed by a water circulation.
For the thermal liquid and almost all other fluids domains, you'll see a "port_convection" connection in the component block. C...

11 months ago | 0

Answered
variation of liquid and gas over time and the pressure variation inside a tank
The two absoluate reference block I believe will enforce the temperature and pressure to be 0K and 0Pa, respectively. Use Cap i...

11 months ago | 0

| accepted

Answered
Increase power compressor 2 phases simscape
Scale up the mass flow lookup table inside the compressor map block. You will then get more flow for the same RPM and pressure ...

12 months ago | 0

Answered
Can T-Junction (IL) be used to merge 2 pipe flows?
Yes, sure, although it's not necessary if you just want to merge two flows. You may just connect both B ports to the next compo...

12 months ago | 0

| accepted

Load more