Skip to content

Commit

Permalink
adding clarification on composition fraction type
Browse files Browse the repository at this point in the history
  • Loading branch information
parkyr committed May 30, 2024
1 parent 506a395 commit 11e9242
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gdplib/methanol/methanol.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,20 +210,20 @@ def __init__(self):
)

flow_1 = dict()
# Feed 1 (cheap feedstock; component fractions)
# Feed 1 (cheap feedstock; component molar fractions)
flow_1['H2'] = 0.6
flow_1['CO'] = 0.25
flow_1['CH4'] = 0.15
m.flow_1_composition = pe.Param(
m.components, initialize=flow_1, default=0, doc='Composition of feed 1'
m.components, initialize=flow_1, default=0, doc='Molar composition of feed 1'
)
flow_2 = dict()
# Feed 2 (expensive feedstock; component fractions)
# Feed 2 (expensive feedstock; component molar fractions)
flow_2['H2'] = 0.65
flow_2['CO'] = 0.30
flow_2['CH4'] = 0.05
m.flow_2_composition = pe.Param(
m.components, initialize=flow_2, default=0, doc='Composition of feed 2'
m.components, initialize=flow_2, default=0, doc='Molar composition of feed 2'
)

# Setting operating conditions (bounds) for specific streams in the process
Expand Down

0 comments on commit 11e9242

Please sign in to comment.