Skip to content

Commit

Permalink
Merge branch 'add-model-equations-for-simple-dead-end-filtration-mode…
Browse files Browse the repository at this point in the history
…l' of https://github.com/cadet/CADET-Python-Simulator into add-model-equations-for-simple-dead-end-filtration-model
  • Loading branch information
daklauss committed Aug 1, 2024
2 parents 736558f + bf77cc1 commit 19fd1e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
test-job:
runs-on: ubuntu-latest

defaults:
run:
shell: bash -l {0}
Expand All @@ -23,7 +23,7 @@ jobs:

env:
CONDA_FILE: environment.yml

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
3 changes: 1 addition & 2 deletions CADETPythonSimulator/unit_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,6 @@ def compute_residual(

self.residuals['outlet']['c_poly'] = self.states['outlet']['c_poly']
self.residuals['outlet']['viscosity'] = self.states['outlet']['viscosity']
self.residuals['outlet']['c_poly'] = self.states['outlet']['c_poly']
self.residuals['outlet']['viscosity'] = self.states['outlet']['viscosity']

class Outlet(UnitOperationBase):
"""System outlet."""
Expand Down Expand Up @@ -544,6 +542,7 @@ class Cstr(UnitOperationBase):
}
_state_structures = ['inlet', 'bulk']


def compute_residual(
self,
t: float,
Expand Down

0 comments on commit 19fd1e7

Please sign in to comment.