Skip to content

Commit

Permalink
feat(SNSHLI-63):fix CoolingFromTemperature strategy, resulting flow i…
Browse files Browse the repository at this point in the history
…s now created from dryAiMassFlow()
  • Loading branch information
pjazdzyk committed Feb 26, 2024
1 parent b1d49e6 commit d01cf38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public AirCoolingResult applyCooling() {
HumidityRatio.ofKilogramPerKilogram(xOut)
);

FlowOfHumidAir outletFlow = inletAir.withHumidAir(outletHumidAir);
FlowOfHumidAir outletFlow = FlowOfHumidAir.ofDryAirMassFlow(outletHumidAir, inletAir.getFlowOfDryAir().getMassFlow());

return new AirCoolingResult(outletFlow, Power.ofKiloWatts(qCool), condensateFlow, bf);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,4 @@ void shouldCreateTheSameAirInstance_whenUsingDifferentConstructors() {

}


}

0 comments on commit d01cf38

Please sign in to comment.