Skip to content

Community Case Studies

Jun Wang edited this page Feb 21, 2022 · 9 revisions

A Community Case

A community case (scenario) is defined by a summary.json, all the data are in geojson format.

summary.json

{
	"title": "Southeast US 2012",
	"dataset-id": "Southeast_US_2012",
	"dataset-dirname": "SoutheastUS",
	"dataset-candidate-network": "Scenarios/scenario1/Network/CandidateNetwork/CandidateNetwork.txt",
	"summary": "A case study from Southeast US",
	"longsummary":"<p>Summary: <strong>Southern Company</strong><br><ul><li>Ten year business plan and CO2 emissions strategy.</li><li>20 coal-fired plants, 156 MtCO2/yr emissions.</li><li>65 individual boilers→ boiler level accuracy.</li><li>CAPTURE COSTS: $46-102/tCO2 (plant) & $41-166/tCO2 (boiler).</li><li>STORAGE: 3.4 GtCO2 in 7 sinks, 113 MtCO2/yr over 30 years.</li><li>STORAGE COSTS: $3.78-8.60/tCO2.</li></ul></p>",
	"publication": "https://pubs.rsc.org/en/content/articlelanding/2012/ee/c2ee03227a#!divAbstract",
	"editor":{
		"sources":"input_source.geojson",
		"sinks":"input_sink.geojson"
	},
	"inputs": {
		"sources": "result_source.geojson",
		"sinks": "result_sink.geojson",
		"candidatenetwork": "SoutheastUS_Network.geojson"
	},
	"results": [{
			"case": "110MTye",
			"description": "110 MT per year",
			"network": "result_network_110MTyr.geojson"
		},
		{
			"case": "50MTye",
			"description": "50 MT per year",
			"network": "result_network_50MTyr.geojson"
		},
		{
			"case": "5MTye",
			"description": "5 MT per year",
			"network": "result_network_5MTyr.geojson"
		}
    ]
}

simccs-maptool/simccs_maptool/static/Scenarios/SoutheastUS

.
├── SoutheastUS_Network.geojson
├── input_sink.geojson
├── input_source.geojson
├── result_network_110MTyr.geojson
├── result_network_50MTyr.geojson
├── result_network_5MTyr.geojson
├── result_sink.geojson
├── result_source.geojson
└── summary.json

A community case

Steps to add a community case

  1. Generate required input/output and results in geojson format
  2. Create a summary file, fill the necessary fields, such as "title","dataset-id", "dataset-dirname"
  3. Add the new case to index.html:
  • 3.1 add a new button to div id="case_studies_menu"
<div class="dropdown-menu" id="case_studies_menu" aria-labelledby="dropdownMenuButton">
    <button class="dropdown-item" value="Southeast_US_2012" onclick="case_studies(this.value)">Southeast US 2012</button>
    <button class="dropdown-item" value="Midwest_2011_3" onclick="case_studies(this.value)">Midwest 2011</button>
    <button class="dropdown-item" value="GulfCoast_2013_4" onclick="case_studies(this.value)">GulfCoast 2013</button>   
    <button class="dropdown-item" value="TexasPanhandle_2011_5" onclick="case_studies(this.value)">Texas Panhandle 2011</button>   
    <button class="dropdown-item" value="IllinoisBasin_2015_11" onclick="case_studies(this.value)">Illinois Basin 2015</button>   
    <button class="dropdown-item" value="OrdosBasin_2014_10" onclick="case_studies(this.value)">Ordos Basin 2014</button>   
</div>
  • 3.2 add a entry to function case_studies
switch (val) {
    case "Southeast_US_2012":
          $( "#case_studies_title" ).text("Southeast US 2012");
           case_folder = "SoutheastUS";
           summary_json = "summary.json";
          display_case_study(case_folder, summary_json);
          //pan to a location for better view
          map.setView([32.2611,-86.08615],7);
          break;
    case "Midwest_2011_3":
          $( "#case_studies_title" ).text("Midwest 2011");
          case_folder = "3_2011_Midwest";
          summary_json = "summary.json";
          display_case_study(case_folder, summary_json);
          map.setView([40.0,-84.29],7);
          break;
    case "GulfCoast_2013_4":
          $( "#case_studies_title" ).text("GulfCoast 2013");
          case_folder = "4_2013_GulfCoast";
          summary_json = "summary.json";
          display_case_study(case_folder, summary_json);
          map.setView([32.89,-95.69],7);
          break;
    case "TexasPanhandle_2011_5":
          $( "#case_studies_title" ).text("Texas Panhandle 2011");
          case_folder = "5_2011_TexasPanhandle";
          summary_json = "summary.json";
          display_case_study(case_folder, summary_json);
          map.setView([35.038,-101.85],8);
          break;
    case "IllinoisBasin_2015_11":
          $( "#case_studies_title" ).text("Illinois Basin 2015");
          case_folder = "11_2015_IllinoisBasin";
          summary_json = "summary.json";
          display_case_study(case_folder, summary_json);
          map.setView([38.385,-87.822],9);
          break;
    case "OrdosBasin_2014_10":
          $( "#case_studies_title" ).text("Ordos Basin 2014");
          case_folder = "10_2014_OrdosBasin";
          summary_json = "summary.json";
          display_case_study(case_folder, summary_json);
          map.setView([37.87,109.20],7);
          break;
    default:
          return;
}
Clone this wiki locally