.TransiEnt.Storage.Heat.HotWaterStorage_constProp_L4.Base.getIdxFromHeight

Information

1. Purpose of model

function for returning the closest control volume which is matching the given height

2. Level of detail, physical effects considered, and physical insight

(no remarks)

3. Limits of validity

(no remarks)

4. Interfaces

(no remarks)

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

(no remarks)

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Interface

function getIdxFromHeight
  input Integer N "Number of volumes";
  input SI.Length h "Total height";
  input SI.Length hq "Query height";
  output Integer iq "Index";
end getIdxFromHeight;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos