-
Notifications
You must be signed in to change notification settings - Fork 84
Update Costing Documentation #1716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
MarcusHolly
wants to merge
9
commits into
watertap-org:main
Choose a base branch
from
MarcusHolly:update_costing_docs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
94c2e7b
Make initial set of changes
MarcusHolly 3d94c37
Update costing for heater/chiller and IX
MarcusHolly 3280f71
Update the remaining costing documentation
MarcusHolly c7a35b7
Merge branch 'main' into update_costing_docs
MarcusHolly 82a741f
Add steam ejector to the doctree
MarcusHolly 84976d1
Update oaro_multi with the correct naming convention
MarcusHolly 472cb76
Updatte variables names in the dye desal GUI
MarcusHolly 22fab01
Update costing naming conventions
MarcusHolly 71a14f7
Make chemical names unit_cost_chemical
MarcusHolly File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,47 @@ | ||
| Steam Ejector Costing Method | ||
| ============================ | ||
|
|
||
| Costing Method Parameters | ||
| +++++++++++++++++++++++++ | ||
|
|
||
| The following parameters are constructed for the unit on the FlowsheetCostingBlock (e.g., ``m.fs.costing.thickener``) when applying the ``cost_thickener`` costing method in the ``watertap_costing_package``: | ||
|
|
||
| .. csv-table:: | ||
| :header: "Description", "Symbol", "Parameter Name", "Default Value", "Units" | ||
|
|
||
| "Base cost coefficient for steam ejector", ":math:`C_{base}`", "``base_cost``", "1949", ":math:`\text{USD}_{2020}`" | ||
| "Cost scaling exponent", ":math:`C_{exponent}`", "``cost_exponent``", "0.3", ":math:`\text{dimensionless}`" | ||
| "Steam cost", ":math:`C_{steam}`", "``steam_cost``", "0.008", ":math:`\text{USD}_{2018}\text{/kg}`" | ||
|
|
||
| Costing Method Variables | ||
| ++++++++++++++++++++++++ | ||
|
|
||
| There are no costing method variables unique to the steam ejector. | ||
|
|
||
| Capital Cost Calculations | ||
| +++++++++++++++++++++++++ | ||
|
|
||
| Capital cost is dependent upon the steam and entrained vapor mass flow, :math:`Q`, as shown in the equation below. | ||
|
|
||
| .. math:: | ||
|
|
||
| C_{cap,tot} = C_{base} * (Q_{steam} + Q_{entrained vapor}^{C_{exponent}} | ||
|
|
||
|
|
||
| Operating Cost Calculations | ||
| +++++++++++++++++++++++++++ | ||
|
|
||
| The only operating cost associated with this steam ejector model is the cost of steam, | ||
| which is a function of the steam cost (on a mass basis), :math:`C_{steam}`, and the | ||
| mass flow of steam, :math:`Q_{steam}`, as shown in the equation below: | ||
|
|
||
| .. math:: | ||
|
|
||
| C_{op, tot} = C_{steam} * Q_{steam} | ||
|
|
||
|
|
||
| Code Documentation | ||
| ------------------ | ||
|
|
||
| * :mod:`watertap.costing.unit_models.steam_ejector` | ||
|
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should instances of membrane_cost also be replaced with unit_cost?