How to set time domain Simscape model to hours instead of seconds?

조회 수: 2 (최근 30일)
DB
DB 2023년 5월 15일
답변: DB 2023년 5월 16일
For my hydraulic isothermic model I model a centrifugal pump installation. Normally, flows and pump capacity characteristics are in m^3/h. However, in the centrifugal pump (IL) block I need to set capacity vector in m^3/s, and it does not recognize me changing it to m^3/h. This makes it more difficult than necessary, as I now need to change all other flow units to m^3/s. I cannot just act like seconds are hours, as I will then get problems with units as rpm (minute).
How do I change the flow to m^3/h?

채택된 답변

DB
DB 2023년 5월 16일
It seems the notation for hours is hr, not h. Therefore, I can change the flowrate from m^3/s to m^3/hr and it works.

추가 답변 (1개)

Nikhil Muthakana
Nikhil Muthakana 2023년 5월 15일
Convert your m^3/h parameters to m^3/s by dividing the m^3/h value by 3600 (since 1 m^3/s = 3600 m^3/h)
  댓글 수: 3
Nikhil Muthakana
Nikhil Muthakana 2023년 5월 15일
The blocks do not have the option of m^3/h (even in the Flow Rate Sensor block), so after converting the simscape physical signals to simulink data signals, use a gain block on the signal with 3600 as the value to convert the m^3/s to m^3/h when you log the flow rate signals. You can name the signals appropriately to keep track of the units.
DB
DB 2023년 5월 16일
It seems the notation for hours is hr, not h. Therefore, I can change the flowrate from m^3/s to m^3/hr and it works.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Upgrading Hydraulic Models to Use Isothermal Liquid Blocks에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by