File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#########################################################################################
22##
33## Bubbler Block
4- ## (blocks/fusion/bubbler.py)
54##
65#########################################################################################
76
87# IMPORTS ===============================================================================
98
109import 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 ====================================================================
Original file line number Diff line number Diff line change 11#########################################################################################
22##
33## Blocks for residence time modeling
4- ## (blocks/fusion/residencetime.py)
54##
65#########################################################################################
76
87# IMPORTS ===============================================================================
98
109import numpy as np
1110
12- from . .dynsys import DynamicalSystem
11+ from pathsim . blocks .dynsys import DynamicalSystem
1312
1413
1514# BLOCKS ================================================================================
Original file line number Diff line number Diff line change 11#########################################################################################
22##
33## Flow Splitter Block
4- ## (blocks/fusion/splitter.py)
54##
65#########################################################################################
76
87# IMPORTS ===============================================================================
98
109import numpy as np
1110
12- from . .function import Function
11+ from pathsim . blocks .function import Function
1312
1413
1514# BLOCKS ================================================================================
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments