From 1e38648698208228625ea4ad0ab79f92a9f6a143 Mon Sep 17 00:00:00 2001 From: Michael Wetter Date: Thu, 4 Jan 2024 13:46:22 -0800 Subject: [PATCH] Replaced ModelicaServices The proper way to load files is with Modelica.Utilities.Files.loadResource --- IBPSA/Examples/Tutorial/SimpleHouse/SimpleHouse0.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IBPSA/Examples/Tutorial/SimpleHouse/SimpleHouse0.mo b/IBPSA/Examples/Tutorial/SimpleHouse/SimpleHouse0.mo index 28c3662126..52a889fa56 100644 --- a/IBPSA/Examples/Tutorial/SimpleHouse/SimpleHouse0.mo +++ b/IBPSA/Examples/Tutorial/SimpleHouse/SimpleHouse0.mo @@ -10,7 +10,7 @@ model SimpleHouse0 parameter Modelica.Units.SI.Density rhoWall = 2000 "Wall density"; parameter Modelica.Units.SI.SpecificHeatCapacity cpWall = 1000 "Wall specific heat capacity"; IBPSA.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= - ModelicaServices.ExternalReferences.loadResource( + Modelica.Utilities.Files.loadResource( "modelica://IBPSA/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) "Weather data reader" annotation (Placement(transformation(extent={{-180,-10},{-160,10}})));