Skip to content

Commit fa60f65

Browse files
authored
Merge pull request #8 from pathsim/migration-from-pathsim
fix imports
2 parents cf9fc90 + 3ba4908 commit fa60f65

6 files changed

Lines changed: 7 additions & 11 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.

src/pathsim_chem/tritium/bubbler.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
#########################################################################################
22
##
33
## Bubbler Block
4-
## (blocks/fusion/bubbler.py)
54
##
65
#########################################################################################
76

87
# IMPORTS ===============================================================================
98

109
import numpy as np
1110

12-
from ..dynsys import DynamicalSystem
13-
from ...events.schedule import ScheduleList
11+
from pathsim.blocks.dynsys import DynamicalSystem
12+
from pathsim.events.schedule import ScheduleList
1413

1514

1615
# BLOCK DEFIINITIONS ====================================================================

src/pathsim_chem/tritium/residencetime.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
#########################################################################################
22
##
33
## Blocks for residence time modeling
4-
## (blocks/fusion/residencetime.py)
54
##
65
#########################################################################################
76

87
# IMPORTS ===============================================================================
98

109
import numpy as np
1110

12-
from ..dynsys import DynamicalSystem
11+
from pathsim.blocks.dynsys import DynamicalSystem
1312

1413

1514
# BLOCKS ================================================================================

src/pathsim_chem/tritium/splitter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
#########################################################################################
22
##
33
## Flow Splitter Block
4-
## (blocks/fusion/splitter.py)
54
##
65
#########################################################################################
76

87
# IMPORTS ===============================================================================
98

109
import numpy as np
1110

12-
from ..function import Function
11+
from pathsim.blocks.function import Function
1312

1413

1514
# BLOCKS ================================================================================

src/pathsim_chem/tritium/tcap.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
#########################################################################################
22
##
33
## Blocks for Thermal Cycle Absorption Process (TCAP) modelling
4-
## (blocks/fusion/tcap.py)
54
##
65
#########################################################################################
76

87
# IMPORTS ===============================================================================
98

10-
from ..ode import ODE
9+
from pathsim.blocks.ode import ODE
1110

1211

1312
# BLOCKS ================================================================================
@@ -16,7 +15,7 @@ class TCAP1D(ODE):
1615
"""This block models the Thermal Cycle Absorption Process (TCAP) in 1d.
1716
1817
The model uses a 1d finite difference spatial discretization to construct
19-
a nonlinear ODE internally as proposed in
18+
a nonlinear ODE internally as proposed in
2019
2120
https://doi.org/10.1016/j.ijhydene.2023.03.101
2221

tests/tritium/test_bubbler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
# TESTS ================================================================================
2020

21-
class TestFusionBubbler4(unittest.TestCase):
21+
class TestTritiumBubbler4(unittest.TestCase):
2222
"""
2323
Test the implementation of the 'Bubbler4' block class from the fusion toolbox.
2424
The block inherits from `ODE` and models a 4-vial tritium collection system.

0 commit comments

Comments
 (0)