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 2.22 secs
#> More information availabe at /tmp/RtmpZhomgU/model/adu/adu_t/adu_t.log
#> 
  show_log(model)
#> Date: 2024-11-20
#> Version floodam.building: 1.5.0.2
#> 	- Structure of building.xml of 'adu_t' has been successfully checked