Concept of the Integration of INSEL models into SimStadt
# Concept of the Integration of INSEL models into SimStadt
- Develop an INSEL model or a template of an INSEL model
- Develop the functional part of the WFS that will be used to generate the INSEL model
The main concept to integrate INSEL models into SimStadt is to introduce a SimStadt Workflow step *INSEL templater* that is able to
1. read an INSEL template
2. writes an INSEL model per feature of interest based on the INSEL template
3. executes the INSEL model
4. reads the results written by the INSEL process and maps the resulting values to the SimStadt data model
In a first prototype, the INSEL template is restricted to variables only. The feature of interest are buildings. For the implementation, the Java-Library handlebars (https://github.com/jknack/handlebars.java) has been choosen. That iomplies that a variable in the INSEL template has been encapsulated by two brackets: {{name of variable}}. To avoid an additional mapping between variables in teh INSEL template and attributes in the SimStadt data model, the names of the variables in the INSEL template have to be the same as in the SimStadt data model.