Skip to contents

Show useful information of model.

Usage

show_log(model)

Arguments

model

model

Examples


  model_path = list(
    data = system.file("extdata", package = "floodam.building"),
    output = tempdir()
  )
  model = analyse_model(
    model = "adu_t", 
    type = "adu", 
    stage = c("load", "extract", "damaging"), 
    path = model_path
  )
#> Loading model 'adu_t'...
#> 	- Structure of building.xml of 'adu_t' has been successfully checked
#> 	... successful
#> Extracting building information for 'adu_t'...
#> 	- extracted:
#> 		- parameter
#> 		- storey
#> 		- room
#> 		- wall
#> 		- opening
#> 		- coating
#> 		- furniture
#> 	- missing (not found):
#> 	... Informations successfully extracted for 'adu_t'
#> Computing some values for 'adu_t'...
#> 	... Informations successfully extracted for 'adu_t'
#> Computing damage for 'adu_t'...
#> 	... Damaging successfully computed for 'adu_t'
#> End of analysis for 'adu_t'. Total elapsed time 0.80 secs
#> More information availabe at /tmp/RtmpVBDWD4/model/adu/adu_t/adu_t.log
  show_log(model)
#> Date: 2025-09-05
#> Version floodam.building: 1.7.3.0
#> 	- Structure of building.xml of 'adu_t' has been successfully checked
#> 	1. Compute damage for room
#> 		Preparing ceiling
#> 		Start adjusting elementary functions for room
#> 		Post-treatment for room
#> 	2. Compute damage for wall
#> 		Compute surface_height
#> 		Start adjusting elementary functions for wall
#> 		Post-treatment for wall
#> 	3. Compute damage for opening
#> 		Start adjusting elementary functions for opening
#> 		Post-treatment for opening
#> 	4. Compute damage for coating
#> 		Compute surface_height
#> 		Start adjusting elementary functions for coating
#> 		Post-treatment for coating
#> 	5. Compute damage for furniture
#> 		Start adjusting elementary functions for furniture
#> 		Post-treatment for furniture