Skip to content

TagInput

lukas edited this page May 19, 2017 · 1 revision

Table of Contents

tag input

attribute role description
text optional text to be written unprocessed to the FDS input file, i.e. it needs / must not be a python type and therefore no additional ' are needed. The text will be prepended by a & and closed by a /.
str optional expression / value to be interpreted and written to the FDS input file. It will be prepended by a & and closed by a /.
from_file optional file that includes FDS statements to be inserted unprocessed into the FDS file
incl optional list of FDS identifiers to exclude during the evaluation of from_file
excl optional list of FDS identifiers to include during the evaluation of from_file

description

The written content, either processed or unprocessed, is prepended by a & and closed by a /. FDS statements can also be read from a file. It is possible to exclude or include specific FDS identifiers during the evaluation of said file. Setting excl and incl at the same time is not supported and will cause the program to exit with an error message to standard output. If no file is passed, setting excl or incl will have no effect.

examples

Example for the text attribute:

<input text="TIME = 10.0" />

results in the following line in the FDS input file

&TIME = 10.0 /

Example for the str attribute:

<var simulation_time="10 * 2.5" />
<input str="'TIME = %f'%simulation_time" />

results in the following line in the FDS input file

&TIME = 25.000000 /
Clone this wiki locally