From de153a70a47659802da1497fc8f41017cbec07f9 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 16 Jan 2025 12:42:18 -0500 Subject: [PATCH] Updaing docs and doc strings --- docs/reference_guides/core/control_volume_0d.rst | 2 +- docs/reference_guides/core/control_volume_1d.rst | 2 +- idaes/core/base/extended_control_volume0d.py | 2 +- idaes/core/base/extended_control_volume1d.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reference_guides/core/control_volume_0d.rst b/docs/reference_guides/core/control_volume_0d.rst index 4149f80834..bd0c73b926 100644 --- a/docs/reference_guides/core/control_volume_0d.rst +++ b/docs/reference_guides/core/control_volume_0d.rst @@ -307,6 +307,6 @@ A constraint equating temperature at the inlet and outlet of the control volume **Constraints** -`enthalpy_balances(t)`: +`isothermal_constraint(t)`: .. math:: T_{in, t} == T_{out, t} diff --git a/docs/reference_guides/core/control_volume_1d.rst b/docs/reference_guides/core/control_volume_1d.rst index ba34b22834..3118f37557 100644 --- a/docs/reference_guides/core/control_volume_1d.rst +++ b/docs/reference_guides/core/control_volume_1d.rst @@ -336,7 +336,7 @@ A constraint equating temperature along the length domain of the control volume **Constraints** -`enthalpy_balances(t)`: +`isothermal_constraint(t, x)`: .. math:: T_{t, x-1} == T_{t, x} diff --git a/idaes/core/base/extended_control_volume0d.py b/idaes/core/base/extended_control_volume0d.py index d435cd0a99..e82b6842f1 100644 --- a/idaes/core/base/extended_control_volume0d.py +++ b/idaes/core/base/extended_control_volume0d.py @@ -73,7 +73,7 @@ def add_isothermal_constraint( Method should accept time and phase list as arguments. Returns: - Constraint object representing enthalpy balances + Constraint object representing isothermal constraint """ if has_heat_transfer: raise ConfigurationError( diff --git a/idaes/core/base/extended_control_volume1d.py b/idaes/core/base/extended_control_volume1d.py index 463edd7dfc..af47e6e0a2 100644 --- a/idaes/core/base/extended_control_volume1d.py +++ b/idaes/core/base/extended_control_volume1d.py @@ -74,7 +74,7 @@ def add_isothermal_constraint( Method should accept time and phase list as arguments. Returns: - Constraint object representing enthalpy balances + Constraint object representing isothermal constraints """ if has_heat_transfer: raise ConfigurationError(