Network coupler for gas

2 visualizzazioni (ultimi 30 giorni)
Alexander
Alexander il 19 Nov 2024
Commentato: Alexander il 26 Nov 2024
Hello. Does anywhere exist the network coupler for gas? I don’t see it in the simscape library. See the attachment. I need this element to split a gas model on 2 parts to simplify solving on real-time machine. Did anybody come across with this issue? Thanks.

Risposta accettata

Yifeng Tang
Yifeng Tang il 20 Nov 2024
Network coupler for Gas or Moist Air domain doesn't exist as of R2024b.
I see two options:
(1) follow the structure of such component for the TL domain, and write your own coupler for the Gas domain. The key component is the "partialChamber". You may compare it to the regular constant volume chamber and understand the type of change needed to be made for the Gas domain.
(2) ask yourself whether the original model has been optimized numerically and whether splitting it is the only path forward. More details, e.g. an attached model, will help clarify on this.
  3 Commenti
Yifeng Tang
Yifeng Tang il 25 Nov 2024
I took a look at your model. While I don't fully understand the interactions betwen the two symmetrical sides, it seems to me, with all the check valves in place, the two sides are more or less independent of each other. Is that right? For example, the flow from the top side will never enter the bottom side?
If this is indeed the case, I think it's possible to totally separate the two parts as two models. You may need a copy of your "ЗУ4 (5735)", "ЗРУ5 (5751)", "ЗРУ6 (5751)" so they can both flow/leak to outside.
It's nice that the Simulink global solver ode1be is working OK for your model right now. However, I still would like to you check out the documentation page on running real-time simulation with Simscape.
A key part of the workflow is to understand the time-step information when using a variable step solver (e.g. daessc), to infer how the model with behave when using a fixed-step, fixed-iteration/cost solver. A super useful tool is the Solver Profiler:
Alexander
Alexander il 26 Nov 2024
Yes, you are right.
Thank you for the links. I'm studying it soon.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Gas Models in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by