ElectroN-P Costing Method

Costing Method Parameters

The following parameters are constructed for the unit on the FlowsheetCostingBlock (e.g., m.fs.costing.electroNP) when applying the cost_electroNP costing method in the watertap_costing_package:

Description

Symbol

Parameter Name

Default Value

Units

Hydraulic retention time

\(HRT\)

HRT

1.3333

\(\text{hr}\)

Reactor sizing cost

\(C_V\)

sizing_cost

1000

\(\text{USD}_{2020}\text{/m}^3\)

Magnesium chloride cost

\(C_{MgCl2}\)

magnesium_chloride_cost

0.0786

\(\text{USD}_{2020}\text{/kg}\)

Phosphorus recovery value*

\(C_{RP}\)

phosphorus_recovery_value

-0.07

\(\text{USD}_{2020}\text{/kg}\)

* Negative value represents revenue from recovering phosphorus

Costing Method Variables

The following variables are used on the unit block (e.g., m.fs.unit.costing) when applying the cost_electroNP costing method in the watertap_costing_package:

Description

Symbol

Variable Name

Index

Units

Inlet volumetric flow rate

\(Q_{in}\)

mixed_state[0].flow_vol

[t]

\(\text{m}^3\text{/hr}\)

Byproduct phosphate mass flow rate

\(Q_{byproduct, S_{PO4}}\)

byproduct_state[0].conc_mass_comp[0, S_PO4]

[t]

\(\text{kg/hr}\)

Magnesium chloride flowrate

\(Q_{MgCl2}\)

magnesium_chloride_dosage

[t]

\(\text{kg/hr}\)

Capital Cost Calculations

Capital cost depends on the unit’s inlet flow rate, \(Q_{in}\), as shown in the equation below:

\[C_{cap,tot} = HRT * Q_{in} * C_V\]

Operating Cost Calculations

Operating/maintenance costs consist of magnesium chloride usage cost and phosphorus recovery revenue:

\[C_{op,tot} = C_{op,MgCl2}+C_{op,RP}\]
\[C_{op,MgCl2} = Q_{MgCl2} * C_{MgCl2} C_{op,RP} = Q_{byproduct, S_{PO4}} * C_{RP}\]

Code Documentation