フィルターのクリア

How to calculate energy usage from the Refrigeration Cycle model in Simscape?

5 ビュー (過去 30 日間)
Ambareesh Rathi
Ambareesh Rathi 2017 年 3 月 18 日
回答済み: Alisha Schor 2017 年 3 月 21 日
In the Simscape's Refrigeration Cycle model (ssc_refrigeration), I would like to determine/calculate energy usage when a cycle is simulated in Simulink.
Any leads would be appreciated. Thank you!

採用された回答

Alisha Schor
Alisha Schor 2017 年 3 月 21 日
Simscape signal logging is a good place to start. This will give you access to all of the physical variables associated with each component. By probing values of the the various blocks, you can calculate the values of interest.
As a template, you can open the source code for the first embedded link in the model, "Plot performance of system." Here you can see, that compressor power, for example, can be accessed by the command:
simlog_ssc_refrigeration.Compressor.Controlled_Mass_Flow_Rate_Source_2P.power.series.values('W');
and that this is used to calculate and display the instantaneous power of the compressor. You could then integrate this value over the course of the simulation to determine the total energy input to the compressor. Following this same concept, one can also calculate the total heat energies and the expansion energy by probing the appropriate quantity.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConverters (High Power) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by