quintel / etmoses

Online decision support tool to create local energy situations for neighbourhoods, cities and regions with a time resolution of 15 minutes created and maintained by Quintel – Not maintained
https://moses.energytransitionmodel.com
MIT License
11 stars 3 forks source link

Add UUID's to topology nodes when adding and inflating them #1436

Closed grdw closed 7 years ago

grdw commented 7 years ago

This module should be able to take hierarchal data like:

{ 
   name: "HV",
   children: [ { name: "MV" } ] 
}

to:

{  
  "<identifier-hv>":   { name: "HV" },
   "<identifier-mv>":  { name: "MV", parent: "<identifier-hv>" }
}

and the other way around.

antw commented 7 years ago

I'm not married to UUIDs by the way (UUIDs might be a bit long?). Any sufficiently-random string will do; maybe this?

grdw commented 7 years ago

I'm closing this due to the irrelevance in the current implementation.