== Accessing and Using Parameter Catalogs

=== Accessing XML-Catalogs

.Add Ecore data model to a third-party Java application

*TBD*

 import java.util.Collection;
 import org.eclipse.emf.common.util.URI;
 import org.eclipse.emf.ecore.resource.Resource;
 import org.eclipse.emf.ecore.resource.ResourceSet;
 import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
 import org.eclipse.emf.ecore.util.EcoreUtil;
 import de.hftstuttgart.energycomponents.EnCompPackage;
 import de.hftstuttgart.energycomponents.HeatPump;

 ResourceSet resSet = new ResourceSetImpl();
	Resource resource = resSet.getResource(URI.createURI("catalog.xml"), true);
	Collection<HeatPump> allHeatPumps = EcoreUtil.getObjectsByType(
			resource.getContents(), EnCompPackage.eINSTANCE.getHeatPump());

catalog.xml muss durch den richtigen Pfad zum XML-Katalog ersetzt werden.


.Load XML Data Catalog and Access Corresponding Java Objects in Code

*TBD*


.Access from Python?

*TBD*


=== Create Insel Models with Handlebars Templates

Handlebar templates to access data catalogs and create/parameterize textual simulation models.

.Parameterization of blocks

*TBD*
 
.Creation of submodels, e.g. computing parameterized functions

*TBD*
