pywr / pywr-next

An experimental repository exploring ideas for a major revision to Pywr using Rust as a backend.
6 stars 4 forks source link

Separate virtual nodes from the network definition #65

Open jetuk opened 11 months ago

jetuk commented 11 months ago

There's also a random question of whether these "virtual" nodes should be defined somewhere separately in JSON. They are not part of the network really. You could imagine a format a bit like this:

{
  "network": {
    "nodes": [
       // ... all the network nodes
     ],
    "edges": [
       // ... and their connectivity
    ]
  },
  "virtual / groups / licences / constraints": [
    // Definition of all other non-network nodes
   ]
}
jetuk commented 4 months ago

It was also discussed to rename VirtualStorage to Licence for better alignment with user expectations.