ESDL
  • ESDL Documentation
  • Introduction
  • Energy Data Modelling
  • ESDL concepts
    • Design principles
    • Energy System structure
    • Data types
      • Energy System
      • Areas
      • Items, Assets, EnergyAssets and Services
        • Overview of EnergyAssets
      • Profiles
      • Energy System Information
        • Carriers
        • DataSources
        • Mobility Fuel Information
        • Profiles
        • Quantities And Units
        • Sectors
      • KPIs
    • ESDL model
  • How to use ESDL
    • Using ESDL to model an energy system
      • Setup Eclipse using the update site
      • ESDL Tree editor
      • ESDL Graphical editor / ESDL Designer
    • Example ESDL models
      • Describing a house
      • Describing a municipality
      • Describing a profile
  • ESDL models and tools
    • ESDL MapEditor
    • Energy System Simulator (ESSIM)
    • Energy Data Repository (EDR)
  • ESDL related projects
    • Warming Up
    • Mondaine
  • Software development with ESDL
    • Integration with Java
    • Integration with Python and pyEcore
    • Jupyter Notebook ESDL tutorial
  • Contributing to ESDL
    • Setting up the Eclipse Modelling Tools
      • Generating model, edit and editor code
  • Contact
  • ESDL Release Notes
  • ESDL Color Scheme
Powered by GitBook
On this page
  • Download Eclipse Modelling tools
  • Setting up Eclipse Modelling Tools
  1. Contributing to ESDL

Setting up the Eclipse Modelling Tools

PreviousContributing to ESDLNextGenerating model, edit and editor code

Last updated 6 years ago

Download Eclipse Modelling tools

Currently Photon is the latest stable release of Eclipse. You can download the Eclipse installer from the and select the Eclipse Modelling Tools from the list of options after running the executable.

Setting up Eclipse Modelling Tools

After downloading and installing Eclipse and Eclipse Modelling Tools, you start Eclipse by double clicking on the created icon on the Desktop (if you are using Windows...). It will ask you where you want to place your workspace files. Select a logical location and you end up with a welcome screen.

If you did not clone the repository yet, now is a good moment with your preferred GIT tool or use Eclipse to import the repository directly.

Next step is importing the ESDL git repository by using File -> Import... If you already cloned the repository locally, use Existing Project into Workspace and the project will be imported. If you want to directly import the project from Git, use Git->Projects from Git.

After importing, the Package explorer will show the following files and directories:

In the model folder you see several files:

  • esdl.aird - In this file the graphical representation of the ESDL concepts are documented, such as the (x,y) location of the classes, the colour of the classes, the font, etc. It allows us to visually modify the contents of the ESDL model. If you double click you can open the ESDL model diagram editor and manipulate the model.

  • esdl.ecore - This is ESDL. The UML-based model describing all ESDL concepts: the vocabulary and grammar of an Energy System. If you double click you can edit the ESDL model using a tree-based structure (less convenient than the diagram editor)

  • esdl.genmodel - This file describes how to generate Java-files and XSD Schemas from an ecore-file. It contains a dozen configuration options.

  • esdlXML.xsd - this is the XML Schema file for ESDL

  • esdlXML.xsd2ecore - maps the XSD to the Ecore model.

Double clicking on the aird-file opens the following dialog:

The AIRD file shows the model dependencies and representation. The Design->Entities in a Class Diagram is the most interesting. Double click on esdl to open this representation.

There is also a Review representation that shows all the documentation in the model. (although this is work in progress).

Now you're setup to edit the Energy System Description Language!

general download page