### ===================================================================================================================
### L3-B strengthening measure
### ===================================================================================================================
# Copyright ©VIIA 2024
### ===================================================================================================================
### 1. Import modules
### ===================================================================================================================
# General imports
from __future__ import annotations
from typing import Union, TYPE_CHECKING
# References for functions and classes in the rhdhv_fem package
from rhdhv_fem.shapes import Floor
# References for functions and classes in the viiaPackage
from viiapackage.strengthening.l3.l3_multiplex_panel import viia_l3_multiplex_panel
if TYPE_CHECKING:
from viiapackage.viiaStatus import ViiaProject
### ===================================================================================================================
### 2. Function to create L3-M strengthening measure
### ===================================================================================================================
[docs]def viia_l3b(project: ViiaProject, variant: int, floor: Union[str, Floor]) -> Floor:
"""
This function creates an L3-B-measure for a selected floor. With this measure, two layers of OSB panels (12mm) is
glued and screwed underneath the existing roof. In the FEM-model the material of the floor will be adjusted with an
updated material model, mass density and thickness.
Input:
- project (obj): VIIA project object containing collections of fem objects and project variables.
- variant (int): The variant number of the measure that is in the GMC.
- floor (obj): The object reference of the floor that has to be strengthened.
Alternative (str): Name of the floor to be strengthened.
Output:
- The strengthening measure is added to the floor.
- When running in DIANA after creating the model, the DIANA model is updated.
- Returns the floor object reference on which the measure is applied.
"""
return viia_l3_multiplex_panel(
project=project, variant=variant, surface=floor, function_name='viia_l3b',
material_name='LIN-L3B')
### ===================================================================================================================
### 3. End of script
### ===================================================================================================================