From 2393e8d40ad8c5632b61bfa1f39aec8f4a49c6ab Mon Sep 17 00:00:00 2001 From: Dietmar Winkler Date: Tue, 10 Feb 2026 15:02:07 +0100 Subject: [PATCH] Changes initial system frequency to unit speed Updates the `f_0` parameter to represent initial unit speed instead of frequency. This corrects the physical unit, resolving an inconsistency. Fixes the incorrect unit for initial value. --- OpenHPL/Data.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenHPL/Data.mo b/OpenHPL/Data.mo index 6d7d3fb7..416ec54d 100644 --- a/OpenHPL/Data.mo +++ b/OpenHPL/Data.mo @@ -23,7 +23,7 @@ record Data "Provides a data set of most common used settings" annotation (choices(checkBox = true), Dialog(group="Initialization")); parameter SI.VolumeFlowRate Vdot_0 = 0 "Initial volume flow rate through the system" annotation (Dialog(group="Initialization")); - parameter SI.Frequency f_0 = 50 "Initial system frequency" + parameter SI.PerUnit f_0 = 1 "Initial unit speed" annotation (Dialog(group = "Initialization")); final parameter Boolean TempUse = false "If checked, the water temperature is not constant" annotation (choices(checkBox = true), Dialog(group = "Thermal behaviour (not yet implemented)",