Skip to content

Commit

Permalink
apply black format to the whole repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedongPeng committed May 16, 2024
1 parent 0258a8a commit 6b486cd
Show file tree
Hide file tree
Showing 22 changed files with 4,863 additions and 2,656 deletions.
8 changes: 2 additions & 6 deletions gdplib/gdp_col/initialize.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Initialization routine for distillation column"""

from __future__ import division

import pandas
Expand Down Expand Up @@ -173,12 +174,7 @@ def set_value_if_not_fixed(var, val):
m.Pvap[c, t].set_value(
value(
exp(
(
k['A'] * x
+ k['B'] * x**1.5
+ k['C'] * x**3
+ k['D'] * x**6
)
(k['A'] * x + k['B'] * x**1.5 + k['C'] * x**3 + k['D'] * x**6)
/ (1 - x)
)
* k['Pc']
Expand Down
Loading

0 comments on commit 6b486cd

Please sign in to comment.