Skip to content

Energy System Template

Goal

Proof of concept for dynamic templates, writing INSEL models and using information from an energy component library. One template will be written for each building. These templates are specially defined for energy systems, and should come after hourly heat demand.

Technical information

Class EnergySystemTemplate
Superclass DynamicTemplate
Author
Maintainer
Source location simstadt-workflows-energy/src/main/java/de/hftstuttgart/simstadtworkflowsteps/template/EnergySystemTemplate.java
Package de.hftstuttgart.simstadtworkflowsteps.template
Project simstadt-workflows-energy

Dependencies

Parameters

Energy system (systemType)

Which energy system should be used? (e.g. Heat pump & Gas boiler). It will influence both templates and the dynamic variables.

Only one system has been defined so far.

  • Type : EnergySystem
  • Default : Heat pump and Gas boiler
  • Getter : getSystemType()
  • Setter : setSystemType(EnergySystem)

Template name (templateName)

Filename ('example.hbs') or basename ('example') of Handlebars template.

The corresponding file should be in the current project or workflowstep folder.

Leave this parameter empty in order to write an example template file.

  • Type : String
  • Default : ``
  • Getter : getTemplateName()
  • Setter : setTemplateName(String)

Energy components catalog filename (energyComponentsCatalogFilename)

Filename of energy components catalog.

The corresponding file should be in the current project or workflowstep folder.

  • Type : String
  • Default : Catalog.encomp

  • Unit : [.encomp]

  • Getter : getEnergyComponentsCatalogFilename()
  • Setter : setEnergyComponentsCatalogFilename(String)

Output filename (outputFilename)

For each building, one output file will be written.

A custom filename can be specified with variables: '{{model.name}}-{{building.gmlId}}-{{template}}.insel'

Which would compile to "20140218_Gruenbuehl_LOD2_2buildings-DEBW_LOD2_1007720-test_template.insel"

  • Type : String
  • Default : {{model.name}}-{{building.gmlId}}-{{template}}
  • Getter : getOutputFilename()
  • Setter : setOutputFilename(String)

Supply temperature (supplyTemperature)

Supply temperature for energy system

  • Type : int
  • Default : 60

  • Unit : [°C]

  • Getter : getSupplyTemperature()
  • Setter : setSupplyTemperature(int)

Return temperature (returnTemperature)

Return temperature for energy system

  • Type : int
  • Default : 35

  • Unit : [°C]

  • Getter : getReturnTemperature()
  • Setter : setReturnTemperature(int)

Peak load percentage (peakLoadPercentage)

The system is based on two components (e.g. Heat pump & gas boiler). Which percentage of the peak load should be covered by the primary component? (e.g. 70%)

The secondary component will cover the rest (e.g. 30%).

  • Type : int
  • Default : 100

  • Unit : [%]

  • Getter : getPeakLoadPercentage()
  • Setter : setPeakLoadPercentage(int)

Water tank buffer duration (waterTankBufferDuration)

How long should the water tank be able to cover the average load?

  • Type : int
  • Default : 3

  • Unit : [h]

  • Getter : getWaterTankBufferDuration()
  • Setter : setWaterTankBufferDuration(int)

Launch INSEL (runInsel)

Run INSEL on the compiled model, for each building.

  • Type : boolean
  • Default : false
  • Getter : isRunInsel()
  • Setter : setRunInsel(boolean)

Used in