OpenPyTEA 3.2.0__py3-none-any.whl → 3.2.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openpytea/analysis.py +150 -53
- openpytea/data/cost_correlations.csv +31 -27
- openpytea/equipment.py +38 -9
- openpytea/helpers.py +131 -76
- openpytea/plant.py +216 -78
- openpytea/plotting.py +82 -29
- {openpytea-3.2.0.dist-info → openpytea-3.2.2.dist-info}/METADATA +16 -8
- openpytea-3.2.2.dist-info/RECORD +16 -0
- {openpytea-3.2.0.dist-info → openpytea-3.2.2.dist-info}/WHEEL +1 -1
- openpytea-3.2.0.dist-info/RECORD +0 -16
- {openpytea-3.2.0.dist-info → openpytea-3.2.2.dist-info}/entry_points.txt +0 -0
- {openpytea-3.2.0.dist-info → openpytea-3.2.2.dist-info}/licenses/LICENSE +0 -0
- {openpytea-3.2.0.dist-info → openpytea-3.2.2.dist-info}/top_level.txt +0 -0
openpytea/analysis.py
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import warnings
|
|
1
2
|
from copy import deepcopy
|
|
2
3
|
from tqdm.auto import tqdm
|
|
3
4
|
from scipy import stats
|
|
4
5
|
import numpy as np
|
|
5
6
|
|
|
7
|
+
from openpytea.plant import DEFAULT_OPERATOR_HOURLY_RATE
|
|
6
8
|
from openpytea.helpers import (_make_label,
|
|
9
|
+
_legacy_label,
|
|
10
|
+
_tex_escape,
|
|
7
11
|
_get_original_value,
|
|
8
12
|
_update_and_evaluate,
|
|
9
13
|
_default_metric_label,
|
|
@@ -26,7 +30,8 @@ from openpytea.helpers import (_make_label,
|
|
|
26
30
|
# DATA PREPARATION (MAIN API)
|
|
27
31
|
# ======================================================
|
|
28
32
|
|
|
29
|
-
def direct_costs_data(plants, pct=False, expand_composites=False
|
|
33
|
+
def direct_costs_data(plants, pct=False, expand_composites=False,
|
|
34
|
+
by_category=False):
|
|
30
35
|
"""
|
|
31
36
|
Extract and organize direct cost data from one or more plants.
|
|
32
37
|
This function aggregates direct cost information from equipment lists
|
|
@@ -45,6 +50,12 @@ def direct_costs_data(plants, pct=False, expand_composites=False):
|
|
|
45
50
|
into its leaf components (labelled ``"Composite / component"``) using
|
|
46
51
|
:meth:`~openpytea.equipment.CompositeEquipment.direct_cost_breakdown`
|
|
47
52
|
instead of appearing as a single bar segment. Default is False.
|
|
53
|
+
by_category : bool, optional
|
|
54
|
+
If True, sum the direct costs per equipment ``category`` (one bar
|
|
55
|
+
segment per category) instead of listing each equipment by name.
|
|
56
|
+
A composite counts under its own category, or with
|
|
57
|
+
``expand_composites=True`` each of its components under the
|
|
58
|
+
component's category. Default is False.
|
|
48
59
|
Returns
|
|
49
60
|
-------
|
|
50
61
|
dict
|
|
@@ -65,6 +76,7 @@ def direct_costs_data(plants, pct=False, expand_composites=False):
|
|
|
65
76
|
>>> plant1 = Plant(name="Plant A", currency="$")
|
|
66
77
|
>>> data = direct_costs_data(plant1)
|
|
67
78
|
>>> data = direct_costs_data([plant1, plant2], pct=True)
|
|
79
|
+
>>> data = direct_costs_data(plant1, by_category=True)
|
|
68
80
|
"""
|
|
69
81
|
# ponytail: all five *_data functions repeat this wrapper; one _bar_data(plants,
|
|
70
82
|
# per_plant_fn, ylabel, pct)
|
|
@@ -80,10 +92,16 @@ def direct_costs_data(plants, pct=False, expand_composites=False):
|
|
|
80
92
|
components = {}
|
|
81
93
|
for eq in plant.equipment_list:
|
|
82
94
|
if expand_composites and hasattr(eq, "direct_cost_breakdown"):
|
|
83
|
-
|
|
84
|
-
|
|
95
|
+
# leaves() yields the components in direct_cost_breakdown's order
|
|
96
|
+
items = [(label if not by_category else leaf.category, cost)
|
|
97
|
+
for (_, leaf, _), (label, cost) in zip(
|
|
98
|
+
eq.leaves(), eq.direct_cost_breakdown().items())]
|
|
85
99
|
else:
|
|
86
|
-
|
|
100
|
+
items = [(eq.category if by_category else eq.name,
|
|
101
|
+
eq.direct_cost)]
|
|
102
|
+
for key, cost in items:
|
|
103
|
+
prev = components.get(key, 0.0) if by_category else 0.0
|
|
104
|
+
components[key] = prev + float(cost * scale)
|
|
87
105
|
components_list.append(components)
|
|
88
106
|
xlabels.append(plant.name)
|
|
89
107
|
|
|
@@ -199,6 +217,7 @@ def variable_opex_data(plants, pct=False):
|
|
|
199
217
|
|
|
200
218
|
components_list = []
|
|
201
219
|
xlabels = []
|
|
220
|
+
display_labels = {}
|
|
202
221
|
|
|
203
222
|
for plant in plants:
|
|
204
223
|
components = {}
|
|
@@ -212,14 +231,18 @@ def variable_opex_data(plants, pct=False):
|
|
|
212
231
|
else:
|
|
213
232
|
continue
|
|
214
233
|
|
|
215
|
-
|
|
216
|
-
|
|
234
|
+
# TODO(3.3.0): key by the name as typed and drop
|
|
235
|
+
# display_labels (see monte_carlo). 3.2.0 keys until then.
|
|
236
|
+
key = _legacy_label(name)
|
|
237
|
+
components[key] = float(val)
|
|
238
|
+
display_labels[key] = _make_label(name)
|
|
217
239
|
|
|
218
240
|
components_list.append(components)
|
|
219
241
|
xlabels.append(plant.name)
|
|
220
242
|
|
|
221
243
|
return _build_bar_data(components_list, xlabels,
|
|
222
|
-
"Annual variable OPEX", currency, pct
|
|
244
|
+
"Annual variable OPEX", currency, pct,
|
|
245
|
+
display_labels=display_labels)
|
|
223
246
|
|
|
224
247
|
|
|
225
248
|
def fixed_opex_data(plants, pct=False):
|
|
@@ -487,6 +510,20 @@ def _sensitivity_param_keys(plant, metric):
|
|
|
487
510
|
return price_keys, quantity_keys
|
|
488
511
|
|
|
489
512
|
|
|
513
|
+
def _sensitivity_x_value(plant, parameter, value):
|
|
514
|
+
"""
|
|
515
|
+
A sensitivity point's parameter value in its own units: the resulting
|
|
516
|
+
fixed capital / fixed OPEX for the fc / fp multipliers (computed, so
|
|
517
|
+
fixed_capital_components overrides are honoured), the value as set
|
|
518
|
+
for everything else.
|
|
519
|
+
"""
|
|
520
|
+
if parameter == "fixed_capital":
|
|
521
|
+
return float(deepcopy(plant).calculate_fixed_capital(fc=value))
|
|
522
|
+
if parameter == "fixed_opex":
|
|
523
|
+
return float(deepcopy(plant).calculate_fixed_opex(fp=value))
|
|
524
|
+
return float(value)
|
|
525
|
+
|
|
526
|
+
|
|
490
527
|
def sensitivity_data(plants,
|
|
491
528
|
parameter,
|
|
492
529
|
plus_minus_value,
|
|
@@ -547,12 +584,20 @@ def sensitivity_data(plants,
|
|
|
547
584
|
Plant name or identifier
|
|
548
585
|
- "x" : ndarray
|
|
549
586
|
Percentage changes along the variation range
|
|
587
|
+
- "x_value" : ndarray or None
|
|
588
|
+
The parameter's value at each point, in its own units
|
|
589
|
+
(for "fixed_capital" / "fixed_opex": the resulting fixed
|
|
590
|
+
capital / annual fixed OPEX); None if the plant lacks the
|
|
591
|
+
parameter
|
|
550
592
|
- "y" : ndarray or list
|
|
551
593
|
Metric values corresponding to each point
|
|
552
594
|
- "baseline" : float
|
|
553
595
|
Metric value at the baseline (0% variation)
|
|
554
596
|
- "xlabel" : str
|
|
555
597
|
Label for the x-axis (parameter name with % unit)
|
|
598
|
+
- "xlabel_value" : str
|
|
599
|
+
Label for the x-axis in the parameter's own units, used by
|
|
600
|
+
``plot_sensitivity(..., x_axis="value")``
|
|
556
601
|
- "ylabel" : str
|
|
557
602
|
Label for the y-axis (metric name and unit)
|
|
558
603
|
- "parameter" : str
|
|
@@ -673,17 +718,37 @@ def sensitivity_data(plants,
|
|
|
673
718
|
|
|
674
719
|
# --- X label ---
|
|
675
720
|
label_clean = _make_label(parameter.split(".")[-1])
|
|
721
|
+
pm_unit = rf" / [$\pm$ {_tex_escape('%')}]"
|
|
676
722
|
if parameter in top_level_keys:
|
|
677
|
-
x_label = label_clean +
|
|
723
|
+
x_label = label_clean + pm_unit
|
|
678
724
|
elif parameter in quantity_keys_all:
|
|
679
725
|
# "variable_opex_inputs.steam.consumption" ->
|
|
680
726
|
# "Steam consumption / [+- %]"
|
|
681
727
|
item, field = parameter.split(".")[1:]
|
|
682
728
|
x_label = (
|
|
683
|
-
f"{_make_label(item)} {field}" +
|
|
729
|
+
f"{_make_label(item)} {field}" + pm_unit
|
|
730
|
+
)
|
|
731
|
+
else:
|
|
732
|
+
x_label = label_clean + " price" + pm_unit
|
|
733
|
+
|
|
734
|
+
# --- X label in the parameter's own units (x_axis="value") ---
|
|
735
|
+
currency = plants[0].currency if plants else _tex_escape("$")
|
|
736
|
+
if parameter in top_level_keys:
|
|
737
|
+
value_unit = {
|
|
738
|
+
"fixed_capital": currency,
|
|
739
|
+
"fixed_opex": rf"{currency}$\cdot$yr$^{{-1}}$",
|
|
740
|
+
"project_lifetime": "years",
|
|
741
|
+
"operator_hourly_rate": rf"{currency}$\cdot$h$^{{-1}}$",
|
|
742
|
+
}.get(parameter, "-") # fractions as stored
|
|
743
|
+
x_label_value = f"{label_clean} / [{value_unit}]"
|
|
744
|
+
elif parameter in quantity_keys_all:
|
|
745
|
+
x_label_value = (
|
|
746
|
+
f"{_make_label(item)} {field}" + r" / [unit$\cdot$day$^{-1}$]"
|
|
684
747
|
)
|
|
685
748
|
else:
|
|
686
|
-
|
|
749
|
+
x_label_value = (
|
|
750
|
+
f"{label_clean} price / [{currency}" + r"$\cdot$unit$^{-1}$]"
|
|
751
|
+
)
|
|
687
752
|
|
|
688
753
|
# --- Core computation ---
|
|
689
754
|
results = []
|
|
@@ -704,6 +769,7 @@ def sensitivity_data(plants,
|
|
|
704
769
|
metric_values = np.full_like(
|
|
705
770
|
pct_axis, fill_value=base_value, dtype=float
|
|
706
771
|
)
|
|
772
|
+
x_values = None
|
|
707
773
|
else:
|
|
708
774
|
# fixed_capital/fixed_opex perturb the plant's actual
|
|
709
775
|
# configured multiplier, not an assumed 1.0
|
|
@@ -720,11 +786,16 @@ def sensitivity_data(plants,
|
|
|
720
786
|
)
|
|
721
787
|
for v in param_values
|
|
722
788
|
]
|
|
789
|
+
x_values = np.array([
|
|
790
|
+
_sensitivity_x_value(plant, parameter, v)
|
|
791
|
+
for v in param_values
|
|
792
|
+
])
|
|
723
793
|
|
|
724
794
|
results.append(
|
|
725
795
|
{
|
|
726
796
|
"plant": getattr(plant, "name", f"Plant {i+1}"),
|
|
727
797
|
"x": pct_axis,
|
|
798
|
+
"x_value": x_values,
|
|
728
799
|
"y": metric_values,
|
|
729
800
|
"baseline": base_value,
|
|
730
801
|
}
|
|
@@ -733,6 +804,7 @@ def sensitivity_data(plants,
|
|
|
733
804
|
return {
|
|
734
805
|
"curves": results,
|
|
735
806
|
"xlabel": x_label,
|
|
807
|
+
"xlabel_value": x_label_value,
|
|
736
808
|
"ylabel": label,
|
|
737
809
|
"parameter": parameter,
|
|
738
810
|
"metric": metric,
|
|
@@ -744,7 +816,8 @@ def tornado_data(plant,
|
|
|
744
816
|
metric="LCOP",
|
|
745
817
|
label=None,
|
|
746
818
|
additional_capex: bool = False,
|
|
747
|
-
|
|
819
|
+
category: str | None = None,
|
|
820
|
+
include_process_params: bool | None = None):
|
|
748
821
|
"""
|
|
749
822
|
Generate tornado plot data for sensitivity analysis (no plotting).
|
|
750
823
|
This function performs a sensitivity analysis on a plant model by varying
|
|
@@ -768,19 +841,23 @@ def tornado_data(plant,
|
|
|
768
841
|
additional_capex : bool, optional
|
|
769
842
|
Whether to include additional capital expenditure in calculations.
|
|
770
843
|
Default is False.
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
844
|
+
category : {"economic", "process", "both"}, optional
|
|
845
|
+
Which parameters to rank. ``"economic"`` (default): prices and
|
|
846
|
+
economic scalars (fixed capital/OPEX, project lifetime, interest
|
|
847
|
+
rate, operator hourly rate). ``"process"``: the plant's process
|
|
848
|
+
quantities -- every ``variable_opex_inputs`` item's consumption and
|
|
849
|
+
every ``plant_products`` entry's production. ``"both"``: all of
|
|
850
|
+
them.
|
|
777
851
|
|
|
778
852
|
This is independent of the dependency graph: process quantities are
|
|
779
853
|
ordinary economic drivers (a plant's production rate moves LCOP
|
|
780
854
|
whether or not anything is tied to it), so configuring a dependency
|
|
781
|
-
does not switch them on, and
|
|
782
|
-
|
|
783
|
-
|
|
855
|
+
does not switch them on, and ranking them does not require one. A
|
|
856
|
+
parameter that is *set by* a dependency is excluded in every
|
|
857
|
+
category -- see Notes.
|
|
858
|
+
include_process_params : bool, optional
|
|
859
|
+
Deprecated: use ``category``. ``True`` is ``category="both"``,
|
|
860
|
+
``False`` is ``category="economic"``.
|
|
784
861
|
dict
|
|
785
862
|
Dictionary containing tornado plot data with keys:
|
|
786
863
|
- factors : list[str]
|
|
@@ -814,11 +891,10 @@ def tornado_data(plant,
|
|
|
814
891
|
- A parameter that is itself set by a dependency is never a factor --
|
|
815
892
|
it has no value of its own to vary. This drops it from the top-level
|
|
816
893
|
keys (e.g. ``"fixed_capital"`` when ``fixed_capital_factor`` is a
|
|
817
|
-
dependent) and from
|
|
818
|
-
otherwise add.
|
|
894
|
+
dependent) and from the process quantities.
|
|
819
895
|
|
|
820
896
|
Dependencies do not, however, change *which kinds* of parameter are
|
|
821
|
-
ranked: that is ``
|
|
897
|
+
ranked: that is ``category`` alone. See
|
|
822
898
|
:func:`~openpytea.helpers._collect_sensitivity_keys`.
|
|
823
899
|
Examples
|
|
824
900
|
--------
|
|
@@ -827,13 +903,37 @@ def tornado_data(plant,
|
|
|
827
903
|
>>> lows = tornado_data["lows"]
|
|
828
904
|
>>> highs = tornado_data["highs"]
|
|
829
905
|
"""
|
|
906
|
+
if include_process_params is not None:
|
|
907
|
+
if category is not None:
|
|
908
|
+
raise ValueError(
|
|
909
|
+
"Pass either category or the deprecated "
|
|
910
|
+
"include_process_params, not both."
|
|
911
|
+
)
|
|
912
|
+
warnings.warn(
|
|
913
|
+
"include_process_params is deprecated; use "
|
|
914
|
+
"category='both' (for True) or category='economic' (for False).",
|
|
915
|
+
FutureWarning,
|
|
916
|
+
stacklevel=2,
|
|
917
|
+
)
|
|
918
|
+
category = "both" if include_process_params else "economic"
|
|
919
|
+
if category is None:
|
|
920
|
+
category = "economic"
|
|
921
|
+
if category not in ("economic", "process", "both"):
|
|
922
|
+
raise ValueError(
|
|
923
|
+
f"Invalid category {category!r}; must be 'economic', "
|
|
924
|
+
"'process', or 'both'."
|
|
925
|
+
)
|
|
926
|
+
|
|
830
927
|
metric = metric.upper()
|
|
831
928
|
if label is None:
|
|
832
929
|
label = _default_metric_label(plant.currency, metric)
|
|
833
930
|
|
|
834
|
-
keys = _collect_sensitivity_keys(
|
|
835
|
-
|
|
836
|
-
|
|
931
|
+
keys = _collect_sensitivity_keys(plant, metric, category=category)
|
|
932
|
+
if not keys:
|
|
933
|
+
raise ValueError(
|
|
934
|
+
f"Plant '{plant.name}' has no {category} parameters to rank "
|
|
935
|
+
"(parameters set by a dependency cannot be varied)."
|
|
936
|
+
)
|
|
837
937
|
|
|
838
938
|
base_value = _evaluate_baseline_metric(plant, metric, additional_capex)
|
|
839
939
|
|
|
@@ -1655,7 +1755,7 @@ def monte_carlo(plant,
|
|
|
1655
1755
|
("fixed_opex_factor", _resolve_dist_params(
|
|
1656
1756
|
cfg("fixed_opex_factor"), **factor_window), False),
|
|
1657
1757
|
("operator_hourly_rate", _resolve_item_dist_params(
|
|
1658
|
-
op_cfg, "rate",
|
|
1758
|
+
op_cfg, "rate", DEFAULT_OPERATOR_HOURLY_RATE, 10), False),
|
|
1659
1759
|
("project_lifetime", _window_dist_params(
|
|
1660
1760
|
cfg("project_lifetime"), plant.project_lifetime, 5, floor=5),
|
|
1661
1761
|
False),
|
|
@@ -1767,24 +1867,20 @@ def monte_carlo(plant,
|
|
|
1767
1867
|
)
|
|
1768
1868
|
|
|
1769
1869
|
# ---- Economic calculations ----
|
|
1870
|
+
# The fc/fp calls set the sampled factors; one cash-flow build
|
|
1871
|
+
# then serves every metric below
|
|
1770
1872
|
plant_copy.calculate_fixed_capital(fc=fixed_capitals[start:end])
|
|
1771
|
-
plant_copy.calculate_variable_opex()
|
|
1772
1873
|
plant_copy.calculate_fixed_opex(fp=fixed_opexs[start:end])
|
|
1773
1874
|
plant_copy.calculate_cash_flow()
|
|
1774
|
-
plant_copy.calculate_levelized_cost()
|
|
1775
1875
|
|
|
1776
1876
|
# ---- Store LCOP always ----
|
|
1777
|
-
mc_metrics["LCOP"][start:end] = plant_copy.
|
|
1877
|
+
mc_metrics["LCOP"][start:end] = plant_copy._levelized_cost()
|
|
1778
1878
|
|
|
1779
1879
|
# ---- If revenue available, compute all other metrics ----
|
|
1780
1880
|
if have_product_prices:
|
|
1781
|
-
mc_metrics["NPV"][start:end] = plant_copy.
|
|
1782
|
-
mc_metrics["ROI"][start:end] = plant_copy.
|
|
1783
|
-
|
|
1784
|
-
)
|
|
1785
|
-
mc_metrics["PBT"][start:end] = (
|
|
1786
|
-
plant_copy.calculate_payback_time()
|
|
1787
|
-
)
|
|
1881
|
+
mc_metrics["NPV"][start:end] = plant_copy._npv()
|
|
1882
|
+
mc_metrics["ROI"][start:end] = plant_copy._roi(additional_capex)
|
|
1883
|
+
mc_metrics["PBT"][start:end] = plant_copy._payback_time()
|
|
1788
1884
|
|
|
1789
1885
|
mc_inputs = {
|
|
1790
1886
|
"Fixed capital factor": fixed_capitals,
|
|
@@ -1796,23 +1892,23 @@ def monte_carlo(plant,
|
|
|
1796
1892
|
else {"Plant utilization": plant_utilizations}),
|
|
1797
1893
|
**({} if tax_rates is None
|
|
1798
1894
|
else {"Tax rate": tax_rates}),
|
|
1799
|
-
**{
|
|
1800
|
-
f"{k.replace('_', ' ').title()} price": v
|
|
1801
|
-
for k, v in variable_opex_price_samples.items()
|
|
1802
|
-
},
|
|
1803
|
-
**{
|
|
1804
|
-
f"{k.replace('_', ' ').title()} consumption": v
|
|
1805
|
-
for k, v in variable_opex_consumption_samples.items()
|
|
1806
|
-
},
|
|
1807
|
-
**{
|
|
1808
|
-
f"{k.replace('_', ' ').title()} product price": v
|
|
1809
|
-
for k, v in product_price_samples.items()
|
|
1810
|
-
},
|
|
1811
|
-
**{
|
|
1812
|
-
f"{k.replace('_', ' ').title()} production": v
|
|
1813
|
-
for k, v in product_production_samples.items()
|
|
1814
|
-
},
|
|
1815
1895
|
}
|
|
1896
|
+
# Fixed inputs are shown as named; item inputs under _make_label(name)
|
|
1897
|
+
display_labels = {key: key for key in mc_inputs}
|
|
1898
|
+
# TODO(3.3.0): key the items by their names as typed ("cooling_water
|
|
1899
|
+
# consumption") and drop display_labels; plots then label from the
|
|
1900
|
+
# key. Kept on the 3.2.0 title-case keys until then so 3.2.x stays
|
|
1901
|
+
# compatible.
|
|
1902
|
+
for samples, suffix in (
|
|
1903
|
+
(variable_opex_price_samples, "price"),
|
|
1904
|
+
(variable_opex_consumption_samples, "consumption"),
|
|
1905
|
+
(product_price_samples, "product price"),
|
|
1906
|
+
(product_production_samples, "production"),
|
|
1907
|
+
):
|
|
1908
|
+
for k, v in samples.items():
|
|
1909
|
+
key = f"{k.replace('_', ' ').title()} {suffix}"
|
|
1910
|
+
mc_inputs[key] = v
|
|
1911
|
+
display_labels[key] = f"{_make_label(k)} {suffix}"
|
|
1816
1912
|
|
|
1817
1913
|
# ---- Store on plant ----
|
|
1818
1914
|
plant.monte_carlo_metrics = mc_metrics
|
|
@@ -1822,6 +1918,7 @@ def monte_carlo(plant,
|
|
|
1822
1918
|
"name": plant.name,
|
|
1823
1919
|
"metrics": mc_metrics,
|
|
1824
1920
|
"inputs": mc_inputs,
|
|
1921
|
+
"display_labels": display_labels,
|
|
1825
1922
|
"num_samples": num_samples,
|
|
1826
1923
|
"additional_capex": additional_capex,
|
|
1827
1924
|
"currency": currency,
|
|
@@ -64,33 +64,33 @@ oscillating_screen_turton_2001,Centrifuges,Oscillating screen,"diameter, m",0.5,
|
|
|
64
64
|
solid_bowl_centrifuge_without_motor_turton_2001,Centrifuges,"Solid bowl, without motor","diameter, m",0.3,2,,,,,,,,,,4.9697,1.1689,0.0038,,,log-log quadratic,2001,Carbon steel,Turton et al. (2018) Table A.1,,"Purchased cost, ambient pressure",https://richardturton.faculty.wvu.edu/publications/analysis-synthesis-and-design-of-chemical-processes-5th-edition,
|
|
65
65
|
vertical_auto_batch_seider_2013,Centrifuges,Vertical auto-batch,"bowl diameter, in.",20,70,,,0,6180,0.94,,,,,,,,,,offset power-law,2013,Stainless steel,Seider et al. (2016) Table 16.32,CE Index = 567 (rounded); precise 2013 annual average = 567.3 Default material 'Stainless steel' (unspecified grade) uses the 304 stainless steel material factor (fm=1.3) in Equipment.,f.o.b. purchase cost. Stainless steel.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
66
66
|
mea_ccs_technology_2011,CO2 capture,MEA CCS technology,kg/s,,,,,0,2173693.911,0.8,,38.4,40.2405,0.8,,,,,,offset power-law,2011,n.a.,NREL (2011),,,https://docs.nrel.gov/docs/fy06osti/39947.pdf,
|
|
67
|
-
air_blower_manzolini_2006,Compressors & blowers,Air blower,"electric power, MWe",,,,,0,289800,0.67,,1,0.2898,0.67,,,,,,offset power-law,2006,n.a.,Manzolini (2011) ,,,doi:10.1016/j.ijggc.2012.06.021,
|
|
68
|
-
centrifugal_turbo_blower_seider_2013,Compressors & blowers,Centrifugal (turbo) blower,"horsepower, hp",5,1000,,,,,,,,,,7.0187,0.79,0,,,ln-ln quadratic,2013,Cast iron,Seider et al. (2016) Section 16.5,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive. Compression ratio up to 2. Uses sheet metal blades.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
69
|
-
centrifugal_compressor_electric_motor_seider_2013,Compressors & blowers,"Centrifugal compressor, electric motor drive","consumed power, horsepower, hp",200,30000,,,,,,,,,,9.1553,0.63,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.6,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
70
|
-
centrifugal_compressor_gas_turbine_seider_2013,Compressors & blowers,"Centrifugal compressor, gas turbine drive","consumed power, horsepower, hp",200,30000,,,,,,,,,,9.378443551,0.63,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.8,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.36) with Driver Factor = 1.255 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes a gas turbine drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
71
|
-
centrifugal_compressor_steam_turbine_seider_2013,Compressors & blowers,"Centrifugal compressor, steam turbine drive","consumed power, horsepower, hp",200,30000,,,,,,,,,,9.295061942,0.63,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.7,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.36) with Driver Factor = 1.15 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes a steam turbine drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
72
|
-
centrifugal_backward_curved_fan_head_16-30_seider_2013,Compressors & blowers,"Centrifugal, backward curved fan, head 16-30 in. H2O","Flow rate gas entering fan, ACFM",1000,100000,,,,,,,,,,11.78676356,-1.3805,0.1139,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.25) with Head Factor = 1.45 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
73
|
-
centrifugal_backward_curved_fan_head_31-40_seider_2013,Compressors & blowers,"Centrifugal, backward curved fan, head 31-40 in. H2O","Flow rate gas entering fan, ACFM",1000,100000,,,,,,,,,,11.85345493,-1.3805,0.1139,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.25) with Head Factor = 1.55 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
74
|
-
centrifugal_backward_curved_fan_head__5-8_seider_2013,Compressors & blowers,"Centrifugal, backward curved fan, head 5-8 in. H2O","Flow rate gas entering fan, ACFM",1000,100000,,,,,,,,,,11.55496194,-1.3805,0.1139,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.25) with Head Factor = 1.15 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
75
|
-
centrifugal_backward_curved_fan_head_9-15_seider_2013,Compressors & blowers,"Centrifugal, backward curved fan, head 9-15 in. H2O","Flow rate gas entering fan, ACFM",1000,100000,,,,,,,,,,11.67756426,-1.3805,0.1139,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.25) with Head Factor = 1.30 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
76
|
-
centrifugal_backward_curved_fan_head_less_4_seider_2013,Compressors & blowers,"Centrifugal, backward curved fan, head less than 4 in. H2O","Flow rate gas entering fan, ACFM",1000,100000,,,,,,,,,,11.4152,-1.3805,0.1139,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
77
|
-
centrifugal_straight_radial_fan_head_16-30_seider_2013,Compressors & blowers,"Centrifugal, straight radial fan, head 16-30 in. H2O","Flow rate gas entering fan, ACFM",1000,20000,,,,,,,,,,12.53826356,-1.6407,0.1328,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.26) with Head Factor = 1.45 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
78
|
-
centrifugal_straight_radial_fan_head__5-8_seider_2013,Compressors & blowers,"Centrifugal, straight radial fan, head 5-8 in. H2O","Flow rate gas entering fan, ACFM",1000,20000,,,,,,,,,,12.30646194,-1.6407,0.1328,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.26) with Head Factor = 1.15 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
79
|
-
centrifugal_straight_radial_fan_head_9-15_seider_2013,Compressors & blowers,"Centrifugal, straight radial fan, head 9-15 in. H2O","Flow rate gas entering fan, ACFM",1000,20000,,,,,,,,,,12.42906426,-1.6407,0.1328,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.26) with Head Factor = 1.30 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
80
|
-
centrifugal_straight_radial_fan_head_less_4_seider_2013,Compressors & blowers,"Centrifugal, straight radial fan, head less than 4 in. H2O","Flow rate gas entering fan, ACFM",1000,20000,,,,,,,,,,12.1667,-1.6407,0.1328,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
81
|
-
co2_compressor_manzolini_2011,Compressors & blowers,CO2 compressor,"electric power, MWe",,,,,0,2480252.151,0.67,,13,13.8305,0.67,,,,,,offset power-law,2011,n.a.,Manzolini (2011) ,,,doi:10.1016/j.ijggc.2012.06.021,
|
|
82
|
-
h2_compressor_pandolfo_1987,Compressors & blowers,H2 compressor,"electric power, MWe",,,,,0,1200,0.82,,1,0.0012,0.82,,,,,,offset power-law,1987,n.a.,Leal Perez (2021),,,doi.org/10.1016/j.ijhydene.2020.11.079,
|
|
83
|
-
propeller_fan_seider_2023,Compressors & blowers,"Propeller fan, head less than 4 in. H2O","Flow rate gas entering fan, ACFM",1000,15000,,,,,,,,,,6.16328,-0.28635,0.04866,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
84
|
-
reciprocating_compressor_electric_motor_seider_2013,Compressors & blowers,"Reciprocating compressor, electric motor drive","consumed power, horsepower, hp",100,20000,,,,,,,,,,4.6762,1.23,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.9,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
85
|
-
reciprocating_compressor_gas_turbine_seider_2013,Compressors & blowers,"Reciprocating compressor, gas turbine drive","consumed power, horsepower, hp",100,20000,,,,,,,,,,4.899343551,1.23,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.11,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.37) with Driver Factor = 1.255 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes a gas turbine drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
86
|
-
reciprocating_compressor_steam_turbine_seider_2013,Compressors & blowers,"Reciprocating compressor, steam turbine drive","consumed power, horsepower, hp",100,20000,,,,,,,,,,4.815961942,1.23,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.10,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.37) with Driver Factor = 1.15 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes a steam turbine drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
87
|
-
rotary_straight_lobe_seider_2013,Compressors & blowers,Rotary straight-lobe blower,"horsepower, hp",1,1000,,,,,,,,,,7.71751,0.7932,-0.0129,,,ln-ln quadratic,2013,Cast iron,Seider et al. (2016) Section 16.5,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive. Compression ratio up to 2.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
88
|
-
screw_compressor_electric_motor_seider_2013,Compressors & blowers,"Screw compressor, electric motor drive","consumed power, horsepower, hp",10,750,,,,,,,,,,8.2496,0.7243,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.12,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
89
|
-
screw_compressor_gas_turbine_seider_2013,Compressors & blowers,"Screw compressor, gas turbine drive","consumed power, horsepower, hp",10,750,,,,,,,,,,8.472743551,0.7243,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.14,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.38) with Driver Factor = 1.255 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes a gas turbine drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
90
|
-
screw_compressor_steam_turbine_seider_2013,Compressors & blowers,"Screw compressor, steam turbine drive","consumed power, horsepower, hp",10,750,,,,,,,,,,8.389361942,0.7243,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.13,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.38) with Driver Factor = 1.15 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes a steam turbine drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
91
|
-
vane_axial_fan_head__5-8_seider_2013,Compressors & blowers,"Vane-axial fan, head 5-8 in. H2O","Flow rate gas entering fan, ACFM",1000,800000,,,,,,,,,,9.788461942,-0.97566,0.08532,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.27) with Head Factor = 1.15 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
92
|
-
vane_axial_fan_head_9-15_seider_2013,Compressors & blowers,"Vane-axial fan, head 9-15 in. H2O","Flow rate gas entering fan, ACFM",1000,800000,,,,,,,,,,10.05082621,-0.97566,0.08532,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.2) with Head Factor = 1.30 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
93
|
-
vane_axial_fan_head_less_4_seider_2013,Compressors & blowers,"Vane-axial fan, head less than 4 in. H2O","Flow rate gas entering fan, ACFM",1000,800000,,,,,,,,,,9.6487,-0.97566,0.08532,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
67
|
+
air_blower_manzolini_2006,"Compressors, fans, & blowers",Air blower,"electric power, MWe",,,,,0,289800,0.67,,1,0.2898,0.67,,,,,,offset power-law,2006,n.a.,Manzolini (2011) ,,,doi:10.1016/j.ijggc.2012.06.021,
|
|
68
|
+
centrifugal_turbo_blower_seider_2013,"Compressors, fans, & blowers",Centrifugal (turbo) blower,"horsepower, hp",5,1000,,,,,,,,,,7.0187,0.79,0,,,ln-ln quadratic,2013,Cast iron,Seider et al. (2016) Section 16.5,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive. Compression ratio up to 2. Uses sheet metal blades.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
69
|
+
centrifugal_compressor_electric_motor_seider_2013,"Compressors, fans, & blowers","Centrifugal compressor, electric motor drive","consumed power, horsepower, hp",200,30000,,,,,,,,,,9.1553,0.63,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.6,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
70
|
+
centrifugal_compressor_gas_turbine_seider_2013,"Compressors, fans, & blowers","Centrifugal compressor, gas turbine drive","consumed power, horsepower, hp",200,30000,,,,,,,,,,9.378443551,0.63,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.8,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.36) with Driver Factor = 1.255 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes a gas turbine drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
71
|
+
centrifugal_compressor_steam_turbine_seider_2013,"Compressors, fans, & blowers","Centrifugal compressor, steam turbine drive","consumed power, horsepower, hp",200,30000,,,,,,,,,,9.295061942,0.63,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.7,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.36) with Driver Factor = 1.15 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes a steam turbine drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
72
|
+
centrifugal_backward_curved_fan_head_16-30_seider_2013,"Compressors, fans, & blowers","Centrifugal, backward curved fan, head 16-30 in. H2O","Flow rate gas entering fan, ACFM",1000,100000,,,,,,,,,,11.78676356,-1.3805,0.1139,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.25) with Head Factor = 1.45 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
73
|
+
centrifugal_backward_curved_fan_head_31-40_seider_2013,"Compressors, fans, & blowers","Centrifugal, backward curved fan, head 31-40 in. H2O","Flow rate gas entering fan, ACFM",1000,100000,,,,,,,,,,11.85345493,-1.3805,0.1139,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.25) with Head Factor = 1.55 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
74
|
+
centrifugal_backward_curved_fan_head__5-8_seider_2013,"Compressors, fans, & blowers","Centrifugal, backward curved fan, head 5-8 in. H2O","Flow rate gas entering fan, ACFM",1000,100000,,,,,,,,,,11.55496194,-1.3805,0.1139,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.25) with Head Factor = 1.15 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
75
|
+
centrifugal_backward_curved_fan_head_9-15_seider_2013,"Compressors, fans, & blowers","Centrifugal, backward curved fan, head 9-15 in. H2O","Flow rate gas entering fan, ACFM",1000,100000,,,,,,,,,,11.67756426,-1.3805,0.1139,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.25) with Head Factor = 1.30 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
76
|
+
centrifugal_backward_curved_fan_head_less_4_seider_2013,"Compressors, fans, & blowers","Centrifugal, backward curved fan, head less than 4 in. H2O","Flow rate gas entering fan, ACFM",1000,100000,,,,,,,,,,11.4152,-1.3805,0.1139,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
77
|
+
centrifugal_straight_radial_fan_head_16-30_seider_2013,"Compressors, fans, & blowers","Centrifugal, straight radial fan, head 16-30 in. H2O","Flow rate gas entering fan, ACFM",1000,20000,,,,,,,,,,12.53826356,-1.6407,0.1328,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.26) with Head Factor = 1.45 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
78
|
+
centrifugal_straight_radial_fan_head__5-8_seider_2013,"Compressors, fans, & blowers","Centrifugal, straight radial fan, head 5-8 in. H2O","Flow rate gas entering fan, ACFM",1000,20000,,,,,,,,,,12.30646194,-1.6407,0.1328,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.26) with Head Factor = 1.15 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
79
|
+
centrifugal_straight_radial_fan_head_9-15_seider_2013,"Compressors, fans, & blowers","Centrifugal, straight radial fan, head 9-15 in. H2O","Flow rate gas entering fan, ACFM",1000,20000,,,,,,,,,,12.42906426,-1.6407,0.1328,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.26) with Head Factor = 1.30 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
80
|
+
centrifugal_straight_radial_fan_head_less_4_seider_2013,"Compressors, fans, & blowers","Centrifugal, straight radial fan, head less than 4 in. H2O","Flow rate gas entering fan, ACFM",1000,20000,,,,,,,,,,12.1667,-1.6407,0.1328,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
81
|
+
co2_compressor_manzolini_2011,"Compressors, fans, & blowers",CO2 compressor,"electric power, MWe",,,,,0,2480252.151,0.67,,13,13.8305,0.67,,,,,,offset power-law,2011,n.a.,Manzolini (2011) ,,,doi:10.1016/j.ijggc.2012.06.021,
|
|
82
|
+
h2_compressor_pandolfo_1987,"Compressors, fans, & blowers",H2 compressor,"electric power, MWe",,,,,0,1200,0.82,,1,0.0012,0.82,,,,,,offset power-law,1987,n.a.,Leal Perez (2021),,,doi.org/10.1016/j.ijhydene.2020.11.079,
|
|
83
|
+
propeller_fan_seider_2023,"Compressors, fans, & blowers","Propeller fan, head less than 4 in. H2O","Flow rate gas entering fan, ACFM",1000,15000,,,,,,,,,,6.16328,-0.28635,0.04866,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
84
|
+
reciprocating_compressor_electric_motor_seider_2013,"Compressors, fans, & blowers","Reciprocating compressor, electric motor drive","consumed power, horsepower, hp",100,20000,,,,,,,,,,4.6762,1.23,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.9,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
85
|
+
reciprocating_compressor_gas_turbine_seider_2013,"Compressors, fans, & blowers","Reciprocating compressor, gas turbine drive","consumed power, horsepower, hp",100,20000,,,,,,,,,,4.899343551,1.23,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.11,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.37) with Driver Factor = 1.255 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes a gas turbine drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
86
|
+
reciprocating_compressor_steam_turbine_seider_2013,"Compressors, fans, & blowers","Reciprocating compressor, steam turbine drive","consumed power, horsepower, hp",100,20000,,,,,,,,,,4.815961942,1.23,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.10,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.37) with Driver Factor = 1.15 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes a steam turbine drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
87
|
+
rotary_straight_lobe_seider_2013,"Compressors, fans, & blowers",Rotary straight-lobe blower,"horsepower, hp",1,1000,,,,,,,,,,7.71751,0.7932,-0.0129,,,ln-ln quadratic,2013,Cast iron,Seider et al. (2016) Section 16.5,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive. Compression ratio up to 2.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
88
|
+
screw_compressor_electric_motor_seider_2013,"Compressors, fans, & blowers","Screw compressor, electric motor drive","consumed power, horsepower, hp",10,750,,,,,,,,,,8.2496,0.7243,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.12,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
89
|
+
screw_compressor_gas_turbine_seider_2013,"Compressors, fans, & blowers","Screw compressor, gas turbine drive","consumed power, horsepower, hp",10,750,,,,,,,,,,8.472743551,0.7243,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.14,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.38) with Driver Factor = 1.255 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes a gas turbine drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
90
|
+
screw_compressor_steam_turbine_seider_2013,"Compressors, fans, & blowers","Screw compressor, steam turbine drive","consumed power, horsepower, hp",10,750,,,,,,,,,,8.389361942,0.7243,0,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.13,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.38) with Driver Factor = 1.15 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes a steam turbine drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
91
|
+
vane_axial_fan_head__5-8_seider_2013,"Compressors, fans, & blowers","Vane-axial fan, head 5-8 in. H2O","Flow rate gas entering fan, ACFM",1000,800000,,,,,,,,,,9.788461942,-0.97566,0.08532,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.27) with Head Factor = 1.15 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
92
|
+
vane_axial_fan_head_9-15_seider_2013,"Compressors, fans, & blowers","Vane-axial fan, head 9-15 in. H2O","Flow rate gas entering fan, ACFM",1000,800000,,,,,,,,,,10.05082621,-0.97566,0.08532,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,"CE Index = 567 (rounded); precise 2013 annual average = 567.3. Cost adapted from the base equipment (Eq. 16.2) with Head Factor = 1.30 applied, adjusted to the ln-ln quadratic form.",f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
93
|
+
vane_axial_fan_head_less_4_seider_2013,"Compressors, fans, & blowers","Vane-axial fan, head less than 4 in. H2O","Flow rate gas entering fan, ACFM",1000,800000,,,,,,,,,,9.6487,-0.97566,0.08532,,,ln-ln quadratic,2013,Carbon steel,Seider et al. (2016) Section 16.5,CE Index = 567 (rounded); precise 2013 annual average = 567.3.,f.o.b. purchase cost. Includes an electric motor drive.,https://www.wiley.com/en-us/shop/general-introductory-chemical-engineering/product-and-process-design-principles-synthesis-analysis-and-evaluation-4th-edition-p-9781119282631,
|
|
94
94
|
axial_tube_fan_turton_2001,"Compressors, fans, & blowers",Axial tube fan,"gas flowrate, m3/s",1,100,,,,,,,,,,3.0414,-0.3375,0.4722,,,log-log quadratic,2001,Carbon steel,Turton et al. (2018) Table A.1,,"Purchased cost, ambient pressure",https://richardturton.faculty.wvu.edu/publications/analysis-synthesis-and-design-of-chemical-processes-5th-edition,
|
|
95
95
|
axial_vane_fan_turton_2001,"Compressors, fans, & blowers",Axial vane fan,"gas flowrate, m3/s",1,100,,,,,,,,,,3.1761,-0.1373,0.3414,,,log-log quadratic,2001,Carbon steel,Turton et al. (2018) Table A.1,,"Purchased cost, ambient pressure",https://richardturton.faculty.wvu.edu/publications/analysis-synthesis-and-design-of-chemical-processes-5th-edition,
|
|
96
96
|
backward_curve_fan_turton_2001,"Compressors, fans, & blowers",Backward curve fan,"gas flowrate, m3/s",1,100,,,,,,,,,,3.3471,-0.0734,0.309,,,log-log quadratic,2001,Carbon steel,Turton et al. (2018) Table A.1,,"Purchased cost, ambient pressure",https://richardturton.faculty.wvu.edu/publications/analysis-synthesis-and-design-of-chemical-processes-5th-edition,
|
|
@@ -419,3 +419,7 @@ wastewater_primary_secondary_tertiary_seider_2013,Utilities,"Wastewater treatmen
|
|
|
419
419
|
water_ion_exchange_plant_towler_2010,Utilities,Water ion exchange plant,"flow, m^3/h",1,50,,,14000,6200,0.75,,,,,,,,,,offset power-law,2010,Carbon steel,Towler & Sinnott (2010) Table 7.2,,Purchased cost.,doi.org/10.1016/B978-0-12-821179-3.00007-8,
|
|
420
420
|
internal_coils_vaporizers_turton_2001,Vaporizers,Internal coils/jackets,"volume, m^3",1,100,,,,,,,,,,4,0.4321,0.17,,,log-log quadratic,2001,Carbon steel,Turton et al. (2018) Table A.1,,"Purchased cost, ambient pressure",https://richardturton.faculty.wvu.edu/publications/analysis-synthesis-and-design-of-chemical-processes-5th-edition,
|
|
421
421
|
jacketed_vessels_vaporizers_turton_2001,Vaporizers,Jacketed vessels,"volume, m^3",1,100,,,,,,,,,,3.8751,0.3328,0.1901,,,log-log quadratic,2001,Carbon steel,Turton et al. (2018) Table A.1,,"Purchased cost, ambient pressure",https://richardturton.faculty.wvu.edu/publications/analysis-synthesis-and-design-of-chemical-processes-5th-edition,
|
|
422
|
+
electrolyzer_pem_current_doe_2016,Electrolysis,"PEM electrolyzer, current (2019)","hydrogen production, kg/day",1500,50000,,,,,,,1500,2132440,0.9255,,,,,,power-sizing,2016,n.a.,"Peterson, Vickers & DeSantis (2019) Table 2","CE Index = 542 (rounded); precise 2016 annual average = 541.7. Costs in USD 2016; total uninstalled capital; 599 USD/kW at 1,500 and 460 at 50,000 kg H2/day (current); unit cost per kW converted using the study's MW rating (3.56 MW at 1,500 kg/day, 119 MW at 50,000 kg/day); two-point fit.",Purchased cost.,https://www.hydrogen.energy.gov/docs/hydrogenprogramlibraries/pdfs/19009_h2_production_cost_pem_electrolysis_2019.pdf,
|
|
423
|
+
electrolyzer_pem_future_doe_2016,Electrolysis,"PEM electrolyzer, future (2035)","hydrogen production, kg/day",1500,50000,,,,,,,1500,1337870,0.8621,,,,,,power-sizing,2016,n.a.,"Peterson, Vickers & DeSantis (2019) Table 2","CE Index = 542 (rounded); precise 2016 annual average = 541.7. Costs in USD 2016; total uninstalled capital; 379 USD/kW at 1,500 and 233 at 50,000 kg H2/day (future 2035); unit cost per kW converted using the study's MW rating (3.53 MW at 1,500 kg/day, 118 MW at 50,000 kg/day); two-point fit.",Purchased cost.,https://www.hydrogen.energy.gov/docs/hydrogenprogramlibraries/pdfs/19009_h2_production_cost_pem_electrolysis_2019.pdf,
|
|
424
|
+
biomass_cfb_chp_irena_2012,Biomass combustion,CFB CHP,"electrical capacity, MWe",0.5,8.8,,,,,,,0.5,7395000,0.544,,,,,,power-sizing,2010,n.a.,"IRENA (2012) Section 5.2, p. 32","CE Index = 551 (rounded); precise 2010 annual average = 550.8. Costs in USD 2010; specific cost 14,790 USD/kW at 0.5 MWe, 4,000 at 8.8 MWe; unit cost per kW converted using the study's MW rating; two-point fit.",Purchased cost.,https://www.irena.org/-/media/Files/IRENA/Agency/Publication/2012/RE_Technologies_Cost_Analysis-BIOMASS.pdf,
|
|
425
|
+
electrolyzer_nrel_2008,Electrolysis,Electrolyzer (PEM / alkaline),"hydrogen production, kg/h",0.1,100,,,0,224490,0.6156,,,,,,,,,,offset power-law,2008,n.a.,"Saur (2008) Section 5.1, Eq. 1",CE Index = 575 (rounded); precise 2008 annual average = 575.4. Costs in USD 2008 (H2A basis).,Purchased cost.,https://doi.org/10.2172/944892,
|
openpytea/equipment.py
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import warnings
|
|
2
|
+
|
|
1
3
|
import numpy as np
|
|
2
4
|
import pandas as pd
|
|
3
5
|
|
|
@@ -16,6 +18,25 @@ with as_file(
|
|
|
16
18
|
) as COST_DB_PATH:
|
|
17
19
|
COST_DB_DF = pd.read_csv(COST_DB_PATH)
|
|
18
20
|
|
|
21
|
+
# Renamed categories: old name (lowercase, as lookups ignore case) -> current
|
|
22
|
+
_CATEGORY_ALIASES = {
|
|
23
|
+
"compressors & blowers": "Compressors, fans, & blowers",
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def _current_category(category):
|
|
28
|
+
"""Map a renamed category to its current name, with a warning."""
|
|
29
|
+
new = _CATEGORY_ALIASES.get(str(category).lower())
|
|
30
|
+
if new is not None:
|
|
31
|
+
warnings.warn(
|
|
32
|
+
f"Category '{category}' has been renamed to '{new}'; "
|
|
33
|
+
"the old name will be removed in a future release.",
|
|
34
|
+
FutureWarning,
|
|
35
|
+
stacklevel=3,
|
|
36
|
+
)
|
|
37
|
+
return new
|
|
38
|
+
return category
|
|
39
|
+
|
|
19
40
|
|
|
20
41
|
def inflation_adjustment(equipment_cost, cost_year, target_year=2024):
|
|
21
42
|
"""
|
|
@@ -350,7 +371,7 @@ class Equipment:
|
|
|
350
371
|
Values are dicts with factors: fer, fp, fi, fel, fc, fs, fl.
|
|
351
372
|
material_factors : dict
|
|
352
373
|
Material type multipliers mapping material names to cost factors
|
|
353
|
-
(1.0 to
|
|
374
|
+
(1.0 to 2.5).
|
|
354
375
|
|
|
355
376
|
Parameters
|
|
356
377
|
----------
|
|
@@ -489,11 +510,19 @@ class Equipment:
|
|
|
489
510
|
"Stainless steel": 1.3,
|
|
490
511
|
"304 stainless steel": 1.3,
|
|
491
512
|
"316 stainless steel": 1.3,
|
|
513
|
+
"316 stainless steel (machined)": 1.3,
|
|
514
|
+
"Glass-reinforced plastic": 1.4,
|
|
492
515
|
"321 stainless steel": 1.5,
|
|
493
516
|
"Hastelloy C": 1.55,
|
|
494
517
|
"Monel": 1.65,
|
|
495
518
|
"Nickel": 1.7,
|
|
496
519
|
"Inconel": 1.7,
|
|
520
|
+
"316 stainless steel (welded)": 1.75,
|
|
521
|
+
# EDF (Aromada et al. 2021) doesn't define "exotic
|
|
522
|
+
# material", so titanium or zirconium aren't
|
|
523
|
+
# mapped to it
|
|
524
|
+
"Exotic material (machined)": 1.75,
|
|
525
|
+
"Exotic material (welded)": 2.5,
|
|
497
526
|
}
|
|
498
527
|
|
|
499
528
|
def __init__(
|
|
@@ -524,7 +553,7 @@ class Equipment:
|
|
|
524
553
|
self.param = (
|
|
525
554
|
None if purchased_cost is not None else param
|
|
526
555
|
)
|
|
527
|
-
self.category = category
|
|
556
|
+
self.category = _current_category(category)
|
|
528
557
|
self.type = type
|
|
529
558
|
self.num_units = num_units
|
|
530
559
|
self.cost_year = cost_year
|
|
@@ -752,8 +781,8 @@ class Equipment:
|
|
|
752
781
|
f"Category={self.category}, Sub-type={self.type}, "
|
|
753
782
|
f"Material={self.material}, Process Type={self.process_type}, "
|
|
754
783
|
f"Parameter={self.param}, Number of units={self.num_units}, "
|
|
755
|
-
f"Purchased Cost={self.purchased_cost}, "
|
|
756
|
-
f"Direct Cost={self.direct_cost}
|
|
784
|
+
f"Purchased Cost={self.purchased_cost:.3f}, "
|
|
785
|
+
f"Direct Cost={self.direct_cost:.3f}"
|
|
757
786
|
)
|
|
758
787
|
|
|
759
788
|
|
|
@@ -923,7 +952,7 @@ class CompositeEquipment:
|
|
|
923
952
|
|
|
924
953
|
self.name = name
|
|
925
954
|
self.process_type = process_type
|
|
926
|
-
self.category = category
|
|
955
|
+
self.category = _current_category(category)
|
|
927
956
|
self.type = type
|
|
928
957
|
self.installation = installation
|
|
929
958
|
self.target_year = target_year
|
|
@@ -1126,13 +1155,13 @@ class CompositeEquipment:
|
|
|
1126
1155
|
f"Process Type={self.process_type}, "
|
|
1127
1156
|
f"Installation={self.installation}, "
|
|
1128
1157
|
f"Number of units={self.num_units}, "
|
|
1129
|
-
f"Purchased Cost={self.purchased_cost}, "
|
|
1130
|
-
f"Direct Cost={self.direct_cost}
|
|
1158
|
+
f"Purchased Cost={self.purchased_cost:.3f}, "
|
|
1159
|
+
f"Direct Cost={self.direct_cost:.3f}"
|
|
1131
1160
|
)
|
|
1132
1161
|
body = "\n".join(
|
|
1133
1162
|
f" - {obj.name} (x{obj.num_units}): "
|
|
1134
|
-
f"Purchased Cost={obj.purchased_cost}, "
|
|
1135
|
-
f"Direct Cost={obj.direct_cost}"
|
|
1163
|
+
f"Purchased Cost={obj.purchased_cost:.3f}, "
|
|
1164
|
+
f"Direct Cost={obj.direct_cost:.3f}"
|
|
1136
1165
|
for obj in self.components
|
|
1137
1166
|
)
|
|
1138
1167
|
return f"{head}\n{body}"
|