Skip to content

Commit

Permalink
Added validation for #1938
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed May 2, 2022
1 parent a505143 commit 237245f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
simulateModel("Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.ThermalZone.NegativeStartTime", startTime=-86400, stopTime=86400, tolerance=1e-06, resultFile="NegativeStartTime");
simulateModel("Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.RunPeriod.NegativeStartTime", startTime=-86400, stopTime=86400, method="Cvode", tolerance=1e-06, resultFile="NegativeStartTime");
createPlot(id=1, position={255, 85, 842, 707}, y={"zon.TAir", "building.weaBus.TDryBul"}, range={-25.0, 25.0, -80.0, 40.0}, grid=true, subPlot=101, colors={{28,108,200}, {238,46,47}}, timeUnit="h", displayUnits={"degC", "degC"});
createPlot(id=1, position={255, 85, 842, 707}, y={"sitDirSol.y", "building.weaBus.HDirNor"}, range={-25.0, 25.0, -0.2, 1.2000000000000002}, grid=true, subPlot=102, colors={{28,108,200}, {238,46,47}}, timeUnit="h", displayUnits={"W/m2", "W/m2"});
createPlot(id=1, position={255, 85, 842, 707}, y={"sitDirSol.y", "building.weaBus.HDirNor"}, range={-25.0, 25.0, -0.2, 1.2}, grid=true, subPlot=102, colors={{28,108,200}, {238,46,47}}, timeUnit="h", displayUnits={"W/m2", "W/m2"});
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
within Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.ThermalZone;
within Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.RunPeriod;
model NegativeStartTime "Validation model for negative start time"
extends Examples.SingleFamilyHouse.Unconditioned;
Buildings.ThermalZones.EnergyPlus_9_6_0.OutputVariable sitDirSol(
Expand All @@ -9,7 +9,7 @@ model NegativeStartTime "Validation model for negative start time"
annotation (Placement(transformation(extent={{60,-60},{80,-40}})));
annotation (
__Dymola_Commands(
file="modelica://Buildings/Resources/Scripts/Dymola/ThermalZones/EnergyPlus_9_6_0/Validation/ThermalZone/NegativeStartTime.mos" "Simulate and plot"),
file="modelica://Buildings/Resources/Scripts/Dymola/ThermalZones/EnergyPlus_9_6_0/Validation/RunPeriod/NegativeStartTime.mos" "Simulate and plot"),
experiment(
StartTime=-86400,
StopTime=86400,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
within Buildings.ThermalZones.EnergyPlus_9_6_0.Validation;
package RunPeriod "Collection of validation models for EnergyPlus run period"
extends Modelica.Icons.Package;
annotation (preferredView="info", Documentation(info="<html>
<p>
Package with validation models for the run period.
</p>
</html>"));
end RunPeriod;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NegativeStartTime
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ OneZoneOneYear
RefBldgSmallOffice
TwoIdenticalZones
ZoneTemperatureInitialization
NegativeStartTime
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
MultipleBuildings
OutputVariable
RunPeriod
Schedule
SurfaceComparison
ThermalZone
Expand Down

0 comments on commit 237245f

Please sign in to comment.