From c1e8e4486ea5c447891b71f3946d171e69d8aa76 Mon Sep 17 00:00:00 2001 From: "Prof. Dr. Volker Coors" <volker.coors@hft-stuttgart.de> Date: Sun, 19 Jul 2020 11:04:54 +0000 Subject: [PATCH] Update 01 Background_and_Definitions.adoc --- .../01 Background_and_Definitions.adoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/D01 Integration of INSEL Models and SimStadt/01 Background_and_Definitions.adoc b/D01 Integration of INSEL Models and SimStadt/01 Background_and_Definitions.adoc index 84f9307..1c06f98 100644 --- a/D01 Integration of INSEL Models and SimStadt/01 Background_and_Definitions.adoc +++ b/D01 Integration of INSEL Models and SimStadt/01 Background_and_Definitions.adoc @@ -15,7 +15,7 @@ In general, a workflow step in SimStadt consists of a functional part F, connect [#img_WFS,reftext='{figure-caption} {counter:figure-num}'] .The three components of a SimStadt Workflow Step -image::img/WFS.png[align="center"] +image::img/WFS.png[align="left"] The functional part of the Workflow step encapsulates the purpose of a particular workflow step. For example, the calculation of the volume of a building happens here. The functional part has to be independend of the communication between workflow steps as well as the HCI part. Why? Because a workflow step has to have the same functionality in the SimStadt desktop application and as Web Services. In addition, the workflow can be executed as a batch process and as an interactive system. @@ -66,7 +66,9 @@ This algebra can be implemented as a data model using UML. A building will be implemented as a data type _Building_. The set of buildings S~0~ will be implemented by a class _BuildingCollection_ using the well know abstract data type Set. The set S~1~ will be implemented as _float_. The class _Building_ has three methods to implement the operations of F: _Building()_ to create an instance of a Building, _volume()_ to get the volume of a Building, and _heatedVolume()_ to get the heated volume of a Building. Please note that in contrast to the operations f~1~ and f~2~ the methods _volume()_ and _heatedVolume()_ do not have a building as a parameter as they operate on the specific instance of the class _Building_. - +[#img_UML_Ex1,reftext='{figure-caption} {counter:figure-num}'] +.Example SimStadt Data Model +image::img/UML_Ex1.png[align="left"] In Java, the data types Building and BuildingCollection can be implemented as classes: -- GitLab