Skip to content

Commit 960b3ae

Browse files
authors
1 parent 743170b commit 960b3ae

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

idaes/models/unit_models/pipe.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
# for full copyright and license information.
1212
#################################################################################
1313
"""
14-
Standard IDAES Pipe model.
14+
Model of an empty pipe, derived from the PFR model by removing reaction terms.
1515
"""
16+
1617
# Import Pyomo libraries
1718
from pyomo.environ import ComponentMap, Constraint, Reference, Var
1819
from pyomo.common.config import ConfigBlock, ConfigValue, In, ListOf, Bool
@@ -31,7 +32,7 @@
3132
from idaes.core.util.misc import add_object_reference
3233
from idaes.core.scaling import CustomScalerBase, DefaultScalingRecommendation
3334

34-
__author__ = "Andrew Lee, John Eslick"
35+
__author__ = "Douglas Allan, Andrew Lee, John Eslick"
3536

3637

3738
class PipeScaler(CustomScalerBase):

idaes/models/unit_models/tests/test_pipe.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111
# for full copyright and license information.
1212
#################################################################################
1313
"""
14-
Tests for Pipe.
14+
Tests for the Pipe unit model, derived from the tests for the PFR model.
1515
16-
Author: Douglas Allan
16+
Authors: Douglas Allan, Andrew Lee, John Eslick
1717
"""
18+
1819
import re
1920
import pytest
2021

@@ -55,7 +56,6 @@
5556
from idaes.core.util import DiagnosticsToolbox
5657
from idaes.core.scaling.util import jacobian_cond
5758

58-
5959
# -----------------------------------------------------------------------------
6060
# Get default solver for testing
6161
solver = get_solver("ipopt_v2")

0 commit comments

Comments
 (0)