{
    "metadata": {
        "title": "Test of aggregated node constraints",
        "minimum_version": "0.1"
    },
    "timestepper": {
        "start": "2016-01-01",
        "end": "2016-01-02",
        "timestep": 1
    },
    "nodes": [
        {
            "name": "A",
            "type": "input",
            "max_flow": 50
        },
        {
            "name": "B",
            "type": "input",
            "max_flow": 50
        },
        {
            "name": "Z",
            "type": "output",
            "max_flow": 100,
            "cost": -100
        },
        {
            "name": "agg",
            "type": "AggregatedNode",
            "nodes": ["A", "B"],
            "factors": [2.0, 4.0],
            "flow_weights": [1.0, 1.0],
            "max_flow": 30.0,
            "min_flow": 5.0
        }
    ],
    "edges": [
        ["A", "Z"],
        ["B", "Z"]
    ]
}
