twine-models 0.4.0

Domain-specific models and model-building tools for Twine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use uom::si::f64::ThermodynamicTemperature;

/// Ambient temperatures surrounding the tank.
///
/// Used to compute conductive heat exchange at the bottom, side, and top
/// surfaces when insulation allows heat transfer.
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct Environment {
    /// Temperature below the tank (applied to the bottom face of node 0).
    pub bottom: ThermodynamicTemperature,

    /// Temperature at the sides of the tank (applied to the side face of every node).
    pub side: ThermodynamicTemperature,

    /// Temperature above the tank (applied to the top face of the last node).
    pub top: ThermodynamicTemperature,
}