Skip to content

Commit

Permalink
Update src/ecalc_neqsim_wrapper/thermo.py
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Falch Johansen <[email protected]>
  • Loading branch information
kjbrak and TeeeJay authored Feb 28, 2025
1 parent 651d8da commit 97257f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ecalc_neqsim_wrapper/thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def mix_neqsim_streams(
mol_per_hour_1 = mass_rate_stream_1 / stream_1.molar_mass
mol_per_hour_2 = mass_rate_stream_2 / stream_2.molar_mass

component_moles: dict[str, float] = defaultdict(float)
fluid_component_in_moles: dict[str, float] = defaultdict(float)

# Sum molar flow of each component across all streams
for stream, molar_rate in [(stream_1, mol_per_hour_1), (stream_2, mol_per_hour_2)]:
Expand Down

0 comments on commit 97257f3

Please sign in to comment.