Learn

Improving AI generated content with simplified data models.

Jul 15, 2024

Adding smarts by getting stupid.

I never felt the AI magic more than the first time an LLM spit out a blob of JSON that represented a Simily simulation. Something from nothing. Magic! Unfortunately, upon closer inspection, the output was trash!

But that makes sense, a Simily simulation has a lot going on:

When asked to generate a “Carbon footprint of an average home in Minnesota” it needs to consider what a household’s primary carbon sources are, through what means they produce CO2 and in what quantities over what time periods. It needs to have a basic understanding of the entire system so it can determine how resources flow from one part of the system to the others. It needs to decide resource flow priorities, and when and how to apply basic math. It’s a lot.

Here is the export of the model pictured above:

{
  "formatVersion": 2,
  "generationTime": "2024-01-31T15:40:49.429",
  "name": "Carbon Footprint",
  "targetModelPath": "/models/1/simulations/f418c296-27b0-472e-afc5-28868c3dd6a8/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720",
  "data": {
    "/models/1/simulations/f418c296-27b0-472e-afc5-28868c3dd6a8/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "f418c296-27b0-472e-afc5-28868c3dd6a8",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "Carbon Footprint",
      "rootSystemVersionRef": {
        "id": "9edacad8-86e7-4305-b30c-4554b682b765",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/0b29c9ea-63ed-4767-a161-1280079f097a": {
      "id": "0b29c9ea-63ed-4767-a161-1280079f097a",
      "name": "",
      "type": "formula",
      "data": {
        "id": "65ba1928-b48d-4e16-b6b7-7506bfe5ad8c",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/0e62cafa-ff3b-4955-8030-93af5f206a21": {
      "id": "0e62cafa-ff3b-4955-8030-93af5f206a21",
      "name": "",
      "type": "formula",
      "data": {
        "id": "3e5ce337-d03b-4edf-bde6-3147e603e17d",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/1db7018e-398b-4afd-84d1-ae7244030cd9": {
      "id": "1db7018e-398b-4afd-84d1-ae7244030cd9",
      "name": "",
      "type": "formula",
      "data": {
        "id": "d89b69d5-58a6-4042-bd56-c5fba748bef6",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/38515812-6a16-459c-948f-4b07584dfca1": {
      "id": "38515812-6a16-459c-948f-4b07584dfca1",
      "name": "",
      "type": "formula",
      "data": {
        "id": "13c37377-281f-4af2-ad1f-db5acfa6b4c4",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/404c6a82-10af-47b6-8bf3-9340cab0d3a2": {
      "id": "404c6a82-10af-47b6-8bf3-9340cab0d3a2",
      "name": "",
      "type": "text",
      "data": {
        "id": "b7b992d9-e341-42c0-81c7-8152f5bc71dd",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/42bc89c8-f90e-4dfb-8c7d-ebe8b559c5a8": {
      "id": "42bc89c8-f90e-4dfb-8c7d-ebe8b559c5a8",
      "name": "",
      "type": "formula",
      "data": {
        "id": "de9f28a1-694e-4d3c-b25d-b2bd9f3449b6",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/4addb045-ef5c-4e6f-bdcd-8e721940cd49": {
      "id": "4addb045-ef5c-4e6f-bdcd-8e721940cd49",
      "name": "",
      "type": "formula",
      "data": {
        "id": "0b5a30ab-8d68-4e6d-b624-7feac3afa393",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/562f5bdc-b467-4670-87df-1acdd5d4de8f": {
      "id": "562f5bdc-b467-4670-87df-1acdd5d4de8f",
      "name": "",
      "type": "text",
      "data": {
        "id": "2b785e97-b313-4002-840f-a126d6aa5a82",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/68e4eac2-a2dc-45b6-a281-5bd42fdac56d": {
      "id": "68e4eac2-a2dc-45b6-a281-5bd42fdac56d",
      "name": "",
      "type": "formula",
      "data": {
        "id": "010df115-c583-40a2-992b-c2e3da61eceb",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/6db45ab7-8d20-4d6c-b20c-dc8b5d2e58d6": {
      "id": "6db45ab7-8d20-4d6c-b20c-dc8b5d2e58d6",
      "name": "",
      "type": "formula",
      "data": {
        "id": "5bfde0ca-eef6-42ab-8270-f20d67f1cdf6",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/99ddbadf-e29d-4c45-8f59-13fe63566a0c": {
      "id": "99ddbadf-e29d-4c45-8f59-13fe63566a0c",
      "name": "",
      "type": "formula",
      "data": {
        "id": "4180173d-fbe4-42c0-95ca-9e6baa5e4081",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/b9732519-7bff-43fa-b9af-8e8190189b78": {
      "id": "b9732519-7bff-43fa-b9af-8e8190189b78",
      "name": "",
      "type": "text",
      "data": {
        "id": "f7c3af90-5911-4160-9eee-4496c80316f4",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/c709f5a0-c9ce-4e42-a104-a94c271b0161": {
      "id": "c709f5a0-c9ce-4e42-a104-a94c271b0161",
      "name": "",
      "type": "formula",
      "data": {
        "id": "609360c8-b520-453b-b4c8-158f3fbbbd43",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/d953125e-f63d-45f1-b561-29de68b4c01f": {
      "id": "d953125e-f63d-45f1-b561-29de68b4c01f",
      "name": "",
      "type": "formula",
      "data": {
        "id": "a17dcbc5-810f-48bd-9eb3-301b57498a33",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/da611c17-e0ab-41fe-8539-a0c01608a03c": {
      "id": "da611c17-e0ab-41fe-8539-a0c01608a03c",
      "name": "",
      "type": "text",
      "data": {
        "id": "8e600da2-f3e5-40e3-aa72-d5798aa5a734",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/de068adc-87f8-4ade-a678-ad3a7b699e4b": {
      "id": "de068adc-87f8-4ade-a678-ad3a7b699e4b",
      "name": "",
      "type": "formula",
      "data": {
        "id": "ba3fba7b-7f64-4dae-82a5-c014409eea4a",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entities/f93323b0-1980-4149-9bd8-c687e7554518": {
      "id": "f93323b0-1980-4149-9bd8-c687e7554518",
      "name": "",
      "type": "formula",
      "data": {
        "id": "22ccfc60-7c46-4eb9-b2dc-f77f15e28322",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/0b29c9ea-63ed-4767-a161-1280079f097a": {
      "x": 2385.181485230687,
      "y": 765.8591067852166,
      "width": 240.0000000000009,
      "height": 120,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/0e62cafa-ff3b-4955-8030-93af5f206a21": {
      "x": 1761.60628204024,
      "y": 676.03845360947,
      "width": 240.00000000000023,
      "height": 120,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/1db7018e-398b-4afd-84d1-ae7244030cd9": {
      "x": 360.3829219660265,
      "y": 1209.006844573735,
      "width": 240,
      "height": 120.00000000000045,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/38515812-6a16-459c-948f-4b07584dfca1": {
      "x": 32.232943193026614,
      "y": 249.37285955536618,
      "width": 240.0000000000012,
      "height": 250.00711059570267,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/404c6a82-10af-47b6-8bf3-9340cab0d3a2": {
      "x": 484.1360800301443,
      "y": 404.7554909244185,
      "width": 305.8121488425461,
      "height": 124.76670488810134,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/42bc89c8-f90e-4dfb-8c7d-ebe8b559c5a8": {
      "x": 398.18468741408924,
      "y": 516.9574875321633,
      "width": 96.00000000000023,
      "height": 177.35797119140693,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/4addb045-ef5c-4e6f-bdcd-8e721940cd49": {
      "x": 885.3932650895097,
      "y": 1088.3251476104108,
      "width": 239.99999999999977,
      "height": 120,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/562f5bdc-b467-4670-87df-1acdd5d4de8f": {
      "x": 1745.8288873450404,
      "y": 75.86044653217556,
      "width": 282.20446428023,
      "height": 197.50390625000006,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/68e4eac2-a2dc-45b6-a281-5bd42fdac56d": {
      "x": 864.2168203726669,
      "y": 683.0715464607346,
      "width": 239.99999999999886,
      "height": 184.46733093261787,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/6db45ab7-8d20-4d6c-b20c-dc8b5d2e58d6": {
      "x": 358.6618186335394,
      "y": 1029.0248352128801,
      "width": 239.99999999999903,
      "height": 120.00000000000125,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/99ddbadf-e29d-4c45-8f59-13fe63566a0c": {
      "x": 1774.6950367721445,
      "y": 1046.8921409153359,
      "width": 240.00000000000114,
      "height": 119.99999999999943,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/b9732519-7bff-43fa-b9af-8e8190189b78": {
      "x": 181.045009283633,
      "y": -250.70490530178438,
      "width": 1808.3486526925383,
      "height": 192.94678023793816,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/c709f5a0-c9ce-4e42-a104-a94c271b0161": {
      "x": 1764.1670704395217,
      "y": 860.5376610097907,
      "width": 239.99999999999932,
      "height": 120.00000000000011,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/d953125e-f63d-45f1-b561-29de68b4c01f": {
      "x": 1759.971486271702,
      "y": 488.1130551988165,
      "width": 240.0000000000009,
      "height": 119.9999999999992,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/da611c17-e0ab-41fe-8539-a0c01608a03c": {
      "x": 850.5015453474737,
      "y": 879.8254961919616,
      "width": 306.3072716114823,
      "height": 95.445824938761,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/de068adc-87f8-4ade-a678-ad3a7b699e4b": {
      "x": 1765.6578942215126,
      "y": 298.66782705268895,
      "width": 239.99999999999977,
      "height": 119.99999999999997,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/entity_ui_datas/f93323b0-1980-4149-9bd8-c687e7554518": {
      "x": 1784.1710164829344,
      "y": 1221.0495728270564,
      "width": 239.99999999999977,
      "height": 120,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/00c3d3e1-c815-40cc-8e40-f682ddac8f1b": {
      "id": "00c3d3e1-c815-40cc-8e40-f682ddac8f1b",
      "sourceEntityId": "68e4eac2-a2dc-45b6-a281-5bd42fdac56d",
      "sourceResourceId": "4c5139e5-041d-48e6-842b-38b2fd003332",
      "sinkEntityId": "0e62cafa-ff3b-4955-8030-93af5f206a21",
      "sinkResourceId": "f6d7d68f-73b1-491f-9fcd-384b012cdf76",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/14bac9a3-0f74-47e3-9abd-d9ca429b8b45": {
      "id": "14bac9a3-0f74-47e3-9abd-d9ca429b8b45",
      "sourceEntityId": "d953125e-f63d-45f1-b561-29de68b4c01f",
      "sourceResourceId": "d615b806-b4a2-46fd-94cd-6afd478a96a3",
      "sinkEntityId": "0b29c9ea-63ed-4767-a161-1280079f097a",
      "sinkResourceId": "01964fbd-f045-455b-b7c6-68627baf6f6d",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/1631532f-a5b4-49f8-84a4-30872b2cdcfc": {
      "id": "1631532f-a5b4-49f8-84a4-30872b2cdcfc",
      "sourceEntityId": "de068adc-87f8-4ade-a678-ad3a7b699e4b",
      "sourceResourceId": "77d99992-ee79-4e55-a22e-574c753da268",
      "sinkEntityId": "0b29c9ea-63ed-4767-a161-1280079f097a",
      "sinkResourceId": "01964fbd-f045-455b-b7c6-68627baf6f6d",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/1db7018e-398b-4afd-84d1-ae7244030cd9:a990d598-f43b-4f99-9917-374a88e65db5::4addb045-ef5c-4e6f-bdcd-8e721940cd49:86a1077c-c333-4eaa-9b8c-b4d6e7d1fa7d": {
      "id": "1db7018e-398b-4afd-84d1-ae7244030cd9:a990d598-f43b-4f99-9917-374a88e65db5::4addb045-ef5c-4e6f-bdcd-8e721940cd49:86a1077c-c333-4eaa-9b8c-b4d6e7d1fa7d",
      "sourceEntityId": "1db7018e-398b-4afd-84d1-ae7244030cd9",
      "sourceResourceId": "a990d598-f43b-4f99-9917-374a88e65db5",
      "sinkEntityId": "4addb045-ef5c-4e6f-bdcd-8e721940cd49",
      "sinkResourceId": "86a1077c-c333-4eaa-9b8c-b4d6e7d1fa7d",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/28ea4652-db15-4aaa-89d0-dd37f5d67e83": {
      "id": "28ea4652-db15-4aaa-89d0-dd37f5d67e83",
      "sourceEntityId": "68e4eac2-a2dc-45b6-a281-5bd42fdac56d",
      "sourceResourceId": "0fd02908-d3b8-4c0c-a8f3-4d6f67ba7151",
      "sinkEntityId": "99ddbadf-e29d-4c45-8f59-13fe63566a0c",
      "sinkResourceId": "a2143324-7c3c-44c3-8761-c33f3c72f163",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/43ba827d-d6f6-4af4-b4ae-d7a178b25e02": {
      "id": "43ba827d-d6f6-4af4-b4ae-d7a178b25e02",
      "sourceEntityId": "38515812-6a16-459c-948f-4b07584dfca1",
      "sourceResourceId": "2d22e5b1-ed93-4409-9d5d-8eb4f768528a",
      "sinkEntityId": "42bc89c8-f90e-4dfb-8c7d-ebe8b559c5a8",
      "sinkResourceId": "3339db11-c0d7-424a-8e4a-1b768b8b8736",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/4addb045-ef5c-4e6f-bdcd-8e721940cd49:b88a2d82-f178-4b1a-9079-422c37c8bbf0::f93323b0-1980-4149-9bd8-c687e7554518:383f0d7e-0b18-4ec5-a5a3-6c5915d8bdae": {
      "id": "4addb045-ef5c-4e6f-bdcd-8e721940cd49:b88a2d82-f178-4b1a-9079-422c37c8bbf0::f93323b0-1980-4149-9bd8-c687e7554518:383f0d7e-0b18-4ec5-a5a3-6c5915d8bdae",
      "sourceEntityId": "4addb045-ef5c-4e6f-bdcd-8e721940cd49",
      "sourceResourceId": "b88a2d82-f178-4b1a-9079-422c37c8bbf0",
      "sinkEntityId": "f93323b0-1980-4149-9bd8-c687e7554518",
      "sinkResourceId": "383f0d7e-0b18-4ec5-a5a3-6c5915d8bdae",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/6db45ab7-8d20-4d6c-b20c-dc8b5d2e58d6:8df6bf36-11cd-4646-8c71-874c2992657d::4addb045-ef5c-4e6f-bdcd-8e721940cd49:86a1077c-c333-4eaa-9b8c-b4d6e7d1fa7d": {
      "id": "6db45ab7-8d20-4d6c-b20c-dc8b5d2e58d6:8df6bf36-11cd-4646-8c71-874c2992657d::4addb045-ef5c-4e6f-bdcd-8e721940cd49:86a1077c-c333-4eaa-9b8c-b4d6e7d1fa7d",
      "sourceEntityId": "6db45ab7-8d20-4d6c-b20c-dc8b5d2e58d6",
      "sourceResourceId": "8df6bf36-11cd-4646-8c71-874c2992657d",
      "sinkEntityId": "4addb045-ef5c-4e6f-bdcd-8e721940cd49",
      "sinkResourceId": "86a1077c-c333-4eaa-9b8c-b4d6e7d1fa7d",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/722714bc-f55e-41c7-b55a-a3dd405c164a": {
      "id": "722714bc-f55e-41c7-b55a-a3dd405c164a",
      "sourceEntityId": "99ddbadf-e29d-4c45-8f59-13fe63566a0c",
      "sourceResourceId": "81c157dd-a568-470e-8b32-478203b52f23",
      "sinkEntityId": "0b29c9ea-63ed-4767-a161-1280079f097a",
      "sinkResourceId": "01964fbd-f045-455b-b7c6-68627baf6f6d",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/83ff3694-c901-4084-a39a-935376542d5a": {
      "id": "83ff3694-c901-4084-a39a-935376542d5a",
      "sourceEntityId": "f93323b0-1980-4149-9bd8-c687e7554518",
      "sourceResourceId": "0dba77a6-0c3d-47ba-850a-d82dcc8be0c5",
      "sinkEntityId": "0b29c9ea-63ed-4767-a161-1280079f097a",
      "sinkResourceId": "01964fbd-f045-455b-b7c6-68627baf6f6d",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/95279c5e-ea74-404d-b29d-8949f5673016": {
      "id": "95279c5e-ea74-404d-b29d-8949f5673016",
      "sourceEntityId": "38515812-6a16-459c-948f-4b07584dfca1",
      "sourceResourceId": "19ca225e-fb78-48f3-a545-cf65de2d8c6c",
      "sinkEntityId": "de068adc-87f8-4ade-a678-ad3a7b699e4b",
      "sinkResourceId": "8e837dde-92b2-4aeb-af48-918ac31bacce",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/a62e5744-7cad-4d0b-a41b-024bef93e9da": {
      "id": "a62e5744-7cad-4d0b-a41b-024bef93e9da",
      "sourceEntityId": "0e62cafa-ff3b-4955-8030-93af5f206a21",
      "sourceResourceId": "b7501436-d743-4bcc-8cc2-c98f78176f0a",
      "sinkEntityId": "0b29c9ea-63ed-4767-a161-1280079f097a",
      "sinkResourceId": "01964fbd-f045-455b-b7c6-68627baf6f6d",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/a88f2519-fb78-4242-a168-781318802a71": {
      "id": "a88f2519-fb78-4242-a168-781318802a71",
      "sourceEntityId": "c709f5a0-c9ce-4e42-a104-a94c271b0161",
      "sourceResourceId": "fb68f6a4-acb7-4050-98fb-429a9f220f20",
      "sinkEntityId": "0b29c9ea-63ed-4767-a161-1280079f097a",
      "sinkResourceId": "01964fbd-f045-455b-b7c6-68627baf6f6d",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/af2f8846-ce5f-48e2-9893-6c7a37b9d989": {
      "id": "af2f8846-ce5f-48e2-9893-6c7a37b9d989",
      "sourceEntityId": "42bc89c8-f90e-4dfb-8c7d-ebe8b559c5a8",
      "sourceResourceId": "00a4fd31-3875-459a-8d1b-8f4846412441",
      "sinkEntityId": "d953125e-f63d-45f1-b561-29de68b4c01f",
      "sinkResourceId": "92c15798-43c2-49e6-bb7d-0b257d37f2cc",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/dc0637e2-9f1a-4e4c-a0c8-64e1b4539c78": {
      "id": "dc0637e2-9f1a-4e4c-a0c8-64e1b4539c78",
      "sourceEntityId": "42bc89c8-f90e-4dfb-8c7d-ebe8b559c5a8",
      "sourceResourceId": "cab571c3-5678-4196-a1f6-2a618d476acb",
      "sinkEntityId": "68e4eac2-a2dc-45b6-a281-5bd42fdac56d",
      "sinkResourceId": "1381f50a-633e-4640-a154-d123845cb415",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/e715243b-96cf-4e6c-ab24-5aa53e1dbd3a": {
      "id": "e715243b-96cf-4e6c-ab24-5aa53e1dbd3a",
      "sourceEntityId": "68e4eac2-a2dc-45b6-a281-5bd42fdac56d",
      "sourceResourceId": "475f3acc-5633-4176-996c-35f7be7d4fb8",
      "sinkEntityId": "c709f5a0-c9ce-4e42-a104-a94c271b0161",
      "sinkResourceId": "5a7aa8dc-b629-4221-a9e3-1a01076faef1",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/connections/f027cb6b-f3a6-42f0-b615-fc0bb0d7bd82": {
      "id": "f027cb6b-f3a6-42f0-b615-fc0bb0d7bd82",
      "sourceEntityId": "68e4eac2-a2dc-45b6-a281-5bd42fdac56d",
      "sourceResourceId": "bfb49c77-773c-4a3f-bffe-b917a0a4edf0",
      "sinkEntityId": "de068adc-87f8-4ade-a678-ad3a7b699e4b",
      "sinkResourceId": "8e837dde-92b2-4aeb-af48-918ac31bacce",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706737249430
    },
    "/models/1/systems/9edacad8-86e7-4305-b30c-4554b682b765/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "9edacad8-86e7-4305-b30c-4554b682b765",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "Carbon Footprint",
      "decoration": {
        "image": {
          "id": "fa7542fb-a67e-4b30-9056-69d47d98ed6e",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1580137189272-c9379f8864fd?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTA0Mzl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2ODk1MzM1OTV8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ff9e9e9e"
      },
      "timestamp": 1706737249430
    },
    "/models/1/formulas/65ba1928-b48d-4e16-b6b7-7506bfe5ad8c/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_inputs/2a8d2733-3b65-4505-b306-b44bc7d6583e": {
      "id": "2a8d2733-3b65-4505-b306-b44bc7d6583e",
      "position": 10,
      "resource": {
        "id": "01964fbd-f045-455b-b7c6-68627baf6f6d",
        "name": "CO2 (lbs)",
        "image": {
          "id": "1cbb8a25-c152-4efd-8160-99ba86fe87a7",
          "type": "icon",
          "icon": {
            "iconCodePoint": 57444
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "a1cdc172-8608-47d7-8b5a-75d473386a69",
        "type": "variable",
        "constantData": null,
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": {
          "key": "INPUT_WITH_UPSTREAM::CACHE_AVAILABLE_VALUE::ID01964fbd-f045-455b-b7c6-68627baf6f6d"
        }
      },
      "cacheSize": "0",
      "timestamp": 1706737249430
    },
    "/models/1/formulas/65ba1928-b48d-4e16-b6b7-7506bfe5ad8c/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/dfa5ac47-5471-4628-b04a-600384b45a11": {
      "id": "dfa5ac47-5471-4628-b04a-600384b45a11",
      "position": 10,
      "resource": {
        "id": "2f537955-942e-438c-b8c7-198bcf2ff1fb",
        "name": "CO2 (lbs)",
        "image": {
          "id": "1cbb8a25-c152-4efd-8160-99ba86fe87a7",
          "type": "icon",
          "icon": {
            "iconCodePoint": 57444
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "fd4d6223-501e-46a1-a6f1-e8db24d1be5a",
        "type": "variable",
        "constantData": null,
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": {
          "key": "COST::AMOUNT::ID01964fbd-f045-455b-b7c6-68627baf6f6d"
        }
      },
      "cacheSize": "0",
      "timestamp": 1706737249430
    },
    "/models/1/formulas/65ba1928-b48d-4e16-b6b7-7506bfe5ad8c/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "65ba1928-b48d-4e16-b6b7-7506bfe5ad8c",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "CO2 Normalizer",
      "decoration": null,
      "timeSpan": {
        "duration": {
          "id": "c70fbe49-f5f2-423d-9b8c-77b065ba2ae0",
          "type": "constant",
          "constantData": {
            "value": "0"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249431
    },
    "/models/1/formulas/3e5ce337-d03b-4edf-bde6-3147e603e17d/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_inputs/e53543ee-0cc9-4d02-abb4-8869c43885a6": {
      "id": "e53543ee-0cc9-4d02-abb4-8869c43885a6",
      "position": 10,
      "resource": {
        "id": "f6d7d68f-73b1-491f-9fcd-384b012cdf76",
        "name": "Wind Power (demand kWh)",
        "image": {
          "id": "2a4abca3-e9b0-4f7c-906c-225b12c7f1db",
          "type": "icon",
          "icon": {
            "iconCodePoint": 985050
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "d73cc99c-62e8-4e7a-bfe9-c6f9171854be",
        "type": "variable",
        "constantData": null,
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": {
          "key": "INPUT_WITH_UPSTREAM::CACHE_AVAILABLE_VALUE::IDf6d7d68f-73b1-491f-9fcd-384b012cdf76"
        }
      },
      "cacheSize": "0",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/3e5ce337-d03b-4edf-bde6-3147e603e17d/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/05555634-d3ab-489f-a494-504edca0a6a6": {
      "id": "05555634-d3ab-489f-a494-504edca0a6a6",
      "position": 10,
      "resource": {
        "id": "b7501436-d743-4bcc-8cc2-c98f78176f0a",
        "name": "CO2 from wind (lbs)",
        "image": {
          "id": "f5a27816-313b-48bd-a15a-1b148005c16e",
          "type": "icon",
          "icon": {
            "iconCodePoint": 57444
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "59b84030-da62-4b80-85d0-1e5ae992cb2d",
        "type": "calculation",
        "constantData": null,
        "randomData": null,
        "calculationData": {
          "leftFormulaNumber": {
            "id": "d83fe9fd-9fa5-4555-ab35-aa28128173b0",
            "type": "variable",
            "constantData": null,
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": {
              "key": "COST::AMOUNT::IDf6d7d68f-73b1-491f-9fcd-384b012cdf76"
            }
          },
          "rightFormulaNumber": {
            "id": "8feb8999-7f5e-4e6f-a40d-87cd66ca00ad",
            "type": "constant",
            "constantData": {
              "value": "0.0108027"
            },
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": null
          },
          "mathOperation": "multiply"
        },
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/3e5ce337-d03b-4edf-bde6-3147e603e17d/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "3e5ce337-d03b-4edf-bde6-3147e603e17d",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "Wind",
      "decoration": {
        "image": {
          "id": "f0101ce4-0a64-4736-8f53-3b4101d3e419",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1659098837729-b45181254be3?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTA0Mzl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2ODU3MjM5MjR8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ff9e9e9e"
      },
      "timeSpan": {
        "duration": {
          "id": "4989b8d6-beec-44b9-ad74-bcf14aa7ddb7",
          "type": "constant",
          "constantData": {
            "value": "0"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249431
    },
    "/models/1/formulas/d89b69d5-58a6-4042-bd56-c5fba748bef6/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/7c872e00-26e6-45f2-97e5-e51a51cfb3e9": {
      "id": "7c872e00-26e6-45f2-97e5-e51a51cfb3e9",
      "position": 10,
      "resource": {
        "id": "a990d598-f43b-4f99-9917-374a88e65db5",
        "name": "Gasoline (demand in gallons)",
        "image": {
          "id": "151ee350-9bb2-457f-a81b-1208b797a72d",
          "type": "icon",
          "icon": {
            "iconCodePoint": 58260
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "842c59c5-86d2-4178-8ae1-86ec385f153a",
        "type": "constant",
        "constantData": {
          "value": "18"
        },
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/d89b69d5-58a6-4042-bd56-c5fba748bef6/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "d89b69d5-58a6-4042-bd56-c5fba748bef6",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "Tacoma",
      "decoration": {
        "image": {
          "id": "b56361f0-b491-41fa-b373-1fba7b5356af",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1619364157145-b42a82856e76?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTA0Mzl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2ODU3MjM1NzV8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ff9e9e9e"
      },
      "timeSpan": {
        "duration": {
          "id": "1ea5f4b8-a148-41f6-bbfd-f2217cefb035",
          "type": "calculation",
          "constantData": null,
          "randomData": null,
          "calculationData": {
            "leftFormulaNumber": {
              "id": "8b145284-8a8f-4c0e-8fa9-c558a4cfa8b1",
              "type": "constant",
              "constantData": {
                "value": "10"
              },
              "randomData": null,
              "calculationData": null,
              "ifElseData": null,
              "variableData": null
            },
            "rightFormulaNumber": {
              "id": "1d6ba4de-1746-4a13-b45c-73cc196e3035",
              "type": "random",
              "constantData": null,
              "randomData": {
                "min": "0",
                "max": "21",
                "roundToNearestInteger": true
              },
              "calculationData": null,
              "ifElseData": null,
              "variableData": null
            },
            "mathOperation": "add"
          },
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249431
    },
    "/models/1/formulas/13c37377-281f-4af2-ad1f-db5acfa6b4c4/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/470fa4f3-1e0c-4c66-bced-4c1f6b540855": {
      "id": "470fa4f3-1e0c-4c66-bced-4c1f6b540855",
      "position": 10,
      "resource": {
        "id": "2d22e5b1-ed93-4409-9d5d-8eb4f768528a",
        "name": "Electricity (demand kWh)",
        "image": {
          "id": "4fbeef7e-3fc8-420e-8869-7633effb0e30",
          "type": "icon",
          "icon": {
            "iconCodePoint": 984988
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "59ce7cb2-e942-4fe6-92db-3690f677c9de",
        "type": "constant",
        "constantData": {
          "value": "25"
        },
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/13c37377-281f-4af2-ad1f-db5acfa6b4c4/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/7df4f130-8761-418f-b0d3-84bb9fb26588": {
      "id": "7df4f130-8761-418f-b0d3-84bb9fb26588",
      "position": 10,
      "resource": {
        "id": "19ca225e-fb78-48f3-a545-cf65de2d8c6c",
        "name": "Natural Gas (demand kWh)",
        "image": {
          "id": "924685e5-4e81-4ed0-8714-2a5bad8d21ed",
          "type": "icon",
          "icon": {
            "iconCodePoint": 57994
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "d6779fdd-da7e-4682-be44-1c858aa863d1",
        "type": "constant",
        "constantData": {
          "value": "71"
        },
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/13c37377-281f-4af2-ad1f-db5acfa6b4c4/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "13c37377-281f-4af2-ad1f-db5acfa6b4c4",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "House",
      "decoration": {
        "image": {
          "id": "8ea08621-ae05-4c70-a2aa-5af75af65977",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1611602132416-da2045990f76?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTU3NzgwNDV8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ffff9800"
      },
      "timeSpan": {
        "duration": {
          "id": "cc531f58-d78c-4a2a-a84c-76783134a8a6",
          "type": "constant",
          "constantData": {
            "value": "1"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249431
    },
    "/models/1/texts/b7b992d9-e341-42c0-81c7-8152f5bc71dd/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "b7b992d9-e341-42c0-81c7-8152f5bc71dd",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "text": "NOTE: If we wanted to model a home with a solar array, we could attach that here. Currently we never send anything across this solar connection.",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/de9f28a1-694e-4d3c-b25d-b2bd9f3449b6/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_inputs/2c032a82-e508-4690-869b-27e7e816e330": {
      "id": "2c032a82-e508-4690-869b-27e7e816e330",
      "position": 10,
      "resource": {
        "id": "3339db11-c0d7-424a-8e4a-1b768b8b8736",
        "name": "Electricity (demand)",
        "image": {
          "id": "96bd62bc-6feb-4d1a-b9c1-a2ab324c7c9e",
          "type": "icon",
          "icon": {
            "iconCodePoint": 984988
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "851ed719-8ff4-4082-84f5-e37cf2a61692",
        "type": "variable",
        "constantData": null,
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": {
          "key": "INPUT_WITH_UPSTREAM::CACHE_AVAILABLE_VALUE::ID3339db11-c0d7-424a-8e4a-1b768b8b8736"
        }
      },
      "cacheSize": "0",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/de9f28a1-694e-4d3c-b25d-b2bd9f3449b6/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/43c08edd-3341-4777-b360-61daf1bccbe4": {
      "id": "43c08edd-3341-4777-b360-61daf1bccbe4",
      "position": 10,
      "resource": {
        "id": "00a4fd31-3875-459a-8d1b-8f4846412441",
        "name": "Solar Electricty (demand)",
        "image": {
          "id": "d8b4bf30-79d5-4449-8ac1-91476af33361",
          "type": "icon",
          "icon": {
            "iconCodePoint": 62652
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "316b337c-875d-4af0-8b2c-25ddbefa1977",
        "type": "constant",
        "constantData": {
          "value": "0"
        },
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/de9f28a1-694e-4d3c-b25d-b2bd9f3449b6/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/44111b59-5a60-4d08-a4e4-dadb77662d09": {
      "id": "44111b59-5a60-4d08-a4e4-dadb77662d09",
      "position": 10,
      "resource": {
        "id": "cab571c3-5678-4196-a1f6-2a618d476acb",
        "name": "Electricity (demand)",
        "image": {
          "id": "eeae4b47-e036-477c-9e09-db85f75b7215",
          "type": "icon",
          "icon": {
            "iconCodePoint": 984988
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "26de8dc5-9621-4caf-bcb7-06daa78d8f89",
        "type": "variable",
        "constantData": null,
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": {
          "key": "COST::AMOUNT::ID3339db11-c0d7-424a-8e4a-1b768b8b8736"
        }
      },
      "cacheSize": "0",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/de9f28a1-694e-4d3c-b25d-b2bd9f3449b6/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "de9f28a1-694e-4d3c-b25d-b2bd9f3449b6",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "Panel",
      "decoration": {
        "image": {
          "id": "bbc92d12-5f22-404a-9c04-43c28f3c5fe4",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1607631697491-61972eecf928?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTA0Mzl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2ODU3MzUzNjN8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ff9e9e9e"
      },
      "timeSpan": {
        "duration": {
          "id": "aa4e4f19-000e-43cf-9d14-5316731fb5ab",
          "type": "constant",
          "constantData": {
            "value": "0"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249431
    },
    "/models/1/formulas/0b5a30ab-8d68-4e6d-b624-7feac3afa393/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_inputs/bac11e62-8fb4-469f-b6da-14c2d167286d": {
      "id": "bac11e62-8fb4-469f-b6da-14c2d167286d",
      "position": 10,
      "resource": {
        "id": "86a1077c-c333-4eaa-9b8c-b4d6e7d1fa7d",
        "name": "Petrol (gallons)",
        "image": {
          "id": "ed052427-26e2-4293-8fcc-6229679c96bb",
          "type": "icon",
          "icon": {
            "iconCodePoint": 58260
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "cb5e672f-9c64-4c3a-9853-60b28a1128e4",
        "type": "constant",
        "constantData": {
          "value": "1"
        },
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/0b5a30ab-8d68-4e6d-b624-7feac3afa393/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/3c575087-40eb-4a6d-b85f-c3bd3b42082a": {
      "id": "3c575087-40eb-4a6d-b85f-c3bd3b42082a",
      "position": 10,
      "resource": {
        "id": "b88a2d82-f178-4b1a-9079-422c37c8bbf0",
        "name": "Petrolium (demand kWh)",
        "image": {
          "id": "4dca9b9a-5b7e-4652-9c29-c8715e7c483e",
          "type": "icon",
          "icon": {
            "iconCodePoint": 58260
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "5b20c7fd-e12b-4402-a1fd-1af70241dd34",
        "type": "constant",
        "constantData": {
          "value": "33.7"
        },
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/0b5a30ab-8d68-4e6d-b624-7feac3afa393/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "0b5a30ab-8d68-4e6d-b624-7feac3afa393",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "Gallons of Gas to kWh",
      "decoration": {
        "image": {
          "id": "a6f3009b-a22d-40c0-bf5a-d1c42297e6fe",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1591179535738-0fe38055847b?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTU5MTczODN8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ffff9800"
      },
      "timeSpan": {
        "duration": {
          "id": "f63d91b7-7d5e-4c7c-9c1a-bd131e5584be",
          "type": "constant",
          "constantData": {
            "value": "0"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249431
    },
    "/models/1/texts/2b785e97-b313-4002-840f-a126d6aa5a82/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "2b785e97-b313-4002-840f-a126d6aa5a82",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "text": "Each of these energy sources has a carbon cost that is paid throughout the service lifetime. Renewables still have a carbon cost!",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/010df115-c583-40a2-992b-c2e3da61eceb/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_inputs/97c09685-130d-4562-a1d5-bf88bf64c759": {
      "id": "97c09685-130d-4562-a1d5-bf88bf64c759",
      "position": 10,
      "resource": {
        "id": "1381f50a-633e-4640-a154-d123845cb415",
        "name": "Grid Electricity (kwh demand)",
        "image": {
          "id": "319ca06c-4a8b-4fc5-831e-834d020e25a7",
          "type": "icon",
          "icon": {
            "iconCodePoint": 984988
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "26157a3a-b04c-44b5-9740-b4b43550f13f",
        "type": "variable",
        "constantData": null,
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": {
          "key": "INPUT_WITH_UPSTREAM::CACHE_AVAILABLE_VALUE::ID1381f50a-633e-4640-a154-d123845cb415"
        }
      },
      "cacheSize": "0",
      "timestamp": 1706737249431
    },
    "/models/1/formulas/010df115-c583-40a2-992b-c2e3da61eceb/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/31d0c1b8-4a4d-4576-93e0-2671570066dc": {
      "id": "31d0c1b8-4a4d-4576-93e0-2671570066dc",
      "position": 10,
      "resource": {
        "id": "475f3acc-5633-4176-996c-35f7be7d4fb8",
        "name": "Nuclear Power (demand kWh)",
        "image": {
          "id": "a5201507-0d7c-488d-85e1-2bf8c454b578",
          "type": "icon",
          "icon": {
            "iconCodePoint": 58080
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "44e7b183-0638-450d-834d-37ea512b6016",
        "type": "calculation",
        "constantData": null,
        "randomData": null,
        "calculationData": {
          "leftFormulaNumber": {
            "id": "e0b94758-04cf-4268-9cce-fb4b845f34fb",
            "type": "constant",
            "constantData": {
              "value": "0.24"
            },
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": null
          },
          "rightFormulaNumber": {
            "id": "5737055e-fc07-4468-89c4-467bada5df03",
            "type": "variable",
            "constantData": null,
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": {
              "key": "COST::AMOUNT::ID1381f50a-633e-4640-a154-d123845cb415"
            }
          },
          "mathOperation": "multiply"
        },
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249432
    },
    "/models/1/formulas/010df115-c583-40a2-992b-c2e3da61eceb/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/407f3a4e-d834-44ab-8ce1-14bd3f0cf1ec": {
      "id": "407f3a4e-d834-44ab-8ce1-14bd3f0cf1ec",
      "position": 10,
      "resource": {
        "id": "0fd02908-d3b8-4c0c-a8f3-4d6f67ba7151",
        "name": "Coal (demand kWh)",
        "image": {
          "id": "b6ed819e-b6cb-4bc9-92d6-3df4da2ddf74",
          "type": "icon",
          "icon": {
            "iconCodePoint": 58824
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "59926881-1abe-4efc-809e-12e08e982222",
        "type": "calculation",
        "constantData": null,
        "randomData": null,
        "calculationData": {
          "leftFormulaNumber": {
            "id": "ca30d7c3-d2ca-43ff-8403-c8e121172b3e",
            "type": "constant",
            "constantData": {
              "value": "0.26"
            },
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": null
          },
          "rightFormulaNumber": {
            "id": "14276389-f3c0-4aca-9b4b-84383fd612ab",
            "type": "variable",
            "constantData": null,
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": {
              "key": "COST::AMOUNT::ID1381f50a-633e-4640-a154-d123845cb415"
            }
          },
          "mathOperation": "multiply"
        },
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249432
    },
    "/models/1/formulas/010df115-c583-40a2-992b-c2e3da61eceb/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/4775cc83-afe8-48d2-ab53-b233f3e7e7d4": {
      "id": "4775cc83-afe8-48d2-ab53-b233f3e7e7d4",
      "position": 10,
      "resource": {
        "id": "bfb49c77-773c-4a3f-bffe-b917a0a4edf0",
        "name": "Natural Gas (demand kWh)",
        "image": {
          "id": "c15b7f43-afb3-4a9b-a4c2-8055a1a840bd",
          "type": "icon",
          "icon": {
            "iconCodePoint": 57994
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "a2338e64-e5d5-4b80-99ea-e717f5c50cee",
        "type": "calculation",
        "constantData": null,
        "randomData": null,
        "calculationData": {
          "leftFormulaNumber": {
            "id": "e5120974-848e-455d-ae98-414d410ef15a",
            "type": "constant",
            "constantData": {
              "value": "0.21"
            },
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": null
          },
          "rightFormulaNumber": {
            "id": "b21d9793-e4f7-4750-a68a-2d2e72beebd6",
            "type": "variable",
            "constantData": null,
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": {
              "key": "COST::AMOUNT::ID1381f50a-633e-4640-a154-d123845cb415"
            }
          },
          "mathOperation": "multiply"
        },
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249432
    },
    "/models/1/formulas/010df115-c583-40a2-992b-c2e3da61eceb/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/c356ce42-1797-4674-981f-60e36e9c0b41": {
      "id": "c356ce42-1797-4674-981f-60e36e9c0b41",
      "position": 10,
      "resource": {
        "id": "4c5139e5-041d-48e6-842b-38b2fd003332",
        "name": "Wind Power (demand kWh)",
        "image": {
          "id": "86712762-7ac2-4ea6-8909-15809d501de8",
          "type": "icon",
          "icon": {
            "iconCodePoint": 985050
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "1e7ee2b4-648b-4602-87d9-8809142118e3",
        "type": "calculation",
        "constantData": null,
        "randomData": null,
        "calculationData": {
          "leftFormulaNumber": {
            "id": "02357229-c501-49cf-b9d2-7982f33fc7d3",
            "type": "constant",
            "constantData": {
              "value": "0.22"
            },
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": null
          },
          "rightFormulaNumber": {
            "id": "9e4d4fb5-b579-439f-acd8-6a3862e332a3",
            "type": "variable",
            "constantData": null,
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": {
              "key": "COST::AMOUNT::ID1381f50a-633e-4640-a154-d123845cb415"
            }
          },
          "mathOperation": "multiply"
        },
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249432
    },
    "/models/1/formulas/010df115-c583-40a2-992b-c2e3da61eceb/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "010df115-c583-40a2-992b-c2e3da61eceb",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "MN Power Grid",
      "decoration": {
        "image": {
          "id": "3a5d725d-b923-4c08-a424-9dab77fedc45",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1626345396353-2e1b6ab6b4f4?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTU5MTcyOTd8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ff9e9e9e"
      },
      "timeSpan": {
        "duration": {
          "id": "8d28390d-3309-48a8-8050-6f4bdc8711c2",
          "type": "constant",
          "constantData": {
            "value": "0"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249432
    },
    "/models/1/formulas/5bfde0ca-eef6-42ab-8270-f20d67f1cdf6/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/4cce670e-8182-479e-bc68-64643ec0739f": {
      "id": "4cce670e-8182-479e-bc68-64643ec0739f",
      "position": 10,
      "resource": {
        "id": "8df6bf36-11cd-4646-8c71-874c2992657d",
        "name": "Gasoline (demand in gallons)",
        "image": {
          "id": "ac4502db-2beb-47b9-9889-fa576951b555",
          "type": "icon",
          "icon": {
            "iconCodePoint": 58260
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "3cc6978a-2b20-4238-ac2e-177b2211788f",
        "type": "constant",
        "constantData": {
          "value": "16"
        },
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249432
    },
    "/models/1/formulas/5bfde0ca-eef6-42ab-8270-f20d67f1cdf6/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "5bfde0ca-eef6-42ab-8270-f20d67f1cdf6",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "Subaru",
      "decoration": {
        "image": {
          "id": "3abff5e3-a118-4b65-9064-1c152a7939ba",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1626443252351-4f3a387d6d43?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTA0Mzl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2ODU3MjM1MzJ8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ff9e9e9e"
      },
      "timeSpan": {
        "duration": {
          "id": "b0c212e5-f327-43f7-b312-9bc4cb3cdf79",
          "type": "calculation",
          "constantData": null,
          "randomData": null,
          "calculationData": {
            "leftFormulaNumber": {
              "id": "dcb4303a-4005-45dc-9532-29841ec63ccd",
              "type": "constant",
              "constantData": {
                "value": "7"
              },
              "randomData": null,
              "calculationData": null,
              "ifElseData": null,
              "variableData": null
            },
            "rightFormulaNumber": {
              "id": "25865839-a439-45c2-80e8-d6dc44007695",
              "type": "random",
              "constantData": null,
              "randomData": {
                "min": "0",
                "max": "14",
                "roundToNearestInteger": true
              },
              "calculationData": null,
              "ifElseData": null,
              "variableData": null
            },
            "mathOperation": "add"
          },
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249432
    },
    "/models/1/formulas/4180173d-fbe4-42c0-95ca-9e6baa5e4081/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_inputs/db1c4607-159d-4f4b-8772-4f0d75ec7dac": {
      "id": "db1c4607-159d-4f4b-8772-4f0d75ec7dac",
      "position": 10,
      "resource": {
        "id": "a2143324-7c3c-44c3-8761-c33f3c72f163",
        "name": "Coal (demand kWh)",
        "image": {
          "id": "8147fa15-4c57-49b9-9cf5-e9de30ee7e6c",
          "type": "icon",
          "icon": {
            "iconCodePoint": 58824
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "fc42b01c-71c7-41bc-a54c-4929b6a61193",
        "type": "variable",
        "constantData": null,
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": {
          "key": "INPUT_WITH_UPSTREAM::CACHE_AVAILABLE_VALUE::IDa2143324-7c3c-44c3-8761-c33f3c72f163"
        }
      },
      "cacheSize": "0",
      "timestamp": 1706737249432
    },
    "/models/1/formulas/4180173d-fbe4-42c0-95ca-9e6baa5e4081/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/d9991816-f521-496c-a13e-fd2030c1eef5": {
      "id": "d9991816-f521-496c-a13e-fd2030c1eef5",
      "position": 10,
      "resource": {
        "id": "81c157dd-a568-470e-8b32-478203b52f23",
        "name": "CO2  from coal (lbs)",
        "image": {
          "id": "107c9405-1674-43a3-934a-e3acfce9b437",
          "type": "icon",
          "icon": {
            "iconCodePoint": 57444
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "5334cdf1-6c64-4b21-93a6-3bcdd9bb1de7",
        "type": "calculation",
        "constantData": null,
        "randomData": null,
        "calculationData": {
          "leftFormulaNumber": {
            "id": "17044fc1-9774-4e1a-aa0d-a9bd03296f98",
            "type": "variable",
            "constantData": null,
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": {
              "key": "COST::AMOUNT::IDa2143324-7c3c-44c3-8761-c33f3c72f163"
            }
          },
          "rightFormulaNumber": {
            "id": "dea3a0a8-0c10-468b-9551-e0ed862dca07",
            "type": "constant",
            "constantData": {
              "value": "2.26"
            },
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": null
          },
          "mathOperation": "multiply"
        },
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249432
    },
    "/models/1/formulas/4180173d-fbe4-42c0-95ca-9e6baa5e4081/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "4180173d-fbe4-42c0-95ca-9e6baa5e4081",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "Coal",
      "decoration": {
        "image": {
          "id": "ed665c93-bf95-405e-8322-64053ab5e7c5",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1652734849441-bdcc3c9f90c6?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTA0Mzl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2ODU3MjM5MTR8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ff9e9e9e"
      },
      "timeSpan": {
        "duration": {
          "id": "19286d6f-82f9-4d51-9986-a28901186c4d",
          "type": "constant",
          "constantData": {
            "value": "0"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249432
    },
    "/models/1/texts/f7c3af90-5911-4160-9eee-4496c80316f4/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "f7c3af90-5911-4160-9eee-4496c80316f4",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "text": "This model shows how a typical household in Minnesota produces CO2 by purchasing power from the electric grid, and gas for vehicles.",
      "timestamp": 1706737249432
    },
    "/models/1/formulas/609360c8-b520-453b-b4c8-158f3fbbbd43/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_inputs/edf085a6-5b46-4077-836f-a1719171fb17": {
      "id": "edf085a6-5b46-4077-836f-a1719171fb17",
      "position": 10,
      "resource": {
        "id": "5a7aa8dc-b629-4221-a9e3-1a01076faef1",
        "name": "Nuclear Power (demand kWh)",
        "image": {
          "id": "cfeca16a-396e-4b04-922a-49e8f346fd29",
          "type": "icon",
          "icon": {
            "iconCodePoint": 58080
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "034c9e12-829d-445b-b74f-31ad519023df",
        "type": "variable",
        "constantData": null,
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": {
          "key": "INPUT_WITH_UPSTREAM::CACHE_AVAILABLE_VALUE::ID5a7aa8dc-b629-4221-a9e3-1a01076faef1"
        }
      },
      "cacheSize": "0",
      "timestamp": 1706737249432
    },
    "/models/1/formulas/609360c8-b520-453b-b4c8-158f3fbbbd43/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/a7cedb83-97e0-4891-a50a-e99d63427878": {
      "id": "a7cedb83-97e0-4891-a50a-e99d63427878",
      "position": 10,
      "resource": {
        "id": "fb68f6a4-acb7-4050-98fb-429a9f220f20",
        "name": "CO2 from Nuclear (lbs)",
        "image": {
          "id": "f5a27816-313b-48bd-a15a-1b148005c16e",
          "type": "icon",
          "icon": {
            "iconCodePoint": 57444
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "9bf55824-2511-46c4-b771-df8e9a975b88",
        "type": "calculation",
        "constantData": null,
        "randomData": null,
        "calculationData": {
          "leftFormulaNumber": {
            "id": "8a031d47-20c1-4016-98c3-37fca90b7046",
            "type": "variable",
            "constantData": null,
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": {
              "key": "COST::AMOUNT::ID5a7aa8dc-b629-4221-a9e3-1a01076faef1"
            }
          },
          "rightFormulaNumber": {
            "id": "843e2f3a-94db-4e7d-bfa4-ae2f5d5224ec",
            "type": "constant",
            "constantData": {
              "value": "0.00881849"
            },
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": null
          },
          "mathOperation": "multiply"
        },
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249433
    },
    "/models/1/formulas/609360c8-b520-453b-b4c8-158f3fbbbd43/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "609360c8-b520-453b-b4c8-158f3fbbbd43",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "Nuclear",
      "decoration": {
        "image": {
          "id": "199e0812-37e2-4c5a-b5a3-5c830e54f1af",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1610720707798-6fe21dc165ba?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTA0Mzl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2ODU3MjM5MzV8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ff9e9e9e"
      },
      "timeSpan": {
        "duration": {
          "id": "e65ae492-f1fa-4563-8864-161b78648045",
          "type": "constant",
          "constantData": {
            "value": "0"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249433
    },
    "/models/1/formulas/a17dcbc5-810f-48bd-9eb3-301b57498a33/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_inputs/de011a9b-9794-4687-a87e-4e444736fda2": {
      "id": "de011a9b-9794-4687-a87e-4e444736fda2",
      "position": 10,
      "resource": {
        "id": "92c15798-43c2-49e6-bb7d-0b257d37f2cc",
        "name": "Solar Electricty (demand)",
        "image": {
          "id": "3510e143-8f19-4438-b0cc-e0e83e28362f",
          "type": "icon",
          "icon": {
            "iconCodePoint": 62652
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "cb70fb0a-94b3-4891-a982-083a27ea3b1f",
        "type": "variable",
        "constantData": null,
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": {
          "key": "INPUT_WITH_UPSTREAM::CACHE_AVAILABLE_VALUE::ID92c15798-43c2-49e6-bb7d-0b257d37f2cc"
        }
      },
      "cacheSize": "0",
      "timestamp": 1706737249433
    },
    "/models/1/formulas/a17dcbc5-810f-48bd-9eb3-301b57498a33/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/07185b57-f96b-4ace-bc9f-7fcb10bf4f1e": {
      "id": "07185b57-f96b-4ace-bc9f-7fcb10bf4f1e",
      "position": 10,
      "resource": {
        "id": "d615b806-b4a2-46fd-94cd-6afd478a96a3",
        "name": "CO2 from solar (lbs)",
        "image": {
          "id": "f5a27816-313b-48bd-a15a-1b148005c16e",
          "type": "icon",
          "icon": {
            "iconCodePoint": 57444
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "62b71ae6-b04c-4e4b-908e-a4b1b3d78170",
        "type": "calculation",
        "constantData": null,
        "randomData": null,
        "calculationData": {
          "leftFormulaNumber": {
            "id": "ed7f5b33-3143-40dd-860c-36fab7d78fad",
            "type": "variable",
            "constantData": null,
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": {
              "key": "COST::AMOUNT::ID92c15798-43c2-49e6-bb7d-0b257d37f2cc"
            }
          },
          "rightFormulaNumber": {
            "id": "bc058f30-515c-4598-a317-80ec6da46271",
            "type": "constant",
            "constantData": {
              "value": "0.0903895"
            },
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": null
          },
          "mathOperation": "multiply"
        },
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249433
    },
    "/models/1/formulas/a17dcbc5-810f-48bd-9eb3-301b57498a33/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "a17dcbc5-810f-48bd-9eb3-301b57498a33",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "Solar",
      "decoration": {
        "image": {
          "id": "df19785f-542b-4cd5-ae36-2cf49c5911b5",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1628206554160-63e8c921e398?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTA0Mzl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2ODU3MjM4Njh8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ff9e9e9e"
      },
      "timeSpan": {
        "duration": {
          "id": "6f43dd86-4f42-4e37-834f-185494eaa745",
          "type": "constant",
          "constantData": {
            "value": "0"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249433
    },
    "/models/1/texts/8e600da2-f3e5-40e3-aa72-d5798aa5a734/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "8e600da2-f3e5-40e3-aa72-d5798aa5a734",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "text": "The power grid here breaks the demand into the various energy sources that make up the MN power grid.",
      "timestamp": 1706737249433
    },
    "/models/1/formulas/ba3fba7b-7f64-4dae-82a5-c014409eea4a/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_inputs/70a85efc-d66f-44c7-8e23-7e20402c6948": {
      "id": "70a85efc-d66f-44c7-8e23-7e20402c6948",
      "position": 10,
      "resource": {
        "id": "8e837dde-92b2-4aeb-af48-918ac31bacce",
        "name": "Natural Gas (demand kWh)",
        "image": {
          "id": "bb96974a-076c-474d-ad20-c46e8a54ff18",
          "type": "icon",
          "icon": {
            "iconCodePoint": 57994
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "a3b35759-2a21-4039-9dcf-db9a525fed83",
        "type": "variable",
        "constantData": null,
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": {
          "key": "INPUT_WITH_UPSTREAM::CACHE_AVAILABLE_VALUE::ID8e837dde-92b2-4aeb-af48-918ac31bacce"
        }
      },
      "cacheSize": "0",
      "timestamp": 1706737249433
    },
    "/models/1/formulas/ba3fba7b-7f64-4dae-82a5-c014409eea4a/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/34ccbb19-b3a5-4662-8b50-6f79a5c6131e": {
      "id": "34ccbb19-b3a5-4662-8b50-6f79a5c6131e",
      "position": 10,
      "resource": {
        "id": "77d99992-ee79-4e55-a22e-574c753da268",
        "name": "CO2  from Natural Gas (lbs)",
        "image": {
          "id": "b4814493-cf2a-4d60-9638-b62a187c4875",
          "type": "icon",
          "icon": {
            "iconCodePoint": 57444
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "046ccf67-5e91-4e4d-87c3-3094891f6e7b",
        "type": "calculation",
        "constantData": null,
        "randomData": null,
        "calculationData": {
          "leftFormulaNumber": {
            "id": "c6a28d87-81cb-46e7-bc40-bf83b1aea9b7",
            "type": "variable",
            "constantData": null,
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": {
              "key": "COST::AMOUNT::ID8e837dde-92b2-4aeb-af48-918ac31bacce"
            }
          },
          "rightFormulaNumber": {
            "id": "f4b54e92-34a4-4e51-8e81-8c1d07c2b58f",
            "type": "constant",
            "constantData": {
              "value": "0.97"
            },
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": null
          },
          "mathOperation": "multiply"
        },
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249433
    },
    "/models/1/formulas/ba3fba7b-7f64-4dae-82a5-c014409eea4a/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "ba3fba7b-7f64-4dae-82a5-c014409eea4a",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "Natural Gas",
      "decoration": {
        "image": {
          "id": "574af609-e0e6-4c05-bb06-54900e4d4138",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1622801179563-94f5aa9a1c6d?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTA0Mzl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2ODU3MjM4ODJ8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ff9e9e9e"
      },
      "timeSpan": {
        "duration": {
          "id": "ba5eed78-ccae-4d60-addb-27764d01b15c",
          "type": "constant",
          "constantData": {
            "value": "0"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249433
    },
    "/models/1/formulas/22ccfc60-7c46-4eb9-b2dc-f77f15e28322/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_inputs/afb305c1-b2a5-4d39-9ba8-55015cb39adb": {
      "id": "afb305c1-b2a5-4d39-9ba8-55015cb39adb",
      "position": 10,
      "resource": {
        "id": "383f0d7e-0b18-4ec5-a5a3-6c5915d8bdae",
        "name": "Petrolium (demand kWh)",
        "image": {
          "id": "183cc8f4-167b-4688-84ca-630093adb28a",
          "type": "icon",
          "icon": {
            "iconCodePoint": 58260
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "95dde9a8-6f9e-4353-93d4-bbec50c98837",
        "type": "variable",
        "constantData": null,
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": {
          "key": "INPUT_WITH_UPSTREAM::CACHE_AVAILABLE_VALUE::ID383f0d7e-0b18-4ec5-a5a3-6c5915d8bdae"
        }
      },
      "cacheSize": "0",
      "timestamp": 1706737249433
    },
    "/models/1/formulas/22ccfc60-7c46-4eb9-b2dc-f77f15e28322/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720/formula_outputs/57f93866-8477-49ea-a9e0-564b530cc2f8": {
      "id": "57f93866-8477-49ea-a9e0-564b530cc2f8",
      "position": 10,
      "resource": {
        "id": "0dba77a6-0c3d-47ba-850a-d82dcc8be0c5",
        "name": "CO2 from petrol (lbs)",
        "image": {
          "id": "03867429-93e0-4967-a05d-8e14cc9a58ae",
          "type": "icon",
          "icon": {
            "iconCodePoint": 57444
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "e3dd02e8-b302-4008-a7fa-097c4a0e20f1",
        "type": "calculation",
        "constantData": null,
        "randomData": null,
        "calculationData": {
          "leftFormulaNumber": {
            "id": "cfdcafad-61d4-4e0e-b9e8-840b089cad72",
            "type": "variable",
            "constantData": null,
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": {
              "key": "COST::AMOUNT::ID383f0d7e-0b18-4ec5-a5a3-6c5915d8bdae"
            }
          },
          "rightFormulaNumber": {
            "id": "a8c254b5-c9c0-45e6-aab5-c1e444977b60",
            "type": "constant",
            "constantData": {
              "value": "2.44"
            },
            "randomData": null,
            "calculationData": null,
            "ifElseData": null,
            "variableData": null
          },
          "mathOperation": "multiply"
        },
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706737249433
    },
    "/models/1/formulas/22ccfc60-7c46-4eb9-b2dc-f77f15e28322/versions/a52a13d2-27b5-46a8-8a7c-5b07370b4720": {
      "versionRef": {
        "id": "22ccfc60-7c46-4eb9-b2dc-f77f15e28322",
        "ref": "a52a13d2-27b5-46a8-8a7c-5b07370b4720"
      },
      "visibility": "public",
      "name": "Petrolium",
      "decoration": {
        "image": {
          "id": "9780ffa0-ccc0-4da6-92f5-a988ea552f27",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1648369000096-109763c11e8e?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTA0Mzl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2ODU3MjcwOTF8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ff9e9e9e"
      },
      "timeSpan": {
        "duration": {
          "id": "b3a0d00a-5eba-4b16-8e51-973460555c73",
          "type": "constant",
          "constantData": {
            "value": "0"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706737249433
    }
  }
}

Generating models in that format was possible! But my success rate was low, and each query was taking almost five minutes and costing tens of cents.

Dumb it down.

When asked in English, GPT-4 was able to describe the components of almost anything you’d want to simulate using good logic. However, I couldn’t effectively get that quality output into our data format, and thus, after some thought, I set out to change the data format.

Cut out the visuals

We were getting all sorts of hallucinated image urls, ugly color hex codes and bad icon codes. Low hanging fruit.

These things were all over the place:

<collapsed json>
"decoration": {
        "image": {
          "id": "fa7542fb-a67e-4b30-9056-69d47d98ed6e",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1580137189272-c9379f8864fd?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTA0Mzl8MHwxfHJhbmRvbXx8fHx8fHx8fDE2ODk1MzM1OTV8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": null
          }
        },
        "colorHex": "#ff9e9e9e"
      },
</collapsed>

My first act was making the various “decoration” fields nullable, and removing them from the instructions.


Don’t tell your Assistant about the rare use cases

Simily lets you define all kinds of number types: constant numbers, random numbers, numbers produced by an equation, numbers defined by the environment etc. However, we are only trying to generate good starter simulations, we don’t need the power features.

I began to hide the existence of all the number types except constant numbers from the instructions.

Blow it up. Dumberer it down. Redefine requirements.

At this point we are mangling our data mode a bit, and while we are seeing improvements, we’re not seeing huge gains. Maybe we need to go back to the drawing board.

Our primary data model has everything necessary to display our Simulations on screen, run queries and updates, serialize efficiently, handle nested simulations, attribute changes to particular users, etc. But we don’t want AI logic for any of those things, we want to use AI for its logic and knowledge in designing simulations.

So here is the secret:

Create a new simplified data model that can be imported and transformed to your app’s sophisticated data model.

Remove all permissions and ownership

  • You are asking an AI to generate this thing. Assign permissions at import time, at this point we only care about the logic and raw data of the model being generated.

Identify gaps we can fill with traditional algorithms

  • Id association and generation

    • Nest content directly (rather than use associations)

    • De-dupe things in traditional code if necessary.

  • Positioning

    • The AIs can generate x,y coordinates, but they are unlikely to be good quality without further instructions and compute power

    • You can define a consistently pleasant looking layout in code using your own algorithm


Find other concepts that we can eliminate entirely

  • In Simily, we removed the concept of Connections entirely from our data model

    • We were able to do this because a connection is defined as a specific resource from one Formula leading to a specific resource of another. Knowing we would have a limited number of Formulas and Resources, we decided we could just connect every input or output, to every other input or output that shares a Resource name.

  • We also removed the concept of Caches entirely

    • This concept was just adding another complication to our logic, and rather than have the AI generate these things, we made a general import rule to always add caches in between connected Formulas.

  • As mentioned earlier, we removed many of the Formula Number Types we didn’t expect to use during generation. The current setup does not support things like time variables.

  • In your project you might remove concepts like:

    • Text formats

      • Could be reduced to a small set of common formats

      • Formatting could be implied by content context

    • Attachments

      • This might be a key tool in user generated content, but you aren’t expecting many from your AI generated content

    • Avatars

    • Position fields

      • Which can easily just be inferred by position in a JSON Array.

    • Version Ids

    • Timestamps


Use Query hints

  • If there is a hard to generate bit of data that is required, consider including a hint you can use to query for the data you need during the import phase.

    • Images - Simily uses unsplash as an image provider. Rather than have the AI try to generate a valid unsplash url, we ask the AI to generate a good image search term.


Compare and Contrast

Given a simple simulation like the following:

Our simplified data model looks like:

<collapsed json>
{
  "name": "A Chicken Coop with only two Formulas",
  "image": "chicken_coop",
  "formulas": {
    "packaging": {
      "name": "Egg Packaging",
      "image": "egg_carton",
      "duration": {
        "type": "Constant",
        "data": {
          "constant": "1"
        }
      },
      "durationUnit": "days",
      "inputs": [
        {
          "resource": "Egg",
          "quantity": {
            "type": "Constant",
            "data": {
              "constant": "12"
            }
          }
        }
      ],
      "outputs": [
        {
          "resource": "Egg Carton",
          "quantity": {
            "type": "Constant",
            "data": {
              "constant": "1"
            }
          }
        }
      ]
    },
    "chicken": {
      "name": "Egg Laying Chicken",
      "image": "chicken",
      "duration": {
        "type": "Constant",
        "data": {
          "constant": "1"
        }
      },
      "durationUnit": "days",
      "inputs": [
        {
          "resource": "Chicken Feed (lbs)",
          "quantity": {
            "type": "Constant",
            "data": {
              "constant": "0.15"
            }
          }
        }
      ],
      "outputs": [
        {
          "resource": "Egg",
          "quantity": {
            "type": "Constant",
            "data": {
              "constant": "1"
            }
          }
        },
        {
          "resource": "Manure (lbs)",
          "quantity": {
            "type": "Constant",
            "data": {
              "constant": "0.1"
            }
          }
        }
      ]
    }
  }
}

</collapsed>

That same simulation looks like this after import:

<collapsed json>
{
  "formatVersion": 2,
  "generationTime": "2024-02-01T11:17:56.761",
  "name": "A Chicken Coop with only two Formulas",
  "targetModelPath": "/models/1/simulations/039fa6bb-0f1b-4ab5-a809-789a41ec670f/versions/HEAD",
  "data": {
    "/models/1/simulations/039fa6bb-0f1b-4ab5-a809-789a41ec670f/versions/HEAD": {
      "versionRef": {
        "id": "039fa6bb-0f1b-4ab5-a809-789a41ec670f",
        "ref": "HEAD"
      },
      "visibility": "public",
      "name": "A Chicken Coop with only two Formulas",
      "rootSystemVersionRef": {
        "id": "a8c829c1-944b-4b04-9b82-fba8098d0b28",
        "ref": "HEAD"
      },
      "timestamp": 1706807876762
    },
    "/models/1/systems/a8c829c1-944b-4b04-9b82-fba8098d0b28/versions/HEAD/entities/7a27d93d-d45b-4eff-b82f-473edbcd722c": {
      "id": "7a27d93d-d45b-4eff-b82f-473edbcd722c",
      "name": "",
      "type": "formula",
      "data": {
        "id": "78950bae-4ca1-4924-8a84-01cfed79f71d",
        "ref": "HEAD"
      },
      "timestamp": 1706807876762
    },
    "/models/1/systems/a8c829c1-944b-4b04-9b82-fba8098d0b28/versions/HEAD/entities/ff216b2d-ffad-49cf-9e98-7fcd03ede883": {
      "id": "ff216b2d-ffad-49cf-9e98-7fcd03ede883",
      "name": "",
      "type": "formula",
      "data": {
        "id": "f57e3a34-26f6-4da4-9a86-a0fd94636693",
        "ref": "HEAD"
      },
      "timestamp": 1706807876763
    },
    "/models/1/systems/a8c829c1-944b-4b04-9b82-fba8098d0b28/versions/HEAD/entities/83e572af-5641-4397-9fce-c33765827492": {
      "id": "83e572af-5641-4397-9fce-c33765827492",
      "name": "Egg",
      "type": "cache",
      "data": {
        "id": "1884f9a9-8fc8-4c7c-a6a0-d0e60381361b",
        "ref": "HEAD"
      },
      "timestamp": 1706807876763
    },
    "/models/1/systems/a8c829c1-944b-4b04-9b82-fba8098d0b28/versions/HEAD/entity_ui_datas/7a27d93d-d45b-4eff-b82f-473edbcd722c": {
      "x": 1350,
      "y": 720,
      "width": 220,
      "height": 140,
      "timestamp": 1706807876763
    },
    "/models/1/systems/a8c829c1-944b-4b04-9b82-fba8098d0b28/versions/HEAD/entity_ui_datas/ff216b2d-ffad-49cf-9e98-7fcd03ede883": {
      "x": 450,
      "y": 480,
      "width": 220,
      "height": 140,
      "timestamp": 1706807876763
    },
    "/models/1/systems/a8c829c1-944b-4b04-9b82-fba8098d0b28/versions/HEAD/entity_ui_datas/83e572af-5641-4397-9fce-c33765827492": {
      "x": 900,
      "y": 720,
      "width": 140,
      "height": 140,
      "timestamp": 1706807876763
    },
    "/models/1/systems/a8c829c1-944b-4b04-9b82-fba8098d0b28/versions/HEAD/connections/06c98f7e-4b80-4c40-8a6d-9dbb4395605a": {
      "id": "06c98f7e-4b80-4c40-8a6d-9dbb4395605a",
      "sourceEntityId": "83e572af-5641-4397-9fce-c33765827492",
      "sourceResourceId": "9b8c18ac-45c1-4a54-9b26-7ab583ad4c20",
      "sinkEntityId": "7a27d93d-d45b-4eff-b82f-473edbcd722c",
      "sinkResourceId": "5c9b143b-30d7-4683-b5ad-bd027f384dbe",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706807876763
    },
    "/models/1/systems/a8c829c1-944b-4b04-9b82-fba8098d0b28/versions/HEAD/connections/d484b6d6-d56d-4482-9f76-267b947474b3": {
      "id": "d484b6d6-d56d-4482-9f76-267b947474b3",
      "sourceEntityId": "ff216b2d-ffad-49cf-9e98-7fcd03ede883",
      "sourceResourceId": "70fd3670-9f29-410c-9e70-c8731b7591f2",
      "sinkEntityId": "83e572af-5641-4397-9fce-c33765827492",
      "sinkResourceId": "9b8c18ac-45c1-4a54-9b26-7ab583ad4c20",
      "pushEnabled": true,
      "pushPriority": 1,
      "pullEnabled": true,
      "pullPriority": 1,
      "timestamp": 1706807876763
    },
    "/models/1/systems/a8c829c1-944b-4b04-9b82-fba8098d0b28/versions/HEAD": {
      "versionRef": {
        "id": "a8c829c1-944b-4b04-9b82-fba8098d0b28",
        "ref": "HEAD"
      },
      "visibility": "public",
      "name": "A Chicken Coop with only two Formulas",
      "decoration": {
        "image": {
          "id": "0555e752-eb88-4572-a71b-12b3286616d5",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1618346146499-5a503b5e4893?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": {
              "id": "J6EpY43_1jg",
              "colorHex": "#598c26",
              "photoUrls": {
                "raw": "https://images.unsplash.com/photo-1618346146499-5a503b5e4893?ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3",
                "full": "https://images.unsplash.com/photo-1618346146499-5a503b5e4893?crop=entropy&cs=srgb&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=85",
                "regular": "https://images.unsplash.com/photo-1618346146499-5a503b5e4893?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=80&w=1080",
                "small": "https://images.unsplash.com/photo-1618346146499-5a503b5e4893?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=80&w=400",
                "thumb": "https://images.unsplash.com/photo-1618346146499-5a503b5e4893?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=80&w=200"
              }
            }
          }
        },
        "colorHex": "#000000"
      },
      "timestamp": 1706807876763
    },
    "/models/1/formulas/78950bae-4ca1-4924-8a84-01cfed79f71d/versions/HEAD/formula_inputs/4484fde0-bded-4a04-a5c8-afd6ed8885a4": {
      "id": "4484fde0-bded-4a04-a5c8-afd6ed8885a4",
      "position": 0,
      "resource": {
        "id": "5c9b143b-30d7-4683-b5ad-bd027f384dbe",
        "name": "Egg",
        "image": {
          "id": "2ff64368-d547-4424-a965-2eb8c6b1d77f",
          "type": "icon",
          "icon": {
            "iconCodePoint": 61633
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "26325861-bede-409a-b993-6e67a37f5e2c",
        "type": "constant",
        "constantData": {
          "value": "12"
        },
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706807876764
    },
    "/models/1/formulas/78950bae-4ca1-4924-8a84-01cfed79f71d/versions/HEAD/formula_outputs/b5377319-429b-43cb-b313-e04b67f74133": {
      "id": "b5377319-429b-43cb-b313-e04b67f74133",
      "position": 0,
      "resource": {
        "id": "498d0ddc-e4f9-491d-ab46-acd4b239ba10",
        "name": "Egg Carton",
        "image": {
          "id": "895d7028-a09a-448e-ba9c-6bdbc4274eb7",
          "type": "icon",
          "icon": {
            "iconCodePoint": 61633
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "aa0f3211-83f1-4fc0-b118-adc9f617b7f2",
        "type": "constant",
        "constantData": {
          "value": "1"
        },
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706807876764
    },
    "/models/1/formulas/78950bae-4ca1-4924-8a84-01cfed79f71d/versions/HEAD": {
      "versionRef": {
        "id": "78950bae-4ca1-4924-8a84-01cfed79f71d",
        "ref": "HEAD"
      },
      "visibility": "public",
      "name": "Egg Packaging",
      "decoration": {
        "image": {
          "id": "26547907-b3e6-4a7d-80b3-bbba0bc3c942",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1585355611444-06154f329e96?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": {
              "id": "DNAUkd9Ija0",
              "colorHex": "#262626",
              "photoUrls": {
                "raw": "https://images.unsplash.com/photo-1585355611444-06154f329e96?ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3",
                "full": "https://images.unsplash.com/photo-1585355611444-06154f329e96?crop=entropy&cs=srgb&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=85",
                "regular": "https://images.unsplash.com/photo-1585355611444-06154f329e96?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=80&w=1080",
                "small": "https://images.unsplash.com/photo-1585355611444-06154f329e96?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=80&w=400",
                "thumb": "https://images.unsplash.com/photo-1585355611444-06154f329e96?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=80&w=200"
              }
            }
          }
        },
        "colorHex": "#000000"
      },
      "timeSpan": {
        "duration": {
          "id": "ef87c076-1ec1-420b-8b1d-2ef89317d03a",
          "type": "constant",
          "constantData": {
            "value": "1"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706807876765
    },
    "/models/1/formulas/f57e3a34-26f6-4da4-9a86-a0fd94636693/versions/HEAD/formula_inputs/6ed1363b-c3be-4bba-abc6-45f4456a636c": {
      "id": "6ed1363b-c3be-4bba-abc6-45f4456a636c",
      "position": 0,
      "resource": {
        "id": "df78caf7-d121-4e73-826f-84454659a795",
        "name": "Chicken Feed (lbs)",
        "image": {
          "id": "2086f739-963f-4367-a682-8a4d31185132",
          "type": "icon",
          "icon": {
            "iconCodePoint": 61633
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "6c711066-1c46-4efd-baec-c586c4055499",
        "type": "constant",
        "constantData": {
          "value": "0.15"
        },
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706807876767
    },
    "/models/1/formulas/f57e3a34-26f6-4da4-9a86-a0fd94636693/versions/HEAD/formula_outputs/7fa60b20-e79e-42ca-80cc-edeae569dbd2": {
      "id": "7fa60b20-e79e-42ca-80cc-edeae569dbd2",
      "position": 0,
      "resource": {
        "id": "70fd3670-9f29-410c-9e70-c8731b7591f2",
        "name": "Egg",
        "image": {
          "id": "0360ff5f-837c-4f6b-8d98-4d1231abaae1",
          "type": "icon",
          "icon": {
            "iconCodePoint": 61633
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "858cc87a-58e3-4c04-8c42-cc78625bb5cd",
        "type": "constant",
        "constantData": {
          "value": "1"
        },
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706807876767
    },
    "/models/1/formulas/f57e3a34-26f6-4da4-9a86-a0fd94636693/versions/HEAD/formula_outputs/3a063da8-7423-4ddf-8a15-b2b25dd8e543": {
      "id": "3a063da8-7423-4ddf-8a15-b2b25dd8e543",
      "position": 1,
      "resource": {
        "id": "78c607cd-7253-4437-b70a-18a1fc53a868",
        "name": "Manure (lbs)",
        "image": {
          "id": "c2afac5c-bcb5-4db2-a63a-3ebdeba316fa",
          "type": "icon",
          "icon": {
            "iconCodePoint": 61633
          },
          "web": null
        },
        "divisible": true
      },
      "formulaNumber": {
        "id": "02b6f8c8-d710-4dcb-b9fc-bb5f843f7456",
        "type": "constant",
        "constantData": {
          "value": "0.1"
        },
        "randomData": null,
        "calculationData": null,
        "ifElseData": null,
        "variableData": null
      },
      "cacheSize": "0",
      "timestamp": 1706807876768
    },
    "/models/1/formulas/f57e3a34-26f6-4da4-9a86-a0fd94636693/versions/HEAD": {
      "versionRef": {
        "id": "f57e3a34-26f6-4da4-9a86-a0fd94636693",
        "ref": "HEAD"
      },
      "visibility": "public",
      "name": "Egg Laying Chicken",
      "decoration": {
        "image": {
          "id": "b91799a1-9734-4c18-9bbb-9d140b849b09",
          "type": "web",
          "icon": null,
          "web": {
            "url": "https://images.unsplash.com/photo-1465153690352-10c1b29577f8?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=80&w=1080",
            "unsplashData": {
              "id": "kCZSzqvIei4",
              "colorHex": "#a6c0a6",
              "photoUrls": {
                "raw": "https://images.unsplash.com/photo-1465153690352-10c1b29577f8?ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3",
                "full": "https://images.unsplash.com/photo-1465153690352-10c1b29577f8?crop=entropy&cs=srgb&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=85",
                "regular": "https://images.unsplash.com/photo-1465153690352-10c1b29577f8?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=80&w=1080",
                "small": "https://images.unsplash.com/photo-1465153690352-10c1b29577f8?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=80&w=400",
                "thumb": "https://images.unsplash.com/photo-1465153690352-10c1b29577f8?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NzcyNDl8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MDY4MDc2NDh8&ixlib=rb-4.0.3&q=80&w=200"
              }
            }
          }
        },
        "colorHex": "#000000"
      },
      "timeSpan": {
        "duration": {
          "id": "321916a2-703b-42e8-8d16-206cc9f050e0",
          "type": "constant",
          "constantData": {
            "value": "1"
          },
          "randomData": null,
          "calculationData": null,
          "ifElseData": null,
          "variableData": null
        },
        "timeUnit": "days"
      },
      "timestamp": 1706807876768
    },
    "/models/1/caches/1884f9a9-8fc8-4c7c-a6a0-d0e60381361b/versions/HEAD": {
      "id": {
        "id": "1884f9a9-8fc8-4c7c-a6a0-d0e60381361b",
        "ref": "HEAD"
      },
      "visibility": "public",
      "resource": {
        "id": "9b8c18ac-45c1-4a54-9b26-7ab583ad4c20",
        "name": "Egg",
        "image": {
          "id": "a5f11a52-f69f-42df-833c-4acc12488b1a",
          "type": "icon",
          "icon": {
            "iconCodePoint": 61633
          },
          "web": null
        },
        "divisible": true
      },
      "max": "12",
      "timestamp": 1706807876768
    }
  }
}

</collapsed>

Conclusion

The simplified version of our model is simpler! This results in fewer decisions to be made by the AI and reduces the amount of raw data we need to generate and transfer. Indeed the outputs generated using our simplified model are two or three times faster to produce, rarely contain invalid data, and do a much better job of representing the simple Simulations we are hoping to create. Big wins!

Related blogs