From d9fc49f997d10eac4c61706fe783b9047115a967 Mon Sep 17 00:00:00 2001 From: Matthieu Descombes Date: Thu, 12 Feb 2026 18:03:46 +0100 Subject: [PATCH] refactor : chnage method for state density --- Formation/OTRERA_formation/Models/Test_Media.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formation/OTRERA_formation/Models/Test_Media.mo b/Formation/OTRERA_formation/Models/Test_Media.mo index c0a9ea0..4437d82 100644 --- a/Formation/OTRERA_formation/Models/Test_Media.mo +++ b/Formation/OTRERA_formation/Models/Test_Media.mo @@ -8,7 +8,7 @@ model Test_Media parameter Modelica.Units.SI.Pressure p = 155e5 ; //INTERNAL VARIABLES Medium.ThermodynamicState state ; - Modelica.Units.SI.Density d ; + Medium.Density d ; //IMPORTED COMPONENTS