{
  "Designs": [
    {
      "Id": "3d9f818b-ddfc-4e89-a5f9-9745ea8abcbb",
      "Name": "1- C-code - zoh",
      "Circuit": {
        "Id": "18bcfeb1-804b-448c-af1f-e0bf7ab4294f",
        "Devices": [
          {
            "LibraryName": "DC Voltage Source",
            "Top": 1,
            "Left": -4,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "DC1",
            "ID": "edec7815-ec6b-4a2d-b20b-30166ec7c3c7",
            "Parameters": {
              "Voltage": "Vdc",
              "Name": "DC1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Voltage": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 3",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Ground",
            "Top": 13,
            "Left": -3,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "Ground1",
            "ID": "d25946c9-fc5b-4ce3-8e98-27109837fce4",
            "Parameters": {
              "Name": "Ground1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 3",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Control Output Connector Label",
            "Top": 0,
            "Left": 1,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "Q1",
            "ID": "e89d4c07-dc72-4038-b8a1-9a0b0c3de851",
            "Parameters": {
              "Name": "Q1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Ideal MOSFET",
            "Top": -2,
            "Left": 5,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "T1",
            "ID": "aca9a6fb-b4c7-4538-8d56-39af01a6d3fa",
            "Parameters": {
              "Ron": "0",
              "Name": "T1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Ron": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 0",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Inductor",
            "Top": 4,
            "Left": 9,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "L1",
            "ID": "6998a332-c2c7-46a4-bc7c-4887ef84dc15",
            "Parameters": {
              "Value": "100u",
              "Iinit": "0",
              "Name": "L1"
            },
            "EnabledScopes": [
              "Current"
            ],
            "ParametersDisplayAttributes": {
              "Value": {
                "IsVisible": true,
                "Suffix": "H",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Iinit": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": true,
                "Suffix": "",
                "RelativeLocation": "2 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Resistor",
            "Top": 4,
            "Left": 15,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "R1",
            "ID": "097f6b75-20d9-4ef5-af78-ee9fe8b50b7f",
            "Parameters": {
              "Value": "1",
              "Name": "R1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Value": {
                "IsVisible": true,
                "Suffix": "\u03A9",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Control Input Connector Label",
            "Top": 10,
            "Left": 18,
            "Angle": 0,
            "HF": true,
            "VF": false,
            "Disabled": false,
            "Name": "I_L",
            "ID": "44a7ddb5-2b23-4f50-a341-fad1fddd1e91",
            "Parameters": {
              "Name": "I_L"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Current Probe",
            "Top": 4,
            "Left": 21,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "CP1",
            "ID": "23a52d09-1f0a-4261-9ae4-b772cb39830a",
            "Parameters": {
              "Gain": "1",
              "SamplingTime": "none",
              "Name": "CP1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Gain": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 3",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Ideal Diode",
            "Top": 8,
            "Left": 4,
            "Angle": 270,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "D1",
            "ID": "910ca661-43c6-4941-b323-7a2f193b530c",
            "Parameters": {
              "Rd": "0",
              "Vf": "0",
              "Name": "D1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Rd": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 0",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Vf": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": true,
                "Suffix": "",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "C Code",
            "Top": 18,
            "Left": 6,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "C1",
            "ID": "fb15f4ab-76d1-4405-9d5a-c35adfcb3bcf",
            "Parameters": {
              "NumberOfInputs": "1",
              "NumberOfOutputs": "1",
              "OptionalAdditionalIncludeDirectory": "",
              "Code": "#include \u0022simba_library.h\u0022 \r\n#include \u003Cstdlib.h\u003E\r\n\r\n\r\ntypedef struct{\r\n    double error_prev;\r\n    double output;\r\n    \r\n} model_data;\r\n\r\nmodel_data data; \r\n\r\nvoid initialize() {\r\n\tdata.error_prev = 0;\r\n\tdata.output = 0;\r\n}\r\n\r\nvoid calculate_outputs(double* outputs, double* inputs, double time, double time_step) {\r\n\r\n\tdouble error = 5 - inputs[0];\r\n\tdata.output = data.output \u002B 3.2839 * error - 3.0588 * data.error_prev;\r\n\tdata.error_prev = error;\r\n\t\r\n\toutputs[0] = data.output;\r\n}\r\n\r\nvoid terminate() {\r\n}\r\n\r\n/*\r\n * Function: snapshot (DO NOT MODIFY)\r\n */\r\nvoid* snapshot(snapshot_mode mode, void* snapshot_ptr) {\r\n\tmodel_data* model_data_ptr;\r\n\tswitch (mode) {\r\n\t\tcase SNAPSHOT_CREATE: // Create and return a snapshot of the current model state\r\n\t\t\tmodel_data_ptr = (model_data*)malloc(sizeof(model_data));\r\n\t\t\tif (model_data_ptr == 0) return 0;\r\n\t\t\t*model_data_ptr = data;\r\n\t\t\treturn (void*)model_data_ptr;\r\n\r\n\t\tcase SNAPSHOT_UPDATE:  // Update an existing snapshot with current model data\r\n\t\t\tmodel_data_ptr = (model_data*)snapshot_ptr;\r\n\t\t\t*model_data_ptr = data;\r\n\t\t\treturn snapshot_ptr;\r\n\r\n\t\tcase SNAPSHOT_LOAD:  // Restore model data \r\n\t\t\tmodel_data_ptr = (model_data*)snapshot_ptr;\r\n\t\t\tdata = *model_data_ptr;\r\n\t\t\treturn snapshot_ptr;\r\n\r\n\t\tcase SNAPSHOT_DELETE: // Free the resources allocated in SNAPSHOT_CREATE\r\n\t\t\tfree(snapshot_ptr);\r\n\t\t\treturn 0;\r\n\t}\r\n}",
              "SamplingTime": "auto",
              "Name": "C1"
            },
            "EnabledScopes": [
              "outputs[0]"
            ],
            "ParametersDisplayAttributes": {
              "NumberOfInputs": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 9",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#3C3C3C"
              },
              "NumberOfOutputs": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 10",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#3C3C3C"
              },
              "OptionalAdditionalIncludeDirectory": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 11",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#3C3C3C"
              },
              "Code": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 12",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#3C3C3C"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 12",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#3C3C3C"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 0",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#3C3C3C"
              }
            }
          },
          {
            "LibraryName": "Control Output Connector Label",
            "Top": 22,
            "Left": -7,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "I_L",
            "ID": "db94b312-3e95-45de-82c6-ef79fbfb145a",
            "Parameters": {
              "Name": "I_L"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Zero Order Hold",
            "Top": 21,
            "Left": -1,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "ZOH1",
            "ID": "7dbc7e0f-c7ba-4589-80b5-839e5772746a",
            "Parameters": {
              "SamplingTime": "Ts",
              "Name": "ZOH1"
            },
            "EnabledScopes": [
              "Out"
            ],
            "ParametersDisplayAttributes": {
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Limiter",
            "Top": 21,
            "Left": 19,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "Lim1",
            "ID": "d78593ef-2be6-4072-9fc8-8f449d3ef08b",
            "Parameters": {
              "LowLimit": "0",
              "HighLimit": "Vdc",
              "SamplingTime": "auto",
              "Name": "Lim1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "LowLimit": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 5",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "HighLimit": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 6",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Gain",
            "Top": 21,
            "Left": 23,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "G1",
            "ID": "aa76b264-8fa2-4d3d-808e-44e86b227201",
            "Parameters": {
              "Value": "1 / Vdc",
              "SamplingTime": "auto",
              "Name": "G1"
            },
            "EnabledScopes": [
              "Out"
            ],
            "ParametersDisplayAttributes": {
              "Value": {
                "IsVisible": true,
                "Suffix": "",
                "RelativeLocation": "1 1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 5",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Triangular Wave",
            "Top": 27,
            "Left": 25,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "carrier",
            "ID": "6b75b676-d203-44e6-aa07-9b9bd3cb5a82",
            "Parameters": {
              "Amplitude": "1",
              "Frequency": "fsw",
              "DutyCycle": "0.5",
              "Offset": "0",
              "PhaseShift": "0",
              "SamplingTime": "none",
              "Name": "carrier"
            },
            "EnabledScopes": [
              "Out"
            ],
            "ParametersDisplayAttributes": {
              "Amplitude": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Frequency": {
                "IsVisible": false,
                "Suffix": "Hz",
                "RelativeLocation": "1 5",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "DutyCycle": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 6",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Offset": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 7",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "PhaseShift": {
                "IsVisible": false,
                "Suffix": "\u00B0",
                "RelativeLocation": "1 8",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 9",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Comparator",
            "Top": 22,
            "Left": 31,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "COMP1",
            "ID": "c73fc081-2fb5-43bf-8768-36340b05f8f2",
            "Parameters": {
              "SamplingTime": "none",
              "Name": "COMP1"
            },
            "EnabledScopes": [
              "Input 1",
              "Input 2",
              "Out"
            ],
            "ParametersDisplayAttributes": {
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Control Input Connector Label",
            "Top": 23,
            "Left": 35,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "Q1",
            "ID": "63cbded7-57b4-4ee6-9dd5-547e4dedd33a",
            "Parameters": {
              "Name": "Q1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          }
        ],
        "Connectors": [
          {
            "Segments": [
              {
                "StartX": -2,
                "StartY": 1,
                "EndX": -2,
                "EndY": -3
              },
              {
                "StartX": -2,
                "StartY": -3,
                "EndX": 7,
                "EndY": -3
              },
              {
                "StartX": 7,
                "StartY": -2,
                "EndX": 7,
                "EndY": -3
              }
            ],
            "Name": "C2"
          },
          {
            "Segments": [
              {
                "StartX": 9,
                "StartY": 5,
                "EndX": 7,
                "EndY": 5
              },
              {
                "StartX": 7,
                "StartY": 4,
                "EndX": 7,
                "EndY": 5
              },
              {
                "StartX": 7,
                "StartY": 5,
                "EndX": 7,
                "EndY": 6
              }
            ],
            "Name": "C6"
          },
          {
            "Segments": [
              {
                "StartX": 22,
                "StartY": 11,
                "EndX": 23,
                "EndY": 11
              },
              {
                "StartX": 23,
                "StartY": 6,
                "EndX": 23,
                "EndY": 11
              }
            ],
            "Name": "C9"
          },
          {
            "Segments": [
              {
                "StartX": 25,
                "StartY": 5,
                "EndX": 28,
                "EndY": 5
              },
              {
                "StartX": 28,
                "StartY": 5,
                "EndX": 28,
                "EndY": 13
              },
              {
                "StartX": -2,
                "StartY": 9,
                "EndX": -2,
                "EndY": 13
              },
              {
                "StartX": 7,
                "StartY": 12,
                "EndX": 7,
                "EndY": 13
              },
              {
                "StartX": -2,
                "StartY": 13,
                "EndX": 7,
                "EndY": 13
              },
              {
                "StartX": 7,
                "StartY": 13,
                "EndX": 28,
                "EndY": 13
              }
            ],
            "Name": "C10"
          },
          {
            "Segments": [
              {
                "StartX": -3,
                "StartY": 23,
                "EndX": -1,
                "EndY": 23
              }
            ],
            "Name": "C1"
          },
          {
            "Segments": [
              {
                "StartX": 3,
                "StartY": 23,
                "EndX": 6,
                "EndY": 23
              }
            ],
            "Name": "C4"
          },
          {
            "Segments": [
              {
                "StartX": 27,
                "StartY": 23,
                "EndX": 31,
                "EndY": 23
              }
            ],
            "Name": "C3"
          },
          {
            "Segments": [
              {
                "StartX": 29,
                "StartY": 29,
                "EndX": 30,
                "EndY": 29
              },
              {
                "StartX": 30,
                "StartY": 25,
                "EndX": 30,
                "EndY": 29
              },
              {
                "StartX": 31,
                "StartY": 25,
                "EndX": 30,
                "EndY": 25
              }
            ],
            "Name": "C5"
          },
          {
            "Segments": [
              {
                "StartX": 16,
                "StartY": 23,
                "EndX": 19,
                "EndY": 23
              }
            ],
            "Name": "C7"
          }
        ],
        "Name": "Top Circuit - Copy - Copy",
        "Variables": [
          {
            "Name": "fsw",
            "Value": "100k"
          },
          {
            "Name": "Ts",
            "Value": "1 / fsw"
          },
          {
            "Name": "Vdc",
            "Value": "10.0"
          }
        ],
        "VariableFile": ""
      },
      "TransientAnalysis": {
        "EndTime": "0.2m",
        "FixedTimeStep": false,
        "SaveInitialPoint": true,
        "CompressScopes": false,
        "StopAtSteadyState": false,
        "TimeStep": "1n",
        "BaseFrequencyParameterEnabled": false,
        "NumberOfBasePeriodsSavedParameterEnabled": false,
        "BaseFrequency": "60",
        "NumberOfBasePeriodsSaved": "1"
      }
    },
    {
      "Id": "b927d6c4-dce3-429a-93f4-7142d57713f5",
      "Name": "2- C-code - no zoh",
      "Circuit": {
        "Id": "51857d13-2511-454b-9b5a-6686328d0ff7",
        "Devices": [
          {
            "LibraryName": "DC Voltage Source",
            "Top": 1,
            "Left": -4,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "DC1",
            "ID": "4f1268c7-75d2-4521-9116-b3020a5c5c0d",
            "Parameters": {
              "Voltage": "Vdc",
              "Name": "DC1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Voltage": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 3",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Ground",
            "Top": 13,
            "Left": -3,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "Ground1",
            "ID": "55f8838f-ee94-47e0-867c-f806648638e8",
            "Parameters": {
              "Name": "Ground1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 3",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Control Output Connector Label",
            "Top": 0,
            "Left": 1,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "Q1",
            "ID": "e0947673-fa5d-4ff9-a143-f65fc3ba5a4a",
            "Parameters": {
              "Name": "Q1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Ideal MOSFET",
            "Top": -2,
            "Left": 5,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "T1",
            "ID": "e147ec4a-dd45-408f-bacd-8316b7ccfdd6",
            "Parameters": {
              "Ron": "0",
              "Name": "T1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Ron": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 0",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Inductor",
            "Top": 4,
            "Left": 9,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "L1",
            "ID": "bb4c3083-308c-4489-a8c8-3e99ae5d404f",
            "Parameters": {
              "Value": "100u",
              "Iinit": "0",
              "Name": "L1"
            },
            "EnabledScopes": [
              "Current"
            ],
            "ParametersDisplayAttributes": {
              "Value": {
                "IsVisible": true,
                "Suffix": "H",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Iinit": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": true,
                "Suffix": "",
                "RelativeLocation": "2 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Resistor",
            "Top": 4,
            "Left": 15,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "R1",
            "ID": "49d1b5de-b2aa-49f0-bc34-7a39f2e1184d",
            "Parameters": {
              "Value": "1",
              "Name": "R1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Value": {
                "IsVisible": true,
                "Suffix": "\u03A9",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Current Probe",
            "Top": 4,
            "Left": 21,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "CP1",
            "ID": "a351af5b-b80a-4724-9104-f763976dc428",
            "Parameters": {
              "Gain": "1",
              "SamplingTime": "none",
              "Name": "CP1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Gain": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 3",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Gain",
            "Top": 21,
            "Left": 23,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "G1",
            "ID": "de5b2723-d7eb-46a5-844b-4f09791b9ebb",
            "Parameters": {
              "Value": "1 / Vdc",
              "SamplingTime": "auto",
              "Name": "G1"
            },
            "EnabledScopes": [
              "Out"
            ],
            "ParametersDisplayAttributes": {
              "Value": {
                "IsVisible": true,
                "Suffix": "",
                "RelativeLocation": "1 1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 5",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Control Output Connector Label",
            "Top": 22,
            "Left": -3,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "I_L",
            "ID": "d7f4270f-bb63-437a-ae70-16b2657e177c",
            "Parameters": {
              "Name": "I_L"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Ideal Diode",
            "Top": 8,
            "Left": 4,
            "Angle": 270,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "D1",
            "ID": "5cc63955-f1fa-4a8a-9b00-e92afe903cc2",
            "Parameters": {
              "Rd": "0",
              "Vf": "0",
              "Name": "D1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Rd": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 0",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Vf": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": true,
                "Suffix": "",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "C Code",
            "Top": 18,
            "Left": 6,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "C1",
            "ID": "bbe6e730-5f60-46c6-a931-d34700d9b988",
            "Parameters": {
              "NumberOfInputs": "1",
              "NumberOfOutputs": "1",
              "OptionalAdditionalIncludeDirectory": "",
              "Code": "#include \u0022simba_library.h\u0022 \r\n#include \u003Cstdlib.h\u003E\r\n\r\n\r\ntypedef struct{\r\n    double error_prev;\r\n    double output;\r\n    \r\n} model_data;\r\n\r\nmodel_data data; \r\n\r\nvoid initialize() {\r\n\tdata.error_prev = 0;\r\n\tdata.output = 0;\r\n}\r\n\r\nvoid calculate_outputs(double* outputs, double* inputs, double time, double time_step) {\r\n\r\n\tdouble error = 5 - inputs[0];\r\n\tdata.output = data.output \u002B 3.2839 * error - 3.0588 * data.error_prev;\r\n\tdata.error_prev = error;\r\n\t\r\n\toutputs[0] = data.output;\r\n}\r\n\r\nvoid terminate() {\r\n}\r\n\r\n/*\r\n * Function: snapshot (DO NOT MODIFY)\r\n */\r\nvoid* snapshot(snapshot_mode mode, void* snapshot_ptr) {\r\n\tmodel_data* model_data_ptr;\r\n\tswitch (mode) {\r\n\t\tcase SNAPSHOT_CREATE: // Create and return a snapshot of the current model state\r\n\t\t\tmodel_data_ptr = (model_data*)malloc(sizeof(model_data));\r\n\t\t\tif (model_data_ptr == 0) return 0;\r\n\t\t\t*model_data_ptr = data;\r\n\t\t\treturn (void*)model_data_ptr;\r\n\r\n\t\tcase SNAPSHOT_UPDATE:  // Update an existing snapshot with current model data\r\n\t\t\tmodel_data_ptr = (model_data*)snapshot_ptr;\r\n\t\t\t*model_data_ptr = data;\r\n\t\t\treturn snapshot_ptr;\r\n\r\n\t\tcase SNAPSHOT_LOAD:  // Restore model data \r\n\t\t\tmodel_data_ptr = (model_data*)snapshot_ptr;\r\n\t\t\tdata = *model_data_ptr;\r\n\t\t\treturn snapshot_ptr;\r\n\r\n\t\tcase SNAPSHOT_DELETE: // Free the resources allocated in SNAPSHOT_CREATE\r\n\t\t\tfree(snapshot_ptr);\r\n\t\t\treturn 0;\r\n\t}\r\n}",
              "SamplingTime": "Ts",
              "Name": "C1"
            },
            "EnabledScopes": [
              "outputs[0]"
            ],
            "ParametersDisplayAttributes": {
              "NumberOfInputs": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 9",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#3C3C3C"
              },
              "NumberOfOutputs": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 10",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#3C3C3C"
              },
              "OptionalAdditionalIncludeDirectory": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 11",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#3C3C3C"
              },
              "Code": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 12",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#3C3C3C"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 12",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#3C3C3C"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 0",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#3C3C3C"
              }
            }
          },
          {
            "LibraryName": "Limiter",
            "Top": 21,
            "Left": 18,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "Lim1",
            "ID": "740ee945-a0cf-41b3-8c21-4b0cdaf9e809",
            "Parameters": {
              "LowLimit": "0",
              "HighLimit": "Vdc",
              "SamplingTime": "auto",
              "Name": "Lim1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "LowLimit": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 5",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "HighLimit": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 6",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Comparator",
            "Top": 23,
            "Left": 32,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "COMP1",
            "ID": "b3e59ff4-4a28-4207-b0c0-4e9c93b78303",
            "Parameters": {
              "SamplingTime": "none",
              "Name": "COMP1"
            },
            "EnabledScopes": [
              "Input 1",
              "Input 2",
              "Out"
            ],
            "ParametersDisplayAttributes": {
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Control Input Connector Label",
            "Top": 24,
            "Left": 36,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "Q1",
            "ID": "7596483d-f64f-49df-b380-c5ce5d0cc45d",
            "Parameters": {
              "Name": "Q1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Triangular Wave",
            "Top": 26,
            "Left": 26,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "carrier",
            "ID": "f560cf72-901c-41bb-a880-06767d485210",
            "Parameters": {
              "Amplitude": "1",
              "Frequency": "fsw",
              "DutyCycle": "0.5",
              "Offset": "0",
              "PhaseShift": "0",
              "SamplingTime": "none",
              "Name": "carrier"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Amplitude": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Frequency": {
                "IsVisible": false,
                "Suffix": "Hz",
                "RelativeLocation": "1 5",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "DutyCycle": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 6",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Offset": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 7",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "PhaseShift": {
                "IsVisible": false,
                "Suffix": "\u00B0",
                "RelativeLocation": "1 8",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 9",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Control Input Connector Label",
            "Top": 9,
            "Left": 18,
            "Angle": 0,
            "HF": true,
            "VF": false,
            "Disabled": false,
            "Name": "I_L",
            "ID": "b6c32149-4bea-4b93-99e5-7522ae351283",
            "Parameters": {
              "Name": "I_L"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          }
        ],
        "Connectors": [
          {
            "Segments": [
              {
                "StartX": -2,
                "StartY": 1,
                "EndX": -2,
                "EndY": -3
              },
              {
                "StartX": -2,
                "StartY": -3,
                "EndX": 7,
                "EndY": -3
              },
              {
                "StartX": 7,
                "StartY": -2,
                "EndX": 7,
                "EndY": -3
              }
            ],
            "Name": "C2"
          },
          {
            "Segments": [
              {
                "StartX": 9,
                "StartY": 5,
                "EndX": 7,
                "EndY": 5
              },
              {
                "StartX": 7,
                "StartY": 4,
                "EndX": 7,
                "EndY": 5
              },
              {
                "StartX": 7,
                "StartY": 5,
                "EndX": 7,
                "EndY": 6
              }
            ],
            "Name": "C6"
          },
          {
            "Segments": [
              {
                "StartX": 25,
                "StartY": 5,
                "EndX": 28,
                "EndY": 5
              },
              {
                "StartX": 28,
                "StartY": 5,
                "EndX": 28,
                "EndY": 13
              },
              {
                "StartX": 7,
                "StartY": 12,
                "EndX": 7,
                "EndY": 13
              },
              {
                "StartX": -2,
                "StartY": 9,
                "EndX": -2,
                "EndY": 13
              },
              {
                "StartX": -2,
                "StartY": 13,
                "EndX": 7,
                "EndY": 13
              },
              {
                "StartX": 7,
                "StartY": 13,
                "EndX": 28,
                "EndY": 13
              }
            ],
            "Name": "C10"
          },
          {
            "Segments": [
              {
                "StartX": 1,
                "StartY": 23,
                "EndX": 6,
                "EndY": 23
              }
            ],
            "Name": "C1"
          },
          {
            "Segments": [
              {
                "StartX": 16,
                "StartY": 23,
                "EndX": 18,
                "EndY": 23
              }
            ],
            "Name": "C3"
          },
          {
            "Segments": [
              {
                "StartX": 23,
                "StartY": 23,
                "EndX": 22,
                "EndY": 23
              }
            ],
            "Name": "C4"
          },
          {
            "Segments": [
              {
                "StartX": 31,
                "StartY": 23,
                "EndX": 31,
                "EndY": 24
              },
              {
                "StartX": 32,
                "StartY": 24,
                "EndX": 31,
                "EndY": 24
              },
              {
                "StartX": 27,
                "StartY": 23,
                "EndX": 31,
                "EndY": 23
              }
            ],
            "Name": "C5"
          },
          {
            "Segments": [
              {
                "StartX": 32,
                "StartY": 26,
                "EndX": 31,
                "EndY": 26
              },
              {
                "StartX": 31,
                "StartY": 26,
                "EndX": 31,
                "EndY": 28
              },
              {
                "StartX": 31,
                "StartY": 28,
                "EndX": 30,
                "EndY": 28
              }
            ],
            "Name": "C7"
          },
          {
            "Segments": [
              {
                "StartX": 23,
                "StartY": 6,
                "EndX": 23,
                "EndY": 10
              },
              {
                "StartX": 23,
                "StartY": 10,
                "EndX": 22,
                "EndY": 10
              }
            ],
            "Name": "C8"
          }
        ],
        "Name": "Top Circuit - Copy - Copy - Copy",
        "Variables": [
          {
            "Name": "fsw",
            "Value": "100k"
          },
          {
            "Name": "Ts",
            "Value": "1 / fsw"
          },
          {
            "Name": "Vdc",
            "Value": "10.0"
          }
        ],
        "VariableFile": ""
      },
      "TransientAnalysis": {
        "EndTime": "0.2m",
        "FixedTimeStep": false,
        "SaveInitialPoint": true,
        "CompressScopes": false,
        "StopAtSteadyState": false,
        "TimeStep": "1n",
        "BaseFrequencyParameterEnabled": false,
        "NumberOfBasePeriodsSavedParameterEnabled": false,
        "BaseFrequency": "60",
        "NumberOfBasePeriodsSaved": "1"
      }
    },
    {
      "Id": "ad45c49d-7e56-4555-9edf-d06de0d5b9ee",
      "Name": "3- discrete-controller - no zoh",
      "Circuit": {
        "Id": "601aabca-4b0a-4b57-9311-e3afb464553d",
        "Devices": [
          {
            "LibraryName": "DC Voltage Source",
            "Top": 1,
            "Left": -4,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "DC1",
            "ID": "11750656-7000-4565-a47f-5b2eb2a01907",
            "Parameters": {
              "Voltage": "Vdc",
              "Name": "DC1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Voltage": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 3",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Ground",
            "Top": 13,
            "Left": -3,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "Ground1",
            "ID": "c6f5c72e-3398-43cd-aff7-d94ec81c43ac",
            "Parameters": {
              "Name": "Ground1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 3",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Control Output Connector Label",
            "Top": 0,
            "Left": 1,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "Q1",
            "ID": "008fb2fc-fd04-404e-8777-fadba5d5d87f",
            "Parameters": {
              "Name": "Q1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Ideal MOSFET",
            "Top": -2,
            "Left": 5,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "T1",
            "ID": "b5579132-6b17-4660-b24c-4d9d71504d8e",
            "Parameters": {
              "Ron": "0",
              "Name": "T1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Ron": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 0",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Inductor",
            "Top": 4,
            "Left": 9,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "L1",
            "ID": "e0e843f2-8406-45b2-9f7b-17622d87b0eb",
            "Parameters": {
              "Value": "100u",
              "Iinit": "0",
              "Name": "L1"
            },
            "EnabledScopes": [
              "Current"
            ],
            "ParametersDisplayAttributes": {
              "Value": {
                "IsVisible": true,
                "Suffix": "H",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Iinit": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": true,
                "Suffix": "",
                "RelativeLocation": "2 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Resistor",
            "Top": 4,
            "Left": 15,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "R1",
            "ID": "9b6c26d7-76d6-4f56-a769-866559bc6f4e",
            "Parameters": {
              "Value": "1",
              "Name": "R1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Value": {
                "IsVisible": true,
                "Suffix": "\u03A9",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Control Input Connector Label",
            "Top": 10,
            "Left": 18,
            "Angle": 0,
            "HF": true,
            "VF": false,
            "Disabled": false,
            "Name": "I_L",
            "ID": "fac0a5c4-703e-420a-a762-8cf2cf1b57cb",
            "Parameters": {
              "Name": "I_L"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Current Probe",
            "Top": 4,
            "Left": 21,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "CP1",
            "ID": "153d3f65-c53d-40ba-a19d-305184f05014",
            "Parameters": {
              "Gain": "1",
              "SamplingTime": "none",
              "Name": "CP1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Gain": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 3",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Ideal Diode",
            "Top": 8,
            "Left": 4,
            "Angle": 270,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "D1",
            "ID": "16bdbf90-965d-4cfb-9e0f-94181d5b05ff",
            "Parameters": {
              "Rd": "0",
              "Vf": "0",
              "Name": "D1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Rd": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 0",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Vf": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "2 1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              },
              "Name": {
                "IsVisible": true,
                "Suffix": "",
                "RelativeLocation": "2 2",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#0081BC"
              }
            }
          },
          {
            "LibraryName": "Constant",
            "Top": 18,
            "Left": -7,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "C1",
            "ID": "fe2aaabb-32e8-4d2c-9e38-e8a6d7574e5a",
            "Parameters": {
              "Value": "5",
              "SamplingTime": "none",
              "Name": "C1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Value": {
                "IsVisible": true,
                "Suffix": "",
                "RelativeLocation": "1 1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Control Output Connector Label",
            "Top": 26,
            "Left": -7,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "I_L",
            "ID": "f7941a84-9ce1-494b-a821-67b016b96ba9",
            "Parameters": {
              "Name": "I_L"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Sum",
            "Top": 21,
            "Left": 1,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "SUM1",
            "ID": "dfb75203-f872-4d03-98ed-af6e0aeb911a",
            "Parameters": {
              "NumberOfInputs": "2",
              "Gains": "[1 -1]",
              "SamplingTime": "auto",
              "Name": "SUM1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "NumberOfInputs": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Gains": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "0 5",
                "UnrotatedWidth": 3,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 6",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Discrete Transfer Function",
            "Top": 21,
            "Left": 6,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "TF1",
            "ID": "fadb4fc7-a29a-431f-b7dd-e6c24f7d6e8f",
            "Parameters": {
              "Num": "[3.2839 -3.0588]",
              "Den": "[1 -1]",
              "SamplingTime": "Ts",
              "Name": "TF1"
            },
            "EnabledScopes": [
              "Out"
            ],
            "ParametersDisplayAttributes": {
              "Num": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Den": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 5",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 6",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Limiter",
            "Top": 21,
            "Left": 12,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "Lim1",
            "ID": "c1845714-31b4-4771-8f0f-6e0193c22a76",
            "Parameters": {
              "LowLimit": "0",
              "HighLimit": "Vdc",
              "SamplingTime": "auto",
              "Name": "Lim1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "LowLimit": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 5",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "HighLimit": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 6",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Gain",
            "Top": 21,
            "Left": 16,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "G1",
            "ID": "0ca9ae69-9765-4dc6-a983-fdda10b28bcd",
            "Parameters": {
              "Value": "1 / Vdc",
              "SamplingTime": "auto",
              "Name": "G1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Value": {
                "IsVisible": true,
                "Suffix": "",
                "RelativeLocation": "1 1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 2,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "4 5",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Triangular Wave",
            "Top": 27,
            "Left": 20,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "carrier",
            "ID": "43b52cc6-057f-4d6b-8512-05e536c5476c",
            "Parameters": {
              "Amplitude": "1",
              "Frequency": "fsw",
              "DutyCycle": "0.5",
              "Offset": "0",
              "PhaseShift": "0",
              "SamplingTime": "none",
              "Name": "carrier"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Amplitude": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Frequency": {
                "IsVisible": false,
                "Suffix": "Hz",
                "RelativeLocation": "1 5",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "DutyCycle": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 6",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Offset": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 7",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "PhaseShift": {
                "IsVisible": false,
                "Suffix": "\u00B0",
                "RelativeLocation": "1 8",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 9",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Comparator",
            "Top": 23,
            "Left": 26,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "COMP1",
            "ID": "d660367f-a822-4756-aada-a075640c42d9",
            "Parameters": {
              "SamplingTime": "none",
              "Name": "COMP1"
            },
            "EnabledScopes": [
              "Input 1",
              "Input 2",
              "Out"
            ],
            "ParametersDisplayAttributes": {
              "SamplingTime": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 4",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              },
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          },
          {
            "LibraryName": "Control Input Connector Label",
            "Top": 24,
            "Left": 30,
            "Angle": 0,
            "HF": false,
            "VF": false,
            "Disabled": false,
            "Name": "Q1",
            "ID": "36edf423-92aa-418b-b30d-53d2288fdaba",
            "Parameters": {
              "Name": "Q1"
            },
            "EnabledScopes": [],
            "ParametersDisplayAttributes": {
              "Name": {
                "IsVisible": false,
                "Suffix": "",
                "RelativeLocation": "1 -1",
                "UnrotatedWidth": 2,
                "UnrotatedHeight": 1,
                "FontSize": 12,
                "Color": "#04B404"
              }
            }
          }
        ],
        "Connectors": [
          {
            "Segments": [
              {
                "StartX": -2,
                "StartY": 1,
                "EndX": -2,
                "EndY": -3
              },
              {
                "StartX": -2,
                "StartY": -3,
                "EndX": 7,
                "EndY": -3
              },
              {
                "StartX": 7,
                "StartY": -2,
                "EndX": 7,
                "EndY": -3
              }
            ],
            "Name": "C2"
          },
          {
            "Segments": [
              {
                "StartX": 9,
                "StartY": 5,
                "EndX": 7,
                "EndY": 5
              },
              {
                "StartX": 7,
                "StartY": 4,
                "EndX": 7,
                "EndY": 5
              },
              {
                "StartX": 7,
                "StartY": 5,
                "EndX": 7,
                "EndY": 6
              }
            ],
            "Name": "C12"
          },
          {
            "Segments": [
              {
                "StartX": 22,
                "StartY": 11,
                "EndX": 23,
                "EndY": 11
              },
              {
                "StartX": 23,
                "StartY": 6,
                "EndX": 23,
                "EndY": 11
              }
            ],
            "Name": "C9"
          },
          {
            "Segments": [
              {
                "StartX": 25,
                "StartY": 5,
                "EndX": 28,
                "EndY": 5
              },
              {
                "StartX": 28,
                "StartY": 5,
                "EndX": 28,
                "EndY": 13
              },
              {
                "StartX": 7,
                "StartY": 12,
                "EndX": 7,
                "EndY": 13
              },
              {
                "StartX": -2,
                "StartY": 9,
                "EndX": -2,
                "EndY": 13
              },
              {
                "StartX": -2,
                "StartY": 13,
                "EndX": 7,
                "EndY": 13
              },
              {
                "StartX": 7,
                "StartY": 13,
                "EndX": 28,
                "EndY": 13
              }
            ],
            "Name": "C13"
          },
          {
            "Segments": [
              {
                "StartX": -3,
                "StartY": 20,
                "EndX": -2,
                "EndY": 20
              },
              {
                "StartX": -2,
                "StartY": 20,
                "EndX": -2,
                "EndY": 22
              },
              {
                "StartX": 1,
                "StartY": 22,
                "EndX": -2,
                "EndY": 22
              }
            ],
            "Name": "C1"
          },
          {
            "Segments": [
              {
                "StartX": -3,
                "StartY": 27,
                "EndX": -2,
                "EndY": 27
              },
              {
                "StartX": -2,
                "StartY": 24,
                "EndX": -2,
                "EndY": 27
              },
              {
                "StartX": 1,
                "StartY": 24,
                "EndX": -2,
                "EndY": 24
              }
            ],
            "Name": "C4"
          },
          {
            "Segments": [
              {
                "StartX": 5,
                "StartY": 23,
                "EndX": 6,
                "EndY": 23
              }
            ],
            "Name": "C3"
          },
          {
            "Segments": [
              {
                "StartX": 10,
                "StartY": 23,
                "EndX": 12,
                "EndY": 23
              }
            ],
            "Name": "C5"
          },
          {
            "Segments": [
              {
                "StartX": 20,
                "StartY": 23,
                "EndX": 25,
                "EndY": 23
              },
              {
                "StartX": 25,
                "StartY": 23,
                "EndX": 25,
                "EndY": 24
              },
              {
                "StartX": 26,
                "StartY": 24,
                "EndX": 25,
                "EndY": 24
              }
            ],
            "Name": "C6"
          },
          {
            "Segments": [
              {
                "StartX": 24,
                "StartY": 29,
                "EndX": 25,
                "EndY": 29
              },
              {
                "StartX": 25,
                "StartY": 26,
                "EndX": 25,
                "EndY": 29
              },
              {
                "StartX": 26,
                "StartY": 26,
                "EndX": 25,
                "EndY": 26
              }
            ],
            "Name": "C8"
          }
        ],
        "Name": "Top Circuit - Copy - Copy - Copy - Copy - Copy - Copy",
        "Variables": [
          {
            "Name": "fsw",
            "Value": "100k"
          },
          {
            "Name": "Ts",
            "Value": "1 / fsw"
          },
          {
            "Name": "Vdc",
            "Value": "10.0"
          }
        ],
        "VariableFile": ""
      },
      "TransientAnalysis": {
        "EndTime": "1m",
        "FixedTimeStep": false,
        "SaveInitialPoint": true,
        "CompressScopes": false,
        "StopAtSteadyState": false,
        "TimeStep": "1n",
        "BaseFrequencyParameterEnabled": false,
        "NumberOfBasePeriodsSavedParameterEnabled": false,
        "BaseFrequency": "60",
        "NumberOfBasePeriodsSaved": "1"
      }
    }
  ],
  "Libraries": [],
  "TestBenches": [],
  "ThermalData": []
}