Repository navigation
OpenPyTEA 3.2.2
OpenPyTEA 3.2.2
This release introduces the OpenPyTEA desktop app, a graphical interface for the full TEA workflow that needs no Python. The library gains a direct cost breakdown by equipment category, five EDF material factors and four new cost correlations, and fixes plot labels containing &. Existing code keeps working, and results for existing plants stay the same.
Desktop app
- No Python or Node.js needed. Installers for Windows (
OpenPyTEA_3.2.2_x64-setup.exe, or the.msi) and macOS on Apple Silicon (OpenPyTEA_3.2.2_aarch64.dmg) are attached to this release. They appear about 10 minutes after it's published. - Full workflow in one window: equipment costing with the cost correlation database, plant configuration, results (metrics, cost breakdowns, cash flow), sensitivity and tornado analysis, Monte Carlo, and multi-plant comparison. Built-in examples from the case studies let you start right away.
- Edit and see the effect immediately: cost factors, capital and fixed OPEX amounts, the construction and production ramp-up, and additional CAPEX all recalculate as you change them.
- Publication figures: every chart can be downloaded as the same figure the library draws in Jupyter.
- First launch: the app isn't code-signed yet. On Windows, click More info → Run anyway at the SmartScreen warning. On macOS, run
xattr -dr com.apple.quarantine /Applications/OpenPyTEA.apponce in Terminal.
New features
- Direct costs by equipment category.
direct_costs_data(plants, by_category=True)sums the direct costs per equipment category (all compressors in one segment, and so on) instead of listing each equipment by name. A composite counts under its own category, or withexpand_composites=True, each of its components under that component's category. - Five EDF material factors:
"316 stainless steel (welded)"(1.75),"316 stainless steel (machined)"(1.30),"Glass-reinforced plastic"(1.40),"Exotic material (welded)"(2.50) and"Exotic material (machined)"(1.75), from Aromada, Eldrup & Øi (2021), Table 4. They use the same basis as the existing factors (carbon steel = 1.00, applied to the equipment and piping cost only). Contributed by @marwenchaabouni in #12. - Four new cost correlations: PEM electrolyzers, current (2019) and future (2035), from DOE (2016); a PEM/alkaline electrolyzer from NREL (2008); and biomass CFB CHP from IRENA (2012). Contributed by @marwenchaabouni in #11.
Improvements
- Plants without the varied parameter stay on sensitivity plots. With
plot_sensitivity(data, x_axis="value"), a plant that lacks the parameter now shows as a flat line at its baseline across the other plants' values, as on the % axis, instead of being left out with a warning. - Larger Monte Carlo input titles.
plot_monte_carlo_inputsuses larger default titles (parameter titles 9 → 14, main title 14 → 16).
Bug fixes
- Plot labels containing
&made plots fail with LaTeX on. Built-in labels such as "Taxes & insurance", "Design & engineering" and "R&D" showed a stray backslash with LaTeX off. Both now render as&. print()of anEquipmentorCompositeEquipmentshowed a stray)after the direct cost.
Docs
- New pages for the desktop app: installing and using it, and how it is built and released (GUI development, in the User Guide).
- The materials table explains the three 316 stainless steel entries and that the source doesn't define "exotic material".
- The cost correlations database has its own full-width page, with a scrollable table.