Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
portyanikhin committed Dec 18, 2024
1 parent 9520ee6 commit ec9f308
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions pyfluids/humid_air/humid_air.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,16 +474,12 @@ def mixing(
),
InputHumidAir.humidity(
(
first_specific_mass_flow * first.humidity
+ first_specific_mass_flow * first.humidity * second.humidity
+ second_specific_mass_flow * second.humidity
+ second_specific_mass_flow * first.humidity * second.humidity
first_specific_mass_flow * first.humidity * (1 + second.humidity)
+ second_specific_mass_flow * second.humidity * (1 + first.humidity)
)
/ (
first_specific_mass_flow
+ first_specific_mass_flow * second.humidity
+ second_specific_mass_flow
+ second_specific_mass_flow * first.humidity
first_specific_mass_flow * (1 + second.humidity)
+ second_specific_mass_flow * (1 + first.humidity)
)
),
)
Expand Down

0 comments on commit ec9f308

Please sign in to comment.