to_m3ph function

Requirements.Units.Conversions.to_m3ph  ยท source

Icon of to_m3ph

Convert from cubic metre per second to cubic metre per hour

Extends Modelica.Units.Icons.Conversion

Convert from cubic metre per second to cubic metre per hour: m3ph := 3600*m3ps. The input m3ps is the value in cubic metre per second (type Modelica.Units.SI.VolumeFlowRate), the output m3ph the value in cubic metre per hour (type NonSI.VolumeFlowRate_m3ph). The inverse is from_m3ph.

The conversion is a multiplication by a constant factor, without offset, so it converts differences and rates alike; it is exact up to floating-point rounding and has no limits on the input. The function is inlined. A check model uses it to give a variable of the model in the unit in which the requirement states it; see Conversions. Examples.Elementary.Units.Conversions asserts it through the round trip to_m3ph(from_m3ph(7)).

Copyright © 2026 Model Based Innovation LLC. All rights reserved.

Inputs

NameTypeDescription
m3ps inputSI.VolumeFlowRateValue in cubic metre per second

Outputs

NameTypeDescription
m3ph outputNonSI.VolumeFlowRate_m3phValue in cubic metre per hour