Skip to content

Commit

Permalink
Fix new flagged typos after June 2024 Update (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpaul4 authored Jul 11, 2024
1 parent 23ee995 commit 8f0fffa
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion idaes_examples/archive/power_gen/sofc/sofc.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ def scale_flowsheet(m):

# some specific variable scaling

# heat exchanger areas and overall heat transfer coefficiencts
# heat exchanger areas and overall heat transfer coefficients
iscale.set_scaling_factor(m.fs.anode_hx.area, 1e-4)
iscale.set_scaling_factor(m.fs.anode_hx.overall_heat_transfer_coefficient, 1e2)
iscale.set_scaling_factor(m.fs.cathode_hx.area, 1e-4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ def scale_flowsheet(m):
pp.set_default_scaling("mole_frac_phase_comp", 1e2)
pp.set_default_scaling("enth_mol_phase", 1e-3)

# heat exchanger areas and overall heat transfer coefficiencts
# heat exchanger areas and overall heat transfer coefficients
iscale.set_scaling_factor(m.fs.boiler.area, 1e-3)
iscale.set_scaling_factor(m.fs.boiler.overall_heat_transfer_coefficient, 1e-2)
iscale.set_scaling_factor(m.fs.feed_hx.area, 1e-3)
Expand Down
4 changes: 2 additions & 2 deletions idaes_examples/mod/power_gen/NGFC_flowsheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ def scale_flowsheet(m):
if hasattr(m.fs, "reformer"):
iscale.set_scaling_factor(m.fs.reformer.lagrange_mult, 1e-4)

# heat exchanger areas and overall heat transfer coefficiencts
# heat exchanger areas and overall heat transfer coefficients
iscale.set_scaling_factor(m.fs.reformer_recuperator.area, 1e-3)
iscale.set_scaling_factor(m.fs.reformer_recuperator.overall_heat_transfer_coefficient, 1e-1)

Expand All @@ -830,7 +830,7 @@ def scale_flowsheet(m):
iscale.set_scaling_factor(m.fs.anode.lagrange_mult, 1e-4)
iscale.set_scaling_factor(m.fs.prereformer.lagrange_mult, 1e-4)

# heat exchanger areas and overall heat transfer coefficiencts
# heat exchanger areas and overall heat transfer coefficients
iscale.set_scaling_factor(m.fs.anode_hx.area, 1e-4)
iscale.set_scaling_factor(m.fs.anode_hx.overall_heat_transfer_coefficient, 1e-1)
iscale.set_scaling_factor(m.fs.cathode_hx.area, 1e-4)
Expand Down
6 changes: 3 additions & 3 deletions idaes_examples/mod/power_gen/gas_turbine.py
Original file line number Diff line number Diff line change
Expand Up @@ -858,11 +858,11 @@ def initialize(
"""Initialize the gas turbine flowsheet
Args:
outlvl: Logging level for initializtion
solver (str): solver to user for initializtion
outlvl: Logging level for initialization
solver (str): solver to user for initialization
optarg (dict): solver options
load_from (str): if file exists and is not None, load initialization
save_to (str): save initializtion
save_to (str): save initialization
Returns:
None
Expand Down
6 changes: 3 additions & 3 deletions idaes_examples/mod/power_gen/hrsg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1064,11 +1064,11 @@ def initialize(
"""Initialize the HRSG flowsheet
Args:
outlvl: Logging level for initializtion
solver (str): solver to user for initializtion
outlvl: Logging level for initialization
solver (str): solver to user for initialization
optarg (dict): solver options
load_from (str): if file exists and is not None, load initialization
save_to (str): save initializtion
save_to (str): save initialization
Returns:
None
Expand Down
8 changes: 4 additions & 4 deletions idaes_examples/mod/power_gen/steam_turbine.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,11 +340,11 @@ def initialize(
"""Initialize the steam turbine flowsheet
Args:
outlvl: Logging level for initializtion
solver (str): solver to user for initializtion
outlvl: Logging level for initialization
solver (str): solver to user for initialization
optarg (dict): solver options
load_from (str): if file exists and is not None, load initialization
save_to (str): save initializtion
save_to (str): save initialization
Returns:
None
Expand All @@ -364,7 +364,7 @@ def initialize(
)
return

# This initializtion will use the inlet stage pressure ratios to
# This initialization will use the inlet stage pressure ratios to
# calculate flow coefficients for the inlet stages and the steam flow to
# calculate the flow coefficient for the outlet stage.
# fix the IP and LP inlets since they are disconnected
Expand Down

0 comments on commit 8f0fffa

Please sign in to comment.