-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
81 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ | |
""" | ||
""" | ||
from thermosteam._graphics import * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ nbval | |
SALib | ||
pyglet | ||
ipykernel | ||
CoolProp | ||
CoolProp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# -*- coding: utf-8 -*- | ||
# BioSTEAM: The Biorefinery Simulation and Techno-Economic Analysis Modules | ||
# Copyright (C) 2020-2023, Yoel Cortes-Pena <[email protected]> | ||
# | ||
# This module is under the UIUC open-source license. See | ||
# github.com/BioSTEAMDevelopmentGroup/biosteam/blob/master/LICENSE.txt | ||
# for license details. | ||
""" | ||
""" | ||
|
||
import pytest | ||
import biosteam as bst | ||
|
||
def test_rotary_vane_vacuum_pump(): | ||
|
||
bst.settings.set_thermo(['Water', 'CH4']) | ||
gas = bst.Stream('gas', CH4=2, Water=0.1) | ||
vac = bst.VacuumSystem(F_mass=gas.F_mass, F_vol=gas.F_vol, | ||
P_suction=31325., vessel_volume=1.9e-3) | ||
assert "Rotary-vane pump, one stage" in vac.baseline_purchase_costs | ||
#!!! TODO: add test to purchase cost after updating CEPCI | ||
|
||
vac = bst.VacuumSystem(F_mass=gas.F_mass*10, F_vol=gas.F_vol*10, | ||
P_suction=31325., vessel_volume=1.9e-3) | ||
assert "Rotary-vane pump, two stage" in vac.baseline_purchase_costs | ||
pass | ||
|
||
if __name__ == '__main__': | ||
test_rotary_vane_vacuum_pump() | ||
|
||
|