Controlled Pressure Source Implementation in Simscape
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I would like to add a controlled pressure source in the simulation attached below, I am new to simscape but unfortunately cannot find documentation for the two phase fluid components I actually need, the sections are labelled in the simulation file. I have completed the controlled mass and temperature but unable to implement the pressure. Any ideas are appreciated.
0 Kommentare
Antworten (1)
Vasco Lenzi
am 24 Aug. 2020
There is a controlled source pressure for 2p since 2015b:
are you having problem using this block?
Cheers
Vasco
3 Kommentare
Vasco Lenzi
am 24 Aug. 2020
You are trying to have both controlled pressure and controlled mass flow on the same input line? That is goign to generate some problems. In fact the Controlled Mass Flow rate will ignore the pressure differential over it and just ensure that the mass flow is applied. So the Controlled Pressure block before it doesn't do anything.
If you need a changing pressure in the input line and still want a certain mass flow, you have to use the controlled pressure block but then create a subsystem and regulate mass flow using a variable local restriction, such as in this example of the rankine cycle:
There is a block upper left called throttle alve that regulates mass flow. But you do need to implement a closed loop control to keep a desired mass flow going through it. An example is in the Controller Subsystem in the same Rankine Simscape Example. Under the subsystem you can see a PI controller regulating throttle opening (in this case to regulate total power)
Siehe auch
Kategorien
Mehr zu Upgrading Hydraulic Models to Use Isothermal Liquid Blocks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!