spine-tools / Spine-Database-API

Database interface to Spine generic data model
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Archetype allowed parameters #12

Open spine-o-bot opened 3 years ago

spine-o-bot commented 3 years ago

In GitLab by @DillonJ on Sep 4, 2018, 10:34

The implementation of archetypes will require some meta/macro level stuff and I'm wondering how we can best do this

For example, one required functionality is that a unit_archetype would specify a list of allowed unit level parameters that you can define for unit objects that are linked to that archetype.

So let's say I want to specify that members of unit_archtype = "CHP_UNIT" must have a parameter called "ratio_op1_op2". How can we do it?

@Poncelet @juha_k @manuelma Thoughts?

jkiviluo commented 1 year ago

Something like this is planned for v0.8.2.