Skip to content

Conversation

@pratham2110
Copy link

Contributed notebook

@adowling2 adowling2 changed the title Wastewater-Treatment-Mass-Balance -Pratham Pratham (Project 1) Dec 6, 2023
@adowling2 adowling2 changed the base branch from main to contributed-notebooks December 6, 2023 12:50
Copy link
Contributor

@adowling2 adowling2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see minor comments below.

@@ -9,6 +9,8 @@
"# Example of Mass Balance Problem in Wastewater Treatment Units\n",
"Prepared by Annabelle Li (ali7@nd.edu) and Audrey Hansrisuk (ahansris@nd.edu)\n",
"\n",
"Edited by Pratham Singh (psingh4@nd.edu)\n",
"\n",
"**Reference:** Chapter 4 in *Elementary Principles of Chemical Processes*, 4th ed., Felder, R.M.; Rousseau, R.W.; Bullard, L.G. (2015), **Question 4.44**\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the bold from the question number in the reference

@@ -9,6 +9,8 @@
"# Example of Mass Balance Problem in Wastewater Treatment Units\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mass Balance Analysis for Wastewater Treatment

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change title to this.

"plt.show()\n",
"# Create a publication-quality plot with reduced size\n",
"plt.figure(figsize=(4, 3), dpi=200) # Set figure size and DPI for a smaller plot\n",
"plt.plot(m1_values, x6_values, 'bo-', markersize=6, label='x6_Cr') # Use blue circles with a solid line\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use LaTeX here, $x_{6,Cr}$ to get the legend to match the nomenclature in the rest of the notebook

" chromium_cost: Total cost of chromium in the waste stream (USD)\n",
" \"\"\"\n",
" # BEGIN SOLUTION\n",
" if m1 >= 4500:\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need comments to explain this logic. This looks like a bound, but add comments so the reader does not need to guess.

{
"cell_type": "markdown",
"source": [
"Assume the value of chromium per kg is $9. Estimate the cost of chromium for different flow rate and the print the cost. Also plot the varying inlet flow vs chromium value in the waste stream."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide a reference for this assumption

"plt.figure(figsize=(4, 3), dpi=200)\n",
"\n",
"# Plot the data with a solid red line and circular markers\n",
"plt.plot(m1_values, chromium_costs, 'r-o', markersize=6, label=\"Chromium Cost\")\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not need a legend because there is one line and the legend label is redundant with the y-axis label.

{
"cell_type": "markdown",
"source": [
"Discussion: Is it economically and environmentally worthwhile to recover chromium in the circular economy, given the associated cost of recovery?\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussion: to be consistent with the rest of the notebook

"source": [
"#6. Economic Analysis of Chromium\n",
"\n",
"Develop a function ``econ_cr`` to evaluate the cost of the chromium that is going to waste stream when the inlet flow is above 4500 kg/h.\n"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be the value of the Cr lost in the waste stream? Does the $9/kg represent the cost of disposal? Or is it the market value if the Cr could be capture, purified, and sold?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants