building-envelope-data / api

API specification to exchange data about building envelopes
MIT License
3 stars 1 forks source link

Parametrization of products #229

Open christoph-maurer opened 3 years ago

christoph-maurer commented 3 years ago

Products can be parametrized for example with a parameter w for the width. Some products can be parametrized easily. Others involve complex formulas to calculate the properties depending on the parameters. There are several options to deal with the parametrization:

  1. The logic of the parametrization can be developed for example by a manufacturer in her database while the exchange of product data is static.
  2. methods are being developed which receive arguments as parameters and a basic product data as source. As output, the method creates the parametrized product data.
  3. A framework is being developed with many rules or relations which make it easy to create parametrized product data.

Option 1 is currently implemented. It has the advantage that the data exchange and the API specification is simpler and that the owners of a database have full flexibility in how to model the parametrization of their products.

In Option 2, it could be a reasonable next step in a follow-up project to create simple methods for simple parametrizations based on basic product data.

Option 3 would require a considerable research budget to describe and implement all relations which are necessary to parametrize product data. In the API specification, there would be the choice between a number or string and a formula for example in Latex format. Option 3 would develop a general "language" to describe and exchange parametric behavior of product data. For this, a follow-up project dedicated to option 3 would be necessary.