[][src]Struct hulc2envolventecte::parsers::bdl::WallCons

pub struct WallCons {
    pub name: String,
    pub group: String,
    pub material: Vec<String>,
    pub thickness: Vec<f32>,
    pub absorptance: f32,
}

Definición de elemento a través de sus capas

Fields

name: String

Nombre

group: String

Grupo al que pertenece (biblioteca)

material: Vec<String>

Lista de nombres de materiales de las capas ([mat1, mat2, ...])

thickness: Vec<f32>

Lista de espesores de las capas [m] ([e1, e2, ...])

absorptance: f32

Absortividad (a la radiación solar) (-) XXX: esta no es una definición del BDL pero lo usaremos para tomarla de Construction y evitar ese objeto

Implementations

impl WallCons[src]

pub fn total_thickness(&self) -> f32[src]

Espesor total de una composición de capas [m]

pub fn r_intrinsic(
    &self,
    materialsdb: &HashMap<String, Material>
) -> Result<f32, Error>
[src]

Resistencia térmica de una composición de capas [W/m2K]

Trait Implementations

impl Clone for WallCons[src]

impl Debug for WallCons[src]

impl Default for WallCons[src]

impl TryFrom<BdlBlock> for WallCons[src]

type Error = Error

The type returned in the event of a conversion error.

pub fn try_from(value: BdlBlock) -> Result<Self, Self::Error>[src]

Conversión de bloque BDL a definición de capas

Ejemplo:

    "muro_opaco" = LAYERS
        GROUP        = "envolvente"
        NAME_CALENER = ""
        NAME         = "muro_opaco"
        TYPE-DEFINITION = 1
        MATERIAL     = ("Mortero de cemento o cal para albañilería y para revoco/enlucido 1000 < d < 1250","EPS Poliestireno Expandido [ 0.029 W/[mK]]","1/2 pie LP métrico o catalán 80 mm< G < 100 mm","MW Lana mineral [0.031 W/[mK]]","Placa de yeso laminado [PYL] 750 < d < 900")
        THICKNESS = (          0.015,           0.06,          0.115,           0.04,           0.02)
        LIBRARY       =  NO
        UTIL          =  YES
        IMAGE = ""
        DEFAULT = NO
        ..

    $ LIDER antiguo
    "CONST_referencia-5" = LAYERS
        MATERIAL = ( "PlaquetaREF","MorteroREF","ForjadoREF" )
        THICKNESS = ( 0.015, 0.020, 0.250 )
        ..

XXX: Propiedades de Layers no convertidas: XXX: IMAGE, NAME_CALENER, LIBRARY, UTIL, TYPE-DEFINITION, DEFAULT

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.