> For the complete documentation index, see [llms.txt](https://energytransition.gitbook.io/esdl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://energytransition.gitbook.io/esdl/how-to-use-esdl/example-esdl-models/describing-a-house.md).

# Describing a house

An example house as shown in the picture below can easily be described in ESDL.

![](/files/-LHm8saWFwlH-Nl6o5ss)

In the eclipse tree editor the house would look like this:

![](/files/-LHm8saYG3JUcQHa5K-c)

In the eclipse graphical desginer the house (with an EnergySystem, Instance and Area around it) would look like this:

![](/files/-LK7CGjAiFMBkWusYFEn)

The ESDL would look like this:

```markup
<?xml version="1.0" encoding="UTF-8"?>
<esdl:Building
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:esdl="http://www.tno.nl/esdl/1807a"
    xsi:schemaLocation="http://www.tno.nl/esdl/1807a ../esdl/model/esdl.ecore"
    id="H1"
    name="House 1"
    commissioningDate="2010-07-15T01:00:00.000+0200"
    energyLabel="LABEL_D"
    slantedRoofArea="60.0">
  <asset xsi:type="esdl:ElectricityNetwork"
      id="EN1"
      name="In house Electricity Network"
      voltage="230.0">
    <port xsi:type="esdl:InPort"
        id="ENIP1"
        connectedTo="ECOP1"/>
    <port xsi:type="esdl:InPort"
        id="ENIP2"
        connectedTo="PVOP1"/>
    <port xsi:type="esdl:OutPort"
        id="ENOP1"
        connectedTo="BIP1"/>
    <port xsi:type="esdl:OutPort"
        id="ENOP2"
        connectedTo="EVIP1"/>
    <port xsi:type="esdl:OutPort"
        id="ENOP3"
        connectedTo="EDIP1"/>
  </asset>
  <asset xsi:type="esdl:EConnection"
      id="EC1"
      name="Electricity Connection">
    <port xsi:type="esdl:InPort"
        id="ECIP1"/>
    <port xsi:type="esdl:OutPort"
        id="ECOP1"
        connectedTo="ENIP1"/>
  </asset>
  <asset xsi:type="esdl:ElectricityDemand"
      id="ED1"
      name="Electricity Demand">
    <port xsi:type="esdl:InPort"
        id="EDIP1"
        connectedTo="ENOP3"/>
  </asset>
  <asset xsi:type="esdl:EVChargingStation"
      id="EV1"
      name="EV Charging Station">
    <port xsi:type="esdl:InPort"
        id="EVIP1"
        connectedTo="ENOP2"/>
  </asset>
  <asset xsi:type="esdl:Battery"
      id="B1"
      name="Battery">
    <port xsi:type="esdl:InPort"
        id="BIP1"
        connectedTo="ENOP1"/>
  </asset>
  <asset xsi:type="esdl:PVPanel"
      id="PV1"
      name="PV Panels on Roof"
      surfaceArea="16"
      power="3000.0">
    <port xsi:type="esdl:OutPort"
        id="PVOP1"
        connectedTo="ENIP2"/>
  </asset>
  <asset xsi:type="esdl:GConnection"
      id="GC1"
      name="Gas Connection">
    <port xsi:type="esdl:InPort"
        commodity="GAS"
        id="GCIP1"/>
    <port xsi:type="esdl:OutPort"
        commodity="GAS"
        id="GCOP1"
        connectedTo="GHIP1"/>
  </asset>
  <asset xsi:type="esdl:GasHeater"
      id="GH1"
      name="Gas Heater"
      efficiency="90.0">
    <port xsi:type="esdl:InPort"
        commodity="GAS"
        id="GHIP1"
        connectedTo="GCOP1"/>
    <port xsi:type="esdl:OutPort"
        commodity="HEAT"
        id="GHOP1"
        connectedTo="SHDIP1"/>
    <port xsi:type="esdl:OutPort"
        commodity="HEAT"
        id="GHOP2"
        connectedTo="HTWDIP1"/>
  </asset>
  <asset xsi:type="esdl:HeatingDemand"
      id="SHD1"
      name="Space Heating Demand">
    <port xsi:type="esdl:InPort"
        commodity="HEAT"
        id="SHDIP1"
        connectedTo="GHOP1"/>
  </asset>
  <asset xsi:type="esdl:HeatingDemand"
      id="HTW1"
      name="Hot Tapwater Demand">
    <port xsi:type="esdl:InPort"
        commodity="HEAT"
        id="HTWDIP1"
        connectedTo="GHOP2"/>
  </asset>
</esdl:Building>
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://energytransition.gitbook.io/esdl/how-to-use-esdl/example-esdl-models/describing-a-house.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
