Skip to content

Build Tool: Workspace

Jun Wang edited this page Mar 15, 2021 · 8 revisions

Workspace

A workspace is a collections of scenarios and experiments that user created from a case. It saves the states of the build tool, and can be used to restore the build tool for resuming works and sharing among users.

Data structure

Workspace Name
Description
Editing History
    [User, Comments, Time]
CaseID
Scenarios
    [
      ScenarioID
      ScenarioTitle
      Sources
      Sinks
      Parameters [Capital_Recovery_Rate,Project_Period,Capture_Target]
      Experiments [ExperimentID, ExperimentName, ExperimentParameters,ExperimentURL, ExperimentState, ExperimentResult]
    ]

A simple testing workspace

{
  "Name": "simpleworkspace",
  "Descripton": "for debugging purpose",
  "Time": "3/15/2021, 9:07:44 AM",
  "CaseID": "123test",
  "Scenarios": [
    {
      "ScenarioID": "scenario1",
      "ScenarioTitle": "Simple Test",
      "Parameters": {
        "Capital_Recovery_Rate": "0.1",
        "Project_Period": "10",
        "Capture_Target": "25"
      },
      "Sources": [
        {
          "ID": 1,
          "costFix ($M)": 0,
          "fixO&M ($M/y)": 0,
          "varO&M ($/tCO2)": 18.4,
          "capMax (MtCO2/y)": 1,
          "N/A": "-",
          "LON": -88.88606,
          "LAT": 39.86731,
          "NAME": "ADM Decatur"
        },
        {
          "ID": 2,
          "costFix ($M)": 0,
          "fixO&M ($M/y)": 0,
          "varO&M ($/tCO2)": 81.21,
          "capMax (MtCO2/y)": 0.292,
          "N/A": "-",
          "LON": -88.241592,
          "LAT": 40.103901,
          "NAME": "Abbot Power"
        }
      ],
      "Sinks": [
        {
          "ID": 111,
          "Sink_ID": 992,
          "fieldCap (MtCO2)": 63.21374138,
          "costFix ($M)": 0,
          "fixO&M ($M/yr)": 0,
          "wellCap (MtCO2/yr)": 0,
          "wellCostFix ($M)": 0,
          "wellFixO&M ($M/yr)": 0,
          "varO&M ($/tCO2)": 4.12118668,
          "N/A": 0,
          "LON": -89.03891855,
          "LAT": 39.97707415,
          "N/A.1": 0,
          "N/A.2": 0,
          "N/A.3": 0,
          "N/A.4": 0,
          "Name": 13151
        },
        {
          "ID": 88,
          "Sink_ID": 887,
          "fieldCap (MtCO2)": 46.45198914,
          "costFix ($M)": 0,
          "fixO&M ($M/yr)": 0,
          "wellCap (MtCO2/yr)": 0,
          "wellCostFix ($M)": 0,
          "wellFixO&M ($M/yr)": 0,
          "varO&M ($/tCO2)": 4.842100238,
          "N/A": 0,
          "LON": -88.96707795,
          "LAT": 39.69767352,
          "N/A.1": 0,
          "N/A.2": 0,
          "N/A.3": 0,
          "N/A.4": 0,
          "Name": 11642
        },
        {
          "ID": 116,
          "Sink_ID": 999,
          "fieldCap (MtCO2)": 60.47352477,
          "costFix ($M)": 0,
          "fixO&M ($M/yr)": 0,
          "wellCap (MtCO2/yr)": 0,
          "wellCostFix ($M)": 0,
          "wellFixO&M ($M/yr)": 0,
          "varO&M ($/tCO2)": 4.199435486,
          "N/A": 0,
          "LON": -88.22581867,
          "LAT": 39.89091531,
          "N/A.1": 0,
          "N/A.2": 0,
          "N/A.3": 0,
          "N/A.4": 0,
          "Name": 13214
        },
        {
          "ID": 132,
          "Sink_ID": 1183,
          "fieldCap (MtCO2)": 46.50832521,
          "costFix ($M)": 0,
          "fixO&M ($M/yr)": 0,
          "wellCap (MtCO2/yr)": 0,
          "wellCostFix ($M)": 0,
          "wellFixO&M ($M/yr)": 0,
          "varO&M ($/tCO2)": 4.600823056,
          "N/A": 0,
          "LON": -88.51220275,
          "LAT": 40.28485346,
          "N/A.1": 0,
          "N/A.2": 0,
          "N/A.3": 0,
          "N/A.4": 0,
          "Name": 15237
        }
      ],
      "Experiments": [
        {
          "ExperimentId": "test001_on_3_9_2021,_12:00:59_PM_7383e87d-d8f7-4838-b4ec-30e1ac7e3666",
          "ExperimentName": "test001 on 3/9/2021, 12:00:59 PM",
          "ExperimentParameters": {
            "Capital_Recovery_Rate": "0.1",
            "Project_Period": "10",
            "Capture_Target": "5"
          },
          "ExperimentURL": "https://beta.simccs.scigap.org/workspace/experiments/test001…021%2C_12%3A00%3A59_PM_7383e87d-d8f7-4838-b4ec-30e1ac7e3666/",
          "ExperimentState": "",
          "ExperimentResult": ""
        },
        {
          "ExperimentId": "test002_on_3_9_2021,_12:01:23_PM_97b00804-97fa-41af-8d59-9a7a51d383d2",
          "ExperimentName": "test002 on 3/9/2021, 12:01:23 PM",
          "ExperimentParameters": {
            "Capital_Recovery_Rate": "0.1",
            "Project_Period": "10",
            "Capture_Target": "25"
          },
          "ExperimentURL": "https://beta.simccs.scigap.org/workspace/experiments/test002…021%2C_12%3A01%3A23_PM_97b00804-97fa-41af-8d59-9a7a51d383d2/",
          "ExperimentState": "",
          "ExperimentResult": ""
        }
      ]
    }
  ]
}
Clone this wiki locally