Skip to content

Commit

Permalink
Replaced ModelicaServices
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Jan 4, 2024
1 parent 3ef3df2 commit 8dff789
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion IBPSA/Electrical/DC/Sources/Examples/PVSingleDiode.mo
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ model PVSingleDiode "Example for the single-diode PV model"
extends Modelica.Icons.Example;
extends
IBPSA.Electrical.DC.Sources.Validation.BaseClasses.partialPVValidation(
weaDat(filNam=ModelicaServices.ExternalReferences.loadResource(
weaDat(filNam=Modelica.Utilities.Files.loadResource(
"modelica://IBPSA/Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos")));
Modelica.Electrical.Analog.Basic.Ground ground
annotation (Placement(transformation(extent={{-56,-20},{-36,0}})));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ model PVSingleDiodeRooftopBuildingValidation
extends
IBPSA.Electrical.DC.Sources.Validation.BaseClasses.partialPVValidation(
HGloTil(H(start=100)), weaDat(filNam=
ModelicaServices.ExternalReferences.loadResource(
Modelica.Utilities.Files.loadResource(
"modelica://IBPSA/Resources/Data/Electrical/DC/Sources/Validation/Weather_Berlin_rooftop.mos")));
extends Modelica.Icons.Example;

Expand Down Expand Up @@ -42,7 +42,7 @@ model PVSingleDiodeRooftopBuildingValidation
Modelica.Blocks.Sources.CombiTimeTable MeaDatPVPDC(
tableOnFile=true,
tableName="meaPV",
fileName=ModelicaServices.ExternalReferences.loadResource("modelica://IBPSA/Resources/Data/Electrical/DC/Sources/Validation/Measurement_data_rooftop_PV_validation.txt"),
fileName=Modelica.Utilities.Files.loadResource("modelica://IBPSA/Resources/Data/Electrical/DC/Sources/Validation/Measurement_data_rooftop_PV_validation.txt"),
columns={2,3},
smoothness=Modelica.Blocks.Types.Smoothness.ContinuousDerivative,
shiftTime=nDay - 1800)
Expand Down

0 comments on commit 8dff789

Please sign in to comment.