Skip to content

Commit

Permalink
Disable polynomial flow_rate_filter
Browse files Browse the repository at this point in the history
This is currently not supported by CADET-Core.

See [modsim/CADET#28].
  • Loading branch information
schmoelder committed Aug 18, 2023
1 parent de21624 commit 08121b5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_unit_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def test_parameters(self):
parameters_expected = {
'flow_rate': np.array([1, 0, 0, 0]),
'porosity': total_porosity,
'flow_rate_filter': np.array([0, 0, 0, 0]),
'flow_rate_filter': 0,
'c': [0, 0],
'q': [],
'V': volume,
Expand All @@ -201,15 +201,14 @@ def test_parameters(self):

sec_dep_parameters_expected = {
'flow_rate': np.array([1, 0, 0, 0]),
'flow_rate_filter': np.array([0, 0, 0, 0]),
'flow_rate_filter': 0,
}
np.testing.assert_equal(
sec_dep_parameters_expected, cstr.section_dependent_parameters
)

poly_parameters = {
'flow_rate': np.array([1, 0, 0, 0]),
'flow_rate_filter': np.array([0, 0, 0, 0]),
}
np.testing.assert_equal(
poly_parameters, cstr.polynomial_parameters
Expand Down

0 comments on commit 08121b5

Please sign in to comment.