Skip to content

Commit

Permalink
chore: warn user about full recirculation of fluids in a compressor s…
Browse files Browse the repository at this point in the history
…tage in a multiple streams and pressures compressor train
  • Loading branch information
olelod committed Sep 21, 2023
1 parent 58693de commit b06b96c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,11 @@ def calculate_compressor_train_given_rate_ps_speed(
stage_number=stage_number
)
if fluid_to_recirculate:
logger.warning(
f"For stage number {stage_number}, there is no fluid entering the stage at at this time step. "
f"The compressor is only recirculating fluid. Standard rates are "
f"{std_rates_std_m3_per_day_per_stream}."
)
inlet_stream = fluid_to_recirculate
else:
raise ValueError(
Expand Down

0 comments on commit b06b96c

Please sign in to comment.