Skip to content

parameterisations

Module to hold geometry parameterisation dataclasses common to multiple reactor components

RectangleGeometry dataclass

Holds data for rectangular geometries

Source code in process/models/geometry/parameterisations.py
10
11
12
13
14
15
16
17
18
19
20
21
@dataclass
class RectangleGeometry:
    """Holds data for rectangular geometries"""

    anchor_x: float
    """rectangle x coordinate anchor point"""
    anchor_z: float
    """rectangle z coordinate anchor point"""
    width: float
    """rectangle width"""
    height: float
    """rectangle height"""

anchor_x instance-attribute

rectangle x coordinate anchor point

anchor_z instance-attribute

rectangle z coordinate anchor point

width instance-attribute

rectangle width

height instance-attribute

rectangle height

ArbitraryGeometry dataclass

Holds radial and vertical coordinates for arbitrary reactor component shapes

Example: a triangular shaped component with vertices [(0,0), (1,0), (0,1)] would be represented by ArbitraryGeometry(rs=[0,1,0], zs=[0,0,1])

Source code in process/models/geometry/parameterisations.py
24
25
26
27
28
29
30
31
32
33
34
@dataclass
class ArbitraryGeometry:
    """Holds radial and vertical coordinates for arbitrary reactor component shapes

    Example: a triangular shaped component with vertices [(0,0), (1,0), (0,1)] would be represented by ArbitraryGeometry(rs=[0,1,0], zs=[0,0,1])
    """

    rs: np.ndarray
    """outboard and inboard radial coordinates"""
    zs: np.ndarray
    """outboard and inboard vertical coordinates"""

rs instance-attribute

outboard and inboard radial coordinates

zs instance-attribute

outboard and inboard vertical coordinates