From d169b5ee0f78818f24adbaf32b44075a44a5c846 Mon Sep 17 00:00:00 2001 From: Michael Wetter Date: Thu, 17 Oct 2024 14:21:24 -0700 Subject: [PATCH 1/3] Merged IBPSA, issue1921_organicRankineCycle --- Buildings/.copiedFiles.txt | 48 ++ .../BaseClasses/FixedEvaporating.mo | 4 +- .../BaseClasses/InterpolateStates.mo | 4 +- .../BaseClasses/Validation/WetFluid.mo | 4 +- .../OrganicRankine/ConstantEvaporation.mo | 504 ++++++++++++++++++ .../Fluid/CHPs/OrganicRankine/Data/Generic.mo | 4 +- .../Data/WorkingFluids/Acetone.mo | 4 +- .../Data/WorkingFluids/Ethanol.mo | 4 +- .../Data/WorkingFluids/Heptane.mo | 4 +- .../Data/WorkingFluids/Pentane.mo | 4 +- .../Data/WorkingFluids/Propane.mo | 4 +- .../OrganicRankine/Data/WorkingFluids/R123.mo | 4 +- .../Data/WorkingFluids/R134a.mo | 4 +- .../Data/WorkingFluids/R245fa.mo | 4 +- .../OrganicRankine/Data/WorkingFluids/R32.mo | 4 +- .../Data/WorkingFluids/Toluene.mo | 4 +- .../OrganicRankine/Examples/ORCHotWater.mo | 16 +- .../Validation/VariableSource.mo | 2 +- .../Fluid/CHPs/OrganicRankine/package.order | 1 + .../Python-Sources/MakeORCFluidRecord.py | 110 ++++ 20 files changed, 700 insertions(+), 37 deletions(-) create mode 100644 Buildings/Fluid/CHPs/OrganicRankine/ConstantEvaporation.mo create mode 100644 Buildings/Resources/Python-Sources/MakeORCFluidRecord.py diff --git a/Buildings/.copiedFiles.txt b/Buildings/.copiedFiles.txt index 7bb00d56c54..efd53538b55 100644 --- a/Buildings/.copiedFiles.txt +++ b/Buildings/.copiedFiles.txt @@ -850,6 +850,40 @@ Buildings/Fluid/BaseClasses/Validation/package.mo Buildings/Fluid/BaseClasses/Validation/package.order Buildings/Fluid/BaseClasses/package.mo Buildings/Fluid/BaseClasses/package.order +Buildings/Fluid/CHPs/OrganicRankine/BaseClasses/FixedEvaporating.mo +Buildings/Fluid/CHPs/OrganicRankine/BaseClasses/InterpolateStates.mo +Buildings/Fluid/CHPs/OrganicRankine/BaseClasses/Validation/DryFluid.mo +Buildings/Fluid/CHPs/OrganicRankine/BaseClasses/Validation/WetFluid.mo +Buildings/Fluid/CHPs/OrganicRankine/BaseClasses/Validation/package.mo +Buildings/Fluid/CHPs/OrganicRankine/BaseClasses/Validation/package.order +Buildings/Fluid/CHPs/OrganicRankine/BaseClasses/package.mo +Buildings/Fluid/CHPs/OrganicRankine/BaseClasses/package.order +Buildings/Fluid/CHPs/OrganicRankine/ConstantEvaporation.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/Generic.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/WorkingFluids/Acetone.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/WorkingFluids/Ethanol.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/WorkingFluids/Heptane.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/WorkingFluids/Pentane.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/WorkingFluids/Propane.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/WorkingFluids/R123.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/WorkingFluids/R134a.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/WorkingFluids/R245fa.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/WorkingFluids/R32.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/WorkingFluids/Toluene.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/WorkingFluids/package.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/WorkingFluids/package.order +Buildings/Fluid/CHPs/OrganicRankine/Data/package.mo +Buildings/Fluid/CHPs/OrganicRankine/Data/package.order +Buildings/Fluid/CHPs/OrganicRankine/Examples/ORCHotWater.mo +Buildings/Fluid/CHPs/OrganicRankine/Examples/package.mo +Buildings/Fluid/CHPs/OrganicRankine/Examples/package.order +Buildings/Fluid/CHPs/OrganicRankine/Validation/VariableSource.mo +Buildings/Fluid/CHPs/OrganicRankine/Validation/package.mo +Buildings/Fluid/CHPs/OrganicRankine/Validation/package.order +Buildings/Fluid/CHPs/OrganicRankine/package.mo +Buildings/Fluid/CHPs/OrganicRankine/package.order +Buildings/Fluid/CHPs/package.mo +Buildings/Fluid/CHPs/package.order Buildings/Fluid/Chillers/BaseClasses/Carnot.mo Buildings/Fluid/Chillers/BaseClasses/PartialCarnot_T.mo Buildings/Fluid/Chillers/BaseClasses/PartialCarnot_y.mo @@ -2295,6 +2329,15 @@ Buildings/Resources/Images/Fluid/Actuators/valvePressureDropSeries.png Buildings/Resources/Images/Fluid/Actuators/valveResponse.png Buildings/Resources/Images/Fluid/Actuators/valveResponse.svg Buildings/Resources/Images/Fluid/Actuators/valveSchematic.png +Buildings/Resources/Images/Fluid/CHPs/OrganicRankine/ComputationPaths.pdf +Buildings/Resources/Images/Fluid/CHPs/OrganicRankine/ComputationPaths.png +Buildings/Resources/Images/Fluid/CHPs/OrganicRankine/ComputationPaths.svg +Buildings/Resources/Images/Fluid/CHPs/OrganicRankine/CycleArchitecture.pdf +Buildings/Resources/Images/Fluid/CHPs/OrganicRankine/CycleArchitecture.png +Buildings/Resources/Images/Fluid/CHPs/OrganicRankine/CycleArchitecture.svg +Buildings/Resources/Images/Fluid/CHPs/OrganicRankine/SupportCurves.pdf +Buildings/Resources/Images/Fluid/CHPs/OrganicRankine/SupportCurves.png +Buildings/Resources/Images/Fluid/CHPs/OrganicRankine/SupportCurves.svg Buildings/Resources/Images/Fluid/FMI/ExportContainers/Validation/RoomConvectiveHVACConvective.pdf Buildings/Resources/Images/Fluid/FMI/ExportContainers/Validation/RoomConvectiveHVACConvective.png Buildings/Resources/Images/Fluid/FMI/ExportContainers/Validation/RoomConvectiveHVACConvective.svg @@ -2424,6 +2467,7 @@ Buildings/Resources/Images/Utilities/Math/Functions/Examples/cubicHermite.png Buildings/Resources/Images/Utilities/Math/Functions/SmoothExponentialXPower.png Buildings/Resources/Images/Utilities/Math/int.pdf Buildings/Resources/Images/Utilities/Math/int.png +Buildings/Resources/Python-Sources/MakeORCFluidRecord.py Buildings/Resources/Scripts/Dymola/Airflow/Multizone/BaseClasses/Examples/PowerLaw.mos Buildings/Resources/Scripts/Dymola/Airflow/Multizone/BaseClasses/Examples/PowerLawFixedM.mos Buildings/Resources/Scripts/Dymola/Airflow/Multizone/BaseClasses/Examples/WindPressureLowRise.mos @@ -2645,6 +2689,10 @@ Buildings/Resources/Scripts/Dymola/Fluid/BaseClasses/FlowModels/Validation/Inver Buildings/Resources/Scripts/Dymola/Fluid/BaseClasses/FlowModels/Validation/InvertingBasicFlowFunction_m_flow.mos Buildings/Resources/Scripts/Dymola/Fluid/BaseClasses/Validation/ActuatorFilter.mos Buildings/Resources/Scripts/Dymola/Fluid/BaseClasses/Validation/MassFlowRateMultiplier.mos +Buildings/Resources/Scripts/Dymola/Fluid/CHPs/OrganicRankine/BaseClasses/Validation/DryFluid.mos +Buildings/Resources/Scripts/Dymola/Fluid/CHPs/OrganicRankine/BaseClasses/Validation/WetFluid.mos +Buildings/Resources/Scripts/Dymola/Fluid/CHPs/OrganicRankine/Examples/ORCHotWater.mos +Buildings/Resources/Scripts/Dymola/Fluid/CHPs/OrganicRankine/Validation/VariableSource.mos Buildings/Resources/Scripts/Dymola/Fluid/Chillers/Examples/Carnot_TEva.mos Buildings/Resources/Scripts/Dymola/Fluid/Chillers/Examples/Carnot_y.mos Buildings/Resources/Scripts/Dymola/Fluid/Chillers/ModularReversible/Examples/CarnotWithLosses.mos diff --git a/Buildings/Fluid/CHPs/OrganicRankine/BaseClasses/FixedEvaporating.mo b/Buildings/Fluid/CHPs/OrganicRankine/BaseClasses/FixedEvaporating.mo index da4709af2e9..4452b1cdb32 100644 --- a/Buildings/Fluid/CHPs/OrganicRankine/BaseClasses/FixedEvaporating.mo +++ b/Buildings/Fluid/CHPs/OrganicRankine/BaseClasses/FixedEvaporating.mo @@ -190,8 +190,8 @@ This model computes the pinch points and the energy exchange, and interfaces with the input and output variables. The evaporating temperature is fixed as a parameter. See the documentation of - -Buildings.Fluid.CHPs.OrganicRankine.Cycle + +Buildings.Fluid.CHPs.OrganicRankine.ConstantEvaporation for more details. ", revisions="