Skip to content

Commit

Permalink
Fix issue #6, #24, #28, #27, and #25
Browse files Browse the repository at this point in the history
Co-authored-by: Larissa Kühn <[email protected]>
Co-authored-by: fabian.wuellhorst <[email protected]>
Co-authored-by: David Jansen <[email protected]>
  • Loading branch information
4 people authored Nov 9, 2022
1 parent c3c8b15 commit c264147
Show file tree
Hide file tree
Showing 219 changed files with 3,462 additions and 3,094 deletions.
8 changes: 0 additions & 8 deletions BESMod/Examples/BAUSimStudy/PartialCase.mo
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ partial model PartialCase
redeclare BESMod.Systems.Hydraulical.HydraulicSystem hydraulic(
redeclare Systems.Hydraulical.Generation.HeatPumpAndHeatingRod generation(
redeclare BESMod.Systems.RecordsCollection.Movers.DefaultMover pumpData,

redeclare package Medium_eva = AixLib.Media.Air,
use_pressure=true,
redeclare
BESMod.Systems.Hydraulical.Generation.RecordsCollection.DefaultHP
heatPumpParameters(
genDesTyp=BESMod.Systems.Hydraulical.Generation.Types.GenerationDesign.BivalentPartParallel,

TBiv=TBiv,
scalingFactor=hydraulic.generation.heatPumpParameters.QPri_flow_nominal
/5000,
Expand All @@ -31,7 +28,6 @@ partial model PartialCase
redeclare model PerDataMainHP =
AixLib.DataBase.HeatPump.PerformanceData.VCLibMap (
QCon_flow_nominal=hydraulic.generation.heatPumpParameters.QPri_flow_nominal,

refrigerant="Propane",
flowsheet="VIPhaseSeparatorFlowsheet")),
redeclare Systems.Hydraulical.Control.ConstHys_PI_ConOut_HPSController
Expand All @@ -56,8 +52,6 @@ partial model PartialCase
distribution(
QHRAftBuf_flow_nominal=0,
use_heatingRodAfterBuffer=false,
discretizationStepsDWHStoHR=0,
discretizationStepsBufStoHR=0,
redeclare
BESMod.Systems.RecordsCollection.TemperatureSensors.DefaultSensor
temperatureSensorData,
Expand Down Expand Up @@ -89,10 +83,8 @@ partial model PartialCase
BESMod.Systems.Hydraulical.Transfer.RecordsCollection.SteelRadiatorStandardPressureLossData
transferDataBaseDefinition,
redeclare BESMod.Systems.RecordsCollection.Movers.DefaultMover pumpData)),

redeclare Systems.Demand.DHW.DHW DHW(
redeclare BESMod.Systems.Demand.DHW.RecordsCollection.ProfileM DHWProfile,

redeclare BESMod.Systems.RecordsCollection.Movers.DefaultMover pumpData,
redeclare BESMod.Systems.Demand.DHW.TappingProfiles.calcmFlowEquStatic
calcmFlow),
Expand Down
2 changes: 1 addition & 1 deletion BESMod/Examples/BAUSimStudy/package.order
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Case1Standard
PartialCase
BESParameters
Buildings
Case1Standard
3 changes: 1 addition & 2 deletions BESMod/Examples/GasBoilerBuildingOnly.mo
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ model GasBoilerBuildingOnly
redeclare BESMod.Systems.Demand.DHW.RecordsCollection.ProfileM DHWProfile,
redeclare BESMod.Systems.Demand.DHW.TappingProfiles.PassThrough calcmFlow),
redeclare BESMod.Systems.UserProfiles.TEASERProfiles userProfiles,
redeclare
BESMod.Examples.MyOwnHeatingRodEfficiencyStudy.SimpleStudyOfHeatingRodEfficiency
redeclare BESMod.Systems.RecordsCollection.ParameterStudy.NoStudy
parameterStudy,
redeclare BESMod.Systems.RecordsCollection.ExampleSystemParameters
systemParameters(
Expand Down
73 changes: 0 additions & 73 deletions BESMod/Examples/MyOwnHeatingRodEfficiencyStudy/BES.mo

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions BESMod/Examples/MyOwnHeatingRodEfficiencyStudy/package.mo

This file was deleted.

2 changes: 0 additions & 2 deletions BESMod/Examples/MyOwnHeatingRodEfficiencyStudy/package.order

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
within BESMod.Examples.SolarThermalSystem;
model SolarThermalHPSBuildingsLib
partial model PartialSolarThermalHPS
"HPS which is supported by a solar thermal collector"
extends BESMod.Systems.BaseClasses.PartialBuildingEnergySystem(
redeclare BESMod.Systems.Electrical.DirectGridConnectionSystem electrical,
Expand All @@ -8,30 +8,7 @@ model SolarThermalHPSBuildingsLib
heaLoadFacGrd=0, heaLoadFacOut=0)),
redeclare BESMod.Systems.Control.NoControl control,
redeclare BESMod.Systems.Hydraulical.HydraulicSystem hydraulic(
redeclare BESMod.Systems.Hydraulical.Generation.SolarThermalBivHPBuiLib
generation(
use_pressure=true,
redeclare model PerDataMainHP =
AixLib.DataBase.HeatPump.PerformanceData.VCLibMap (refrigerant=
"Propane", flowsheet="VIPhaseSeparatorFlowsheet"),
redeclare
BESMod.Systems.Hydraulical.Generation.RecordsCollection.DefaultHP
heatPumpParameters(genDesTyp=BESMod.Systems.Hydraulical.Generation.Types.GenerationDesign.BivalentParallel),

redeclare
BESMod.Systems.Hydraulical.Generation.RecordsCollection.DefaultHR
heatingRodParameters,
redeclare BESMod.Systems.RecordsCollection.Movers.DefaultMover pumpData,

redeclare package Medium_eva = AixLib.Media.Air,
redeclare BESMod.Examples.SolarThermalSystem.SolarCollector
solarThermalParas(
final A=parameterStudy.A,
final eta_zero=parameterStudy.eta_zero,
final c1=parameterStudy.c1,
final c2=parameterStudy.c2),
redeclare BESMod.Systems.RecordsCollection.Movers.DefaultMover
pumpSTData),
redeclare hydGeneration generation,
redeclare BESMod.Systems.Hydraulical.Control.Biv_PI_ConFlow_HPSController
control(
redeclare
Expand Down Expand Up @@ -63,13 +40,10 @@ model SolarThermalHPSBuildingsLib
BESMod.Systems.Hydraulical.Transfer.RecordsCollection.SteelRadiatorStandardPressureLossData
transferDataBaseDefinition,
redeclare BESMod.Systems.RecordsCollection.Movers.DefaultMover pumpData)),

redeclare Systems.Demand.DHW.DHW DHW(
redeclare BESMod.Systems.Demand.DHW.RecordsCollection.ProfileM DHWProfile,

redeclare BESMod.Systems.RecordsCollection.Movers.DefaultMover pumpData,
redeclare Systems.Demand.DHW.TappingProfiles.calcmFlowEquStatic calcmFlow),

redeclare SolarThermalSystemParameters systemParameters,
redeclare SolarThermalDesignOptimization parameterStudy(
A=11,
Expand All @@ -80,11 +54,15 @@ model SolarThermalHPSBuildingsLib
redeclare Systems.UserProfiles.TEASERProfiles userProfiles,
redeclare BESMod.Systems.Ventilation.NoVentilation ventilation);

replaceable model hydGeneration =
BESMod.Systems.Hydraulical.Generation.BaseClasses.PartialGeneration(nParallelDem=2)
constrainedby BESMod.Systems.Hydraulical.Generation.BaseClasses.PartialGeneration
annotation (choicesAllMatching=true);
annotation (Icon(graphics,
coordinateSystem(preserveAspectRatio=false)), Diagram(graphics,
coordinateSystem(preserveAspectRatio=false)),
experiment(
StopTime=31536000,
StopTime=864000,
Interval=600,
__Dymola_Algorithm="Dassl"));
end SolarThermalHPSBuildingsLib;
end PartialSolarThermalHPS;
30 changes: 30 additions & 0 deletions BESMod/Examples/SolarThermalSystem/SolarThermalAixLib.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
within BESMod.Examples.SolarThermalSystem;
model SolarThermalAixLib "Solar thermal collector from AixLib"
extends BESMod.Examples.SolarThermalSystem.PartialSolarThermalHPS(redeclare
model hydGeneration =
BESMod.Systems.Hydraulical.Generation.SolarThermalBivHPAixLib (
redeclare model PerDataMainHP =
AixLib.DataBase.HeatPump.PerformanceData.VCLibMap (refrigerant=
"Propane", flowsheet="VIPhaseSeparatorFlowsheet"),
redeclare
BESMod.Systems.Hydraulical.Generation.RecordsCollection.DefaultHP
heatPumpParameters(genDesTyp=BESMod.Systems.Hydraulical.Generation.Types.GenerationDesign.BivalentParallel),

redeclare
BESMod.Systems.Hydraulical.Generation.RecordsCollection.DefaultHR
heatingRodParameters,
redeclare BESMod.Systems.RecordsCollection.Movers.DefaultMover pumpData,

redeclare package Medium_eva = AixLib.Media.Air,
redeclare BESMod.Examples.SolarThermalSystem.SolarCollector
solarThermalParas(
final A=parameterStudy.A,
final eta_zero=parameterStudy.eta_zero,
final c1=parameterStudy.c1,
final c2=parameterStudy.c2),
redeclare BESMod.Systems.RecordsCollection.Movers.DefaultMover
pumpSTData));

extends Modelica.Icons.Example;

end SolarThermalAixLib;
29 changes: 29 additions & 0 deletions BESMod/Examples/SolarThermalSystem/SolarThermalBuildings.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
within BESMod.Examples.SolarThermalSystem;
model SolarThermalBuildings
"HPS which is supported by a solar thermal collector"
extends BESMod.Examples.SolarThermalSystem.PartialSolarThermalHPS(
redeclare model hydGeneration =
BESMod.Systems.Hydraulical.Generation.SolarThermalBivHPBuiLib (
redeclare model PerDataMainHP =
AixLib.DataBase.HeatPump.PerformanceData.VCLibMap (refrigerant="Propane",
flowsheet="VIPhaseSeparatorFlowsheet"),
redeclare
BESMod.Systems.Hydraulical.Generation.RecordsCollection.DefaultHP
heatPumpParameters(genDesTyp=BESMod.Systems.Hydraulical.Generation.Types.GenerationDesign.BivalentParallel),
redeclare
BESMod.Systems.Hydraulical.Generation.RecordsCollection.DefaultHR
heatingRodParameters,
redeclare BESMod.Systems.RecordsCollection.Movers.DefaultMover pumpData,
redeclare package Medium_eva = AixLib.Media.Air,
redeclare BESMod.Examples.SolarThermalSystem.SolarCollector
solarThermalParas(
final A=parameterStudy.A,
final eta_zero=parameterStudy.eta_zero,
final c1=parameterStudy.c1,
final c2=parameterStudy.c2),
redeclare BESMod.Systems.RecordsCollection.Movers.DefaultMover
pumpSTData));

extends Modelica.Icons.Example;

end SolarThermalBuildings;
91 changes: 0 additions & 91 deletions BESMod/Examples/SolarThermalSystem/SolarThermalHPS.mo

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
within BESMod.Examples.SolarThermalSystem;
record SolarThermalSystemParameters
extends BESMod.Examples.UseCaseAachen.AachenSystem;
extends BESMod.Examples.UseCaseDesignOptimization.AachenSystem;

end SolarThermalSystemParameters;
5 changes: 3 additions & 2 deletions BESMod/Examples/SolarThermalSystem/package.order
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
SolarThermalHPS
PartialSolarThermalHPS
SolarThermalAixLib
SolarThermalBuildings
SolarThermalSystemParameters
SolarThermalDesignOptimization
CombiStorage
SolarCollector
SolarThermalHPSBuildingsLib
4 changes: 0 additions & 4 deletions BESMod/Examples/UseCaseAachen/package.mo

This file was deleted.

Loading

0 comments on commit c264147

Please sign in to comment.