Skip to content

Commit

Permalink
Formatted file
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Dec 15, 2023
1 parent 504e87f commit ce3ace2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ model RefrigerantCycle "Refrigerant cycle model of a chiller"
extends
IBPSA.Fluid.HeatPumps.ModularReversible.BaseClasses.PartialModularRefrigerantCycle;
replaceable model RefrigerantCycleChillerCooling =
IBPSA.Fluid.Chillers.ModularReversible.RefrigerantCycle.BaseClasses.NoCooling
(useInChi=true)
IBPSA.Fluid.Chillers.ModularReversible.RefrigerantCycle.BaseClasses.NoCooling(
useInChi=true)
constrainedby
IBPSA.Fluid.Chillers.ModularReversible.RefrigerantCycle.BaseClasses.PartialChillerCycle
"Replaceable model for refrigerant cycle of a chiller in main operation mode"
annotation (choicesAllMatching=true);

replaceable model RefrigerantCycleChillerHeating =
IBPSA.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.NoHeating
(useInHeaPum=true)
IBPSA.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.NoHeating(
useInHeaPum=true)
constrainedby
IBPSA.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.PartialHeatPumpCycle
"Replaceable model for refrigerant cycle of a chiller in reversed operation mode"
Expand Down Expand Up @@ -42,9 +42,10 @@ protected
IBPSA.Utilities.IO.Strings.Constant conStrSou(
final k=refCycChiCoo.datSou)
"Constant String data source";

initial algorithm
assert(
strPasThr.y ==refCycChiCoo.datSou,
strPasThr.y == refCycChiCoo.datSou,
"Data sources for reversible operation are not equal!
Only continue if this is intended",
AssertionLevel.warning);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ model RefrigerantCycle
"Refrigerant cycle model of a heat pump"
extends IBPSA.Fluid.HeatPumps.ModularReversible.BaseClasses.PartialModularRefrigerantCycle;
replaceable model RefrigerantCycleHeatPumpHeating =
IBPSA.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.NoHeating
(useInHeaPum=true)
IBPSA.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.NoHeating(
useInHeaPum=true)
constrainedby
IBPSA.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.PartialHeatPumpCycle
"Replaceable model for refrigerant cycle of a heat pump in main operation mode"
annotation (choicesAllMatching=true);

replaceable model RefrigerantCycleHeatPumpCooling =
IBPSA.Fluid.Chillers.ModularReversible.RefrigerantCycle.BaseClasses.NoCooling
(useInChi=true)
IBPSA.Fluid.Chillers.ModularReversible.RefrigerantCycle.BaseClasses.NoCooling(
useInChi=true)
constrainedby
IBPSA.Fluid.Chillers.ModularReversible.RefrigerantCycle.BaseClasses.PartialChillerCycle
"Replaceable model for refrigerant cycle of a heat pump in reversed operation mode"
Expand Down Expand Up @@ -44,7 +44,7 @@ protected
"Constant String data source";
initial algorithm
assert(
strPasThr.y ==refCycHeaPumHea.datSou,
strPasThr.y == refCycHeaPumHea.datSou,
"Data sources for reversible operation are not equal!
Only continue if this is intended",
AssertionLevel.warning);
Expand Down

0 comments on commit ce3ace2

Please sign in to comment.