Skip to content
Benjamin Bertin edited this page Feb 9, 2015 · 2 revisions

GET group/gp/group_id or group/gc/group_id

This methods return a group of process (using gp/group_id) or a group of coefficient (using gc/group_id).

The following JSON code snippet shows a process group object having two dimensions both containing one keyword. The important attributes are the dimensions, the sourceRelations and the elementsImpactsAndFlows:

{
  "id": "gp/proecss_group_1",
  "comment": "Comment on process group 1",
  "label": "Process group 1 name",
  "unit": {
    "id": "u/km",
    "symbol": "km",
    "ref": "km",
    "conversionFactor": 1.0
  },
  "type": "PROCESS",
  "commonKeywords": [],
  "dimensions": [
    {
      "id": "d/dimension_1",
      "keywords": [
        {
          "id": "k/keyword_1",
          "label": "Keyword 1 name"
        }
      ],
      "keywordsPosition": {},
      "orientation": "HORIZONTAL"
    },
    {
      "id": "d/dimension_2",
      "keywords": [
        {
          "id": "k/keyword_2",
          "label": "Keyword 2 name"
        }
      ],
      "keywordsPosition": {},
      "orientation": "VERTICAL"
    }
  ],
  "overlap": [],
  "references": [],
  "sourceRelations": [
    {
      "id": "r/relation_1",
      "exponent": 1,
      "type": {
        "id": "rt/synchronous_dependency",
        "label": "Synchronous dependency",
        "comment": "Upstream and downstream process occur simultaneously. Upstream process can be viewed as a part of downstream process. ",
        "type": "SYNCHRONOUS"
      },
      "source": {
        "id": "gp/upstream_process_group",
        "label": "Upstream process group name"
      },
      "coeff": {
        "id": "gc/coefficient_group_1",
        "label": "Coefficient group 1 name"
      },
      "destination": {
        "id": "gp/process_group_1",
        "label": "Process group 1 name"
      },
      "derivedRelations": [
        {
          "exponent": 1,
          "sourceId": "sp/upstream_single_process",
          "sourceUnit": {
            "id": "u/km_year",
            "symbol": "km.yr",
            "ref": "km.an",
            "conversionFactor": 3.155692596E7
          },
          "sourceKeywords": [
            {
              "id": "k/upstream_single_process",
              "label": "Upstream single process"
            }
          ],
          "coeffId": "sc/single_coefficient_1",
          "coeffUnit": {
            "id": "u/day",
            "symbol": "day",
            "ref": "jour",
            "conversionFactor": 86400.0
          },
          "coeffKeywords": [
            {
              "id": "k/keyword_2",
              "label": "Keyword 2 name"
            }
          ],
          "destinationId": "sp/single_process",
          "destinationUnit": {
            "id": "u/km",
            "symbol": "km",
            "ref": "km",
            "conversionFactor": 1.0
          },
          "destinationKeywords": [
            {
              "id": "k/keyword_1",
              "label": "Keyword 1 name"
            },
            {
              "id": "k/keyword_2",
              "label": "Keyword 2 name"
            }
          ],
          "sourceRelation": {
            "id": "r/relation_1",
            "exponent": 1,
            "type": {
              "id": "rt/synchronous_dependency",
              "label": "Synchronous dependency",
              "comment": "Upstream and downstream process occur simultaneously. Upstream process can be viewed as a part of downstream process. ",
              "type": "SYNCHRONOUS"
            },
            "source": {
              "id": "gp/upstream_process_group",
              "label": "Upstream process group name"
            },
            "coeff": {
              "id": "gc/coefficient_group_1",
              "label": "Coefficient group 1 name"
            },
            "destination": {
              "id": "gp/process_group_1",
              "label": "Process group 1 name"
            }
          }
        }
      ]
    }
  ],
  "elementsURI": {
    "k/keyword_1+k/keyword_2+u/km": "sp/single_process"
  },
  "elementsImpactsAndFlows": {
    "k/keyword_1+k/keyword_2+u/km": {
      "eft/ghg/ch4": {
        "value": 61.958886695059,
        "uncertainty": 0.0
      },
      "it/ghg_emission_measured_using_gwp_over_500_years": {
        "value": 470.8875388824484,
        "uncertainty": 0.0
      },
      "it/ghg_emission_measured_using_gwp_over_100_years": {
        "value": 2106.602147632006,
        "uncertainty": 0.0
      },
      "it/ghg_emission_measured_using_gwp_over_20_years": {
        "value": 5328.464255775074,
        "uncertainty": 0.0
      }
    },
    "k/keyword_1+k/keyword_2+u/km": {
      "eft/ghg/ch4": {
        "value": 0.09680941352871025,
        "uncertainty": 0.0
      },
      "eft/pe/undifferentiated": {
        "value": 29.33618591779096,
        "uncertainty": 0.0
      },
      "eft/ghg/n2o": {
        "value": 0.00211220538608095,
        "uncertainty": 0.0
      },
      "eft/ghg/co2": {
        "value": 274.4468465914754,
        "uncertainty": 0.0
      },
      "eft/pe/natural_gas": {
        "value": 37.159168829201896,
        "uncertainty": 0.0
      },
      "eft/pe/crude_oil": {
        "value": 977.8728639263654,
        "uncertainty": 0.0
      },
      "it/ghg_emission_measured_using_gwp_over_500_years": {
        "value": 275.505765558364,
        "uncertainty": 0.0
      },
      "it/total_primary_energy": {
        "value": 1044.3682186733583,
        "uncertainty": 0.0
      },
      "it/ghg_emission_measured_using_gwp_over_100_years": {
        "value": 278.36780385650366,
        "uncertainty": 0.0
      },
      "it/ghg_emission_measured_using_gwp_over_20_years": {
        "value": 283.33852719841417,
        "uncertainty": 0.0
      }
    }
  }
}
Clone this wiki locally