from_m3ph function
Requirements.Units.Conversions.from_m3ph
ยท source
Convert from cubic metre per hour to cubic metre per second
Extends Modelica.Units.Icons.Conversion
Convert from cubic metre per hour to cubic metre per second: m3ps := (1/3600)*m3ph. The input m3ph is the value in cubic metre per hour (type NonSI.VolumeFlowRate_m3ph), the output m3ps the value in cubic metre per second (type Modelica.Units.SI.VolumeFlowRate). The inverse is to_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 write a value of a requirement in the unit in which the requirement states it, from_m3ph(<value as written>), so that the model reads like the statement; see Conversions. Examples.Elementary.Units.Conversions asserts its factor and the round trip to_m3ph(from_m3ph(7)).
Copyright © 2026 Model Based Innovation LLC. All rights reserved.
Inputs
| Name | Type | Description |
|---|---|---|
m3ph input | NonSI.VolumeFlowRate_m3ph | Value in cubic metre per hour |
Outputs
| Name | Type | Description |
|---|---|---|
m3ps output | SI.VolumeFlowRate | Value in cubic metre per second |