Skip to content

Commit e0bb0e4

Browse files
authored
Merge pull request #218 from omahs/master
Fix typos
2 parents 8a46641 + 850d74e commit e0bb0e4

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

biosteam/_heat_utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class UtilityAgent(Stream):
6262
the maximum temperature. If utility agent cools down, `T_limit` is
6363
the minimum temperature.
6464
heat_transfer_price :
65-
Price of transferred heat [USD/kJ]. Defautls to 1.
65+
Price of transferred heat [USD/kJ]. Defaults to 1.
6666
regeneration_price :
6767
Price of regenerating the fluid for reuse [USD/kmol]. Defaults to 0.
6868
heat_transfer_efficiency :

biosteam/_system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ def register_method(cls, name, solver, conditional=False, **kwargs):
908908
909909
* If conditional is True, the signature must be solver(f, x, **kwargs)
910910
where f(x) = (x, converged) is the solution and the solver stops
911-
when converged is True. This method is prefered in BioSTEAM.
911+
when converged is True. This method is preferred in BioSTEAM.
912912
913913
"""
914914
name = name.lower().replace('-', '').replace('_', '').replace(' ', '')

biosteam/_tea.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ def working_capital(self) -> float:
701701

702702
@property
703703
def annual_depreciation(self) -> float:
704-
"""Depreciation [USD/yr] equivalent to TDC dived by the the duration of the venture."""
704+
"""Depreciation [USD/yr] equivalent to TDC divided by the duration of the venture."""
705705
return self.TDC/(self.duration[1]-self.duration[0])
706706

707707
@property

biosteam/facilities/_air_distribution_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
__all__ = ('AirDistributionPackage',)
1414

15-
@cost('Flow rate', 'Plant air reciever',
15+
@cost('Flow rate', 'Plant air receiver',
1616
cost=16e3, CE=522, S=83333, n=0.6, BM=3.1)
1717
@cost('Flow rate', 'Instrument air dryer',
1818
cost=15e3, CE=522, S=83333, n=0.6, BM=1.8)

biosteam/units/adsorption.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class SingleComponentAdsorptionColumn(PressureVessel, bst.Unit):
172172
* [1] Purge
173173
* [2] Spent adsorbent (if no regeneration fluid is used)
174174
k : float, optional
175-
Mass transfer coefficient [1/h]. If not given, mass tranfer model is
175+
Mass transfer coefficient [1/h]. If not given, mass transfer model is
176176
ignored.
177177
superficial_velocity : float, optional
178178
Superficial velocity of the feed. The diameter of the receiving vessel adjusts
@@ -340,7 +340,7 @@ class SingleComponentAdsorptionColumn(PressureVessel, bst.Unit):
340340

341341
def _init(self,
342342
cycle_time,
343-
# If not given, mass tranfer model is ignored
343+
# If not given, mass transfer model is ignored
344344
k=None, # Mass transfer coefficient [1/h]
345345
# Langmuir:
346346
# - KL: Equilibrium constant [L/mg] for Langmuir isotherm

biosteam/units/design_tools/batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def size_batch(F_vol, tau_reaction, tau_cleaning, N_reactors, V_wf) -> dict:
6464
6565
\tau_{loading} = \frac{V_{i,working}}{F_{vol}}
6666
67-
Note that the the actual volume of a reactor is:
67+
Note that the actual volume of a reactor is:
6868
6969
.. math::
7070

biosteam/units/design_tools/vacuum.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def compute_vacuum_system_power_and_cost(
9898
factor = 1
9999
F_mass_kgph = (F_mass + 0.4536*F_mass_air)*factor # kg/hr
100100
F_mass_lbph = 2.205 * F_mass_kgph
101-
vacuum_systems = get_prefered_vacuum_systems(vacuum_system_preference)
101+
vacuum_systems = get_preferred_vacuum_systems(vacuum_system_preference)
102102
name, grade, N = select_vacuum_system(vacuum_systems, F_vol_cfm, P_suction, bool(vacuum_system_preference))
103103
base_cost = calculate_vacuum_cost(name, grade, F_mass_lbph, F_vol_cfm, P_suction)
104104
cost = bst.CE / 567. * base_cost
@@ -130,7 +130,7 @@ def compute_vacuum_system_power_and_cost(
130130

131131
# %% Supporting functions
132132

133-
def get_prefered_vacuum_systems(preference):
133+
def get_preferred_vacuum_systems(preference):
134134
defaults = _default_vacuum_systems
135135
if preference is None:
136136
return defaults

biosteam/units/fluidized_catalytic_cracking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def _init(
8282
if product_loss is None:
8383
product_loss = 0.5e-2
8484
if riser_product_residence_time is None:
85-
riser_product_residence_time = 2.1 / 3600 # hr; 1.8 to 2.4 seconds prefered with VGO
85+
riser_product_residence_time = 2.1 / 3600 # hr; 1.8 to 2.4 seconds preferred with VGO
8686
# if riser_entrance_superficial_velocity is None:
8787
# riser_entrance_superficial_velocity = 21945.6 # m / h; minimally 15 to 20 ft / s
8888
if riser_length_to_diameter is None:

biosteam/units/heat_exchange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def _design(self):
181181
ci, hi, co, ho)
182182

183183
# TODO: Complete design of heat exchanger to find L
184-
# For now assume lenght is 20 ft
184+
# For now assume length is 20 ft
185185
L = 20
186186

187187
# Design pressure

docs/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ Documentation for the BioSTEAM ecosystem
77
:alt: Documentation
88

99
This module contains all files for building the documentation on ReadTheDocs,
10-
including the the API and tutorials for BioSTEAM, thermosteam, and the Bio-Industrial Park.
10+
including the API and tutorials for BioSTEAM, thermosteam, and the Bio-Industrial Park.
1111

0 commit comments

Comments
 (0)