{
  "swagger": "2.0",
  "info": {
    "description": "This service is used for determining energy costs based on your technical, financial, and economic assumptions. It was originally created in Excel spreadsheets and published by California Biomass Collaborative, and is now coded by UC Davis CEC group, funded by California Energy Commission.",
    "version": "1.4.2",
    "title": "Techno-Economic Assessment",
    "contact": {
      "email": "kkyli@ucdavis.edu"
    },
    "license": {
      "name": "MIT License",
      "url": "https://github.com/ucdavis/technoeconomic-assessment/blob/master/LICENSE"
    }
  },
  "tags": [
    {
      "name": "TEA",
      "description": "Find out the orginal excel spreadsheets in [California Biomass Collaborative](https://biomass.ucdavis.edu/tools/energy-cost-calculator/)"
    }
  ],
  "paths": {
    "/genericPowerOnly": {
      "post": {
        "tags": [
          "genericPowerOnly"
        ],
        "summary": "Runs GPO from given input",
        "description": "This route is used for generic-power-only (GPO) model",
        "operationId": "runGPO",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "params",
            "schema": {
              "$ref": "#/definitions/InputModGPO"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "schema": {
              "$ref": "#/definitions/OutputModGPO"
            }
          },
          "400": {
            "description": "Invalid parameters supplied"
          }
        }
      }
    },
    "/genericCombinedHeatPower": {
      "post": {
        "tags": [
          "genericCombinedHeatPower"
        ],
        "summary": "Runs CHP from given input",
        "description": "This route is used for generic-combine-heat-power (CHP) model",
        "operationId": "runCHP",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "params",
            "schema": {
              "$ref": "#/definitions/InputModCHP"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "schema": {
              "$ref": "#/definitions/OutputModCHP"
            }
          },
          "400": {
            "description": "Invalid parameters supplied"
          }
        }
      }
    },
    "/gasificationPower": {
      "post": {
        "tags": [
          "gasificationPower"
        ],
        "summary": "Runs GP from given input",
        "description": "This route is used for gasification-power (GP) model",
        "operationId": "runGP",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "params",
            "schema": {
              "$ref": "#/definitions/InputModGP"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "schema": {
              "$ref": "#/definitions/OutputModGP"
            }
          },
          "400": {
            "description": "Invalid parameters supplied"
          }
        }
      }
    },
    "/hydrogen": {
      "post": {
        "tags": [
          "hydrogen"
        ],
        "summary": "Runs Hydrogen from given input",
        "description": "This route is used for hydrogen model",
        "operationId": "runHydro",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "params",
            "schema": {
              "$ref": "#/definitions/InputModHydrogen"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "schema": {
              "$ref": "#/definitions/OutputModHydrogen"
            }
          },
          "400": {
            "description": "Invalid parameters supplied"
          }
        }
      }
    },
    "/transmission": {
      "post": {
        "tags": [
          "transmission"
        ],
        "summary": "Transmission Line Capital Cost Calculator",
        "description": "",
        "operationId": "transmission",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "params",
            "schema": {
              "$ref": "#/definitions/InputModTransmission"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "schema": {
              "$ref": "#/definitions/OutputModTransmission"
            }
          },
          "400": {
            "description": "Invalid parameters supplied"
          }
        }
      }
    },
    "/substation": {
      "post": {
        "tags": [
          "substation"
        ],
        "summary": "Substation Capital Cost Calculator",
        "description": "",
        "operationId": "substation",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "params",
            "schema": {
              "$ref": "#/definitions/InputModSubstation"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "schema": {
              "$ref": "#/definitions/OutputModSubstation"
            }
          },
          "400": {
            "description": "Invalid parameters supplied"
          }
        }
      }
    }
  },
  "definitions": {
    "InputModGPO": {
      "type": "object",
      "properties": {
        "CapitalCost": {
          "type": "number",
          "example": 70000000,
          "description": "Total installed cost of plant ($)"
        },
        "ElectricalFuelBaseYear": {
          "$ref": "#/definitions/ElectricalFuelBaseYearInputModGPO"
        },
        "ExpensesBaseYear": {
          "$ref": "#/definitions/ExpensesBaseYearInputModGPO"
        },
        "Taxes": {
          "$ref": "#/definitions/TaxesInputMod"
        },
        "Financing": {
          "$ref": "#/definitions/FinancingInputMod"
        },
        "IncomeOtherThanEnergy": {
          "$ref": "#/definitions/IncomeOtherThanEnergyInputMod"
        },
        "EscalationInflation": {
          "$ref": "#/definitions/EscalationInflationInputMod"
        },
        "TaxCreditFrac": {
          "description": "Tax Credit Schedule -> Fraction is 1 if received in year, 0 if not",
          "type": "array",
          "items": {
            "type": "number"
          },
          "example": [
            1,
            1,
            1,
            1,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
          ]
        }
      },
      "required": [
        "CapitalCost, TaxCreditFrac"
      ],
      "xml": {
        "name": "InputModGPO"
      }
    },
    "InputModCHP": {
      "type": "object",
      "properties": {
        "CapitalCost": {
          "type": "number",
          "example": 70000000,
          "description": "Total installed cost of plant ($)"
        },
        "ElectricalFuelBaseYear": {
          "$ref": "#/definitions/ElectricalFuelBaseYearInputModCHP"
        },
        "HeatBaseYear": {
          "$ref": "#/definitions/HeatBaseYearInputMod"
        },
        "ExpensesBaseYear": {
          "$ref": "#/definitions/ExpensesBaseYearInputModGPO"
        },
        "Taxes": {
          "$ref": "#/definitions/TaxesInputMod"
        },
        "Financing": {
          "$ref": "#/definitions/FinancingInputMod"
        },
        "IncomeOtherThanEnergy": {
          "$ref": "#/definitions/IncomeOtherThanEnergyInputMod"
        },
        "EscalationInflation": {
          "$ref": "#/definitions/EscalationInflationInputMod"
        },
        "TaxCreditFrac": {
          "description": "Tax Credit Schedule -> Fraction is 1 if received in year, 0 if not",
          "type": "array",
          "items": {
            "type": "number"
          },
          "example": [
            1,
            1,
            1,
            1,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
          ]
        }
      },
      "required": [
        "CapitalCost, TaxCreditFrac"
      ],
      "xml": {
        "name": "InputModCHP"
      }
    },
    "InputModGP": {
      "type": "object",
      "properties": {
        "CapitalCost": {
          "type": "number",
          "example": 0,
          "description": "Total Facility Capital Cost ($) that is the sum of CapitalCostElements"
        },
        "ElectricalFuelBaseYear": {
          "$ref": "#/definitions/ElectricalFuelBaseYearInputModGP"
        },
        "HeatBaseYear": {
          "$ref": "#/definitions/HeatBaseYearInputMod"
        },
        "ExpensesBaseYear": {
          "$ref": "#/definitions/ExpensesBaseYearInputModGP"
        },
        "Taxes": {
          "$ref": "#/definitions/TaxesInputMod"
        },
        "Financing": {
          "$ref": "#/definitions/FinancingInputMod"
        },
        "IncomeOtherThanEnergy": {
          "$ref": "#/definitions/IncomeOtherThanEnergyInputModGP"
        },
        "EscalationInflation": {
          "$ref": "#/definitions/EscalationInflationInputModGP"
        },
        "TaxCreditFrac": {
          "description": "Tax Credit Schedule -> Fraction is 1 if received in year, 0 if not",
          "type": "array",
          "items": {
            "type": "number"
          },
          "example": [
            1,
            1,
            1,
            1,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
          ]
        }
      },
      "required": [
        "TaxCreditFrac"
      ],
      "xml": {
        "name": "InputModGP"
      }
    },
    "InputModHydrogen": {
      "type": "object",
      "properties": {
        "GrossDesignHydrogenCapacity": {
          "type": "number",
          "example": 158366.518706405,
          "description": "Gross design hydrogen capacity (kg/day)"
        },
        "Feedstock": {
          "type": "number",
          "example": 19.3498437209302,
          "description": "Feedstock (dry) heating value (MJ/kg)"
        },
        "OverallProductionEfficiency": {
          "type": "number",
          "example": 60.5,
          "description": "Overall production efficiency (%, HHV)"
        },
        "CapacityFactor": {
          "type": "number",
          "example": 91.324200913242,
          "description": "Capacity Factor (%)"
        },
        "CapitalCost": {
          "type": "number",
          "format": "float",
          "example": 206500000,
          "description": "Total facility capital cost ($)"
        },
        "FeedstockCost": {
          "type": "number",
          "example": 38.7,
          "description": "Delivered feedstock cost (dry, $/Mg)"
        },
        "OperatingExpensesRate": {
          "type": "number",
          "example": 4,
          "description": "Operating expenses rate (% of capital investment)"
        },
        "ElectricalEnergy": {
          "type": "number",
          "example": 2,
          "description": "Other Revenues or Cost Savings -> Electrical energy ($/year)"
        },
        "IncentivePayments": {
          "type": "number",
          "example": 2,
          "description": "Other Revenues or Cost Savings -> Incentive payments ($/year)"
        },
        "Capacity": {
          "type": "number",
          "example": 2,
          "description": "Other Revenues or Cost Savings -> Capacity ($/year)"
        },
        "Heat": {
          "type": "number",
          "example": 2,
          "description": "Other Revenues or Cost Savings -> Heat ($/year)"
        },
        "Residues": {
          "type": "number",
          "example": 2,
          "description": "Other Revenues or Cost Savings -> Residues ($/year)"
        },
        "FederalTaxRate": {
          "type": "number",
          "example": 34,
          "description": "Federal Tax Rate (%)"
        },
        "StateTaxRate": {
          "type": "number",
          "format": "float",
          "example": 9.3,
          "description": "State Tax Rate (%)"
        },
        "ProductionTaxCredit": {
          "type": "number",
          "format": "float",
          "example": 0.09,
          "description": "Production Tax Credit ($/GJ)"
        },
        "NegativeTaxesOffset": {
          "type": "boolean",
          "example": true,
          "description": "Negative taxes allowed to offset taxes elsewhere? true if yes, false if no"
        },
        "GeneralInflation": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "General Inflation (%/year)"
        },
        "EscalationFeedstock": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Escalation--Fuel (%/year)"
        },
        "EscalationElectricalEnergy": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Escalation--electrical energy (%/year)"
        },
        "EscalationIncentivePayments": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Escalation--incentive payments (%/year)"
        },
        "EscalationCapacityPayment": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Escalation--capacity payment (%/year)"
        },
        "EscalationProductionTaxCredit": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Escalation--Production Tax Credit (%/year)"
        },
        "EscalationHeatSales": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Escalation--heat sales (%/year)"
        },
        "EscalationResidueSales": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Escalation--residue sales (%/year)"
        },
        "EscalationOther": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Escalation--other (%/year)"
        },
        "DebtRatio": {
          "type": "number",
          "example": 90,
          "description": "Debt ratio (%)"
        },
        "InterestRateOnDebt": {
          "type": "number",
          "example": 5,
          "description": "Interest rate on debt (%/year)"
        },
        "OneYearDebtReserveRequired": {
          "type": "boolean",
          "example": true,
          "description": "One year debt reserve required? true if yes, false if no"
        },
        "MARR": {
          "type": "number",
          "example": 15,
          "description": "Minimum attractive rate of return on equity (MARR) (%/year)"
        },
        "EconomicLife": {
          "type": "number",
          "example": 15,
          "description": "Life of Loan (years)"
        },
        "InterestRateOnDebtReserve": {
          "type": "number",
          "example": 2,
          "description": "Interest rate on debt reserve (%/year)"
        },
        "TaxCreditFrac": {
          "description": "Tax Credit Schedule -> Fraction is 1 if received in year, 0 if not",
          "type": "array",
          "items": {
            "type": "number"
          },
          "example": [
            1,
            1,
            1,
            1,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
          ]
        }
      },
      "required": [
        "GrossDesignHydrogenCapacity",
        "Feedstock",
        "OverallProductionEfficiency",
        "CapacityFactor",
        "CapitalCost",
        "FeedstockCost",
        "OperatingExpensesRate",
        "ElectricalEnergy",
        "IncentivePayments",
        "Capacity",
        "Heat",
        "Residues",
        "FederalTaxRate",
        "StateTaxRate",
        "ProductionTaxCredit",
        "NegativeTaxesOffset",
        "DebtRatio",
        "InterestRateOnDebt",
        "OneYearDebtReserveRequired",
        "EconomicLife",
        "CostOfEquity",
        "CapacityPayment",
        "InterestRateOnDebtReserve",
        "GeneralInflation",
        "EscalationFeedstock",
        "EscalationElectricalEnergy",
        "EscalationIncentivePayments",
        "EscalationCapacityPayment",
        "EscalationProductionTaxCredit",
        "EscalationHeatSales",
        "EscalationResidueSales",
        "EscalationOther",
        "TaxCreditFrac"
      ],
      "xml": {
        "name": "InputModHydrogen"
      }
    },
    "InputModTransmission": {
      "type": "object",
      "properties": {
        "VoltageClass": {
          "type": "string",
          "enum": [
            "230 kV Single Circuit",
            "230 kV Double Circuit",
            "345 kV Single Circuit",
            "345 kV Double Circuit",
            "500 kV Single Circuit",
            "500 kV Double Circuit",
            "500 kV HVDC Circuit",
            "600 kV HVDC Circuit"
          ],
          "example": "230 kV Single Circuit"
        },
        "ConductorType": {
          "type": "string",
          "enum": [
            "ACSR",
            "ACSS",
            "HTLS"
          ],
          "example": "ACSS"
        },
        "Structure": {
          "type": "string",
          "enum": [
            "Lattice",
            "Tubular Steel"
          ],
          "example": "Lattice"
        },
        "LengthCategory": {
          "type": "string",
          "enum": [
            "> 10 miles",
            "3-10 miles",
            "< 3 miles"
          ],
          "example": "> 10 miles"
        },
        "NewOrReconductor": {
          "type": "string",
          "enum": [
            "New",
            "Re-conductor"
          ],
          "example": "New"
        },
        "AverageTerrainMultiplier": {
          "type": "number",
          "example": 1
        },
        "Miles": {
          "type": "object",
          "properties": {
            "Forested": {
              "type": "number",
              "example": 0
            },
            "Flat": {
              "type": "number",
              "example": 1
            },
            "Wetland": {
              "type": "number",
              "example": 0
            },
            "Farmland": {
              "type": "number",
              "example": 0
            },
            "Desert": {
              "type": "number",
              "example": 0
            },
            "Urban": {
              "type": "number",
              "example": 0
            },
            "Hills": {
              "type": "number",
              "example": 0
            },
            "Mountain": {
              "type": "number",
              "example": 0
            },
            "Zone1": {
              "type": "number",
              "example": 0
            },
            "Zone2": {
              "type": "number",
              "example": 0
            },
            "Zone3": {
              "type": "number",
              "example": 1
            },
            "Zone4": {
              "type": "number",
              "example": 0
            },
            "Zone5": {
              "type": "number",
              "example": 0
            },
            "Zone6": {
              "type": "number",
              "example": 0
            },
            "Zone7": {
              "type": "number",
              "example": 0
            },
            "Zone8": {
              "type": "number",
              "example": 0
            },
            "Zone9": {
              "type": "number",
              "example": 0
            },
            "Zone10": {
              "type": "number",
              "example": 0
            },
            "Zone11": {
              "type": "number",
              "example": 0
            },
            "Zone12": {
              "type": "number",
              "example": 0
            }
          }
        }
      },
      "required": [
        "VoltageClass",
        "ConductorType",
        "Structure",
        "LengthCategory",
        "NewOrReconductor",
        "AverageTerrainMultiplier",
        "Miles"
      ],
      "xml": {
        "name": "InputModTransmission"
      }
    },
    "InputModSubstation": {
      "type": "object",
      "properties": {
        "Voltage": {
          "type": "string",
          "enum": [
            "230 kV Substation",
            "345 kV Substation",
            "500 kV Substation"
          ],
          "example": "500 kV Substation"
        },
        "NewOrExisting": {
          "type": "string",
          "enum": [
            "New",
            "Existing"
          ],
          "example": "New"
        },
        "CircuitBreakerType": {
          "type": "string",
          "enum": [
            "Ring Bus",
            "Breaker and a Half"
          ],
          "example": "Breaker and a Half"
        },
        "NoLineXFMRPositions": {
          "type": "number",
          "example": 8
        },
        "HVDCconverter": {
          "type": "string",
          "enum": [
            "500 kV HVDC Converter",
            "600 kV HVDC Converter",
            "No"
          ],
          "example": "500 kV HVDC Converter"
        },
        "TransformerType": {
          "type": "string",
          "enum": [
            "115/230 kV XFMR",
            "115/345 kV XFMR",
            "115/500 kV XFMR",
            "138/230 kV XFMR",
            "138/345 kV XFMR",
            "138/500 kV XFMR",
            "230/345 kV XFMR",
            "230/500 kV XFMR",
            "345/500 kV XFMR"
          ],
          "example": "345/500 kV XFMR"
        },
        "MVAratingPerTransformer": {
          "type": "number",
          "example": 1
        },
        "NoTransformers": {
          "type": "number",
          "example": 1
        },
        "SVCmvarRating": {
          "type": "number",
          "example": 1
        },
        "ShuntReactorMVARrating": {
          "type": "number",
          "example": 1
        },
        "SeriesCapacitorMVARrating": {
          "type": "number",
          "example": 1
        }
      },
      "required": [
        "Voltage",
        "NewOrExisting",
        "CircuitBreakerType",
        "NoLineXFMRPositions",
        "HVDCconverter",
        "TransformerType",
        "MVAratingPerTransformer",
        "NoTransformers",
        "SVCmvarRating",
        "ShuntReactorMVARrating",
        "SeriesCapacitorMVARrating"
      ],
      "xml": {
        "name": "InputModSubstation"
      }
    },
    "ElectricalFuelBaseYearInputMod": {
      "type": "object",
      "properties": {
        "NetElectricalCapacity": {
          "type": "number",
          "example": 25000,
          "description": "Size of plant based on net power output to grid (kWe)"
        },
        "CapacityFactor": {
          "type": "number",
          "example": 85,
          "description": "Annual fraction that rated capacity is available from plant (%)"
        },
        "MoistureContent": {
          "type": "number",
          "example": 50,
          "description": "Moisture Content of Biomass Feedstock (% wet basis)"
        },
        "NetStationEfficiency": {
          "type": "number",
          "example": 20,
          "description": "Ratio of net energy output from plant to fuel energy input to plant (%)"
        }
      },
      "required": [
        "NetElectricalCapacity",
        "CapacityFactor",
        "MoistureContent",
        "NetStationEfficiency"
      ],
      "xml": {
        "name": "ElectricalFuelBaseYearInputMod"
      }
    },
    "ElectricalFuelBaseYearInputModGPO": {
      "allOf": [
        {
          "$ref": "#/definitions/ElectricalFuelBaseYearInputMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "FuelHeatingValue": {
              "type": "number",
              "example": 18608,
              "description": "Higher heating value (heat of combustion) of fuel expressed on a wet basis input in SI units (kJ/kg)"
            },
            "FuelAshConcentration": {
              "type": "number",
              "example": 5,
              "description": "Fraction of ash in fuel, percent dry basis (%)"
            }
          },
          "required": [
            "NetStationEfficiency",
            "FuelHeatingValue",
            "FuelAshConcentration"
          ]
        },
        {
          "xml": {
            "name": "ElectricalFuelBaseYearInputModGPO"
          }
        }
      ]
    },
    "ElectricalFuelBaseYearInputModCHP": {
      "allOf": [
        {
          "$ref": "#/definitions/ElectricalFuelBaseYearInputModGPO"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "GrossElectricalCapacity": {
              "type": "number",
              "example": 28000,
              "description": "Total gross generating capacity (kWe)"
            }
          },
          "required": [
            "GrossElectricalCapacity"
          ]
        },
        {
          "xml": {
            "name": "ElectricalFuelBaseYearInputModGPO"
          }
        }
      ]
    },
    "ElectricalFuelBaseYearInputModGP": {
      "allOf": [
        {
          "$ref": "#/definitions/ElectricalFuelBaseYearInputMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "GrossElectricalCapacity": {
              "type": "number",
              "example": 650,
              "description": "Total gross generating capacity (kWe)"
            },
            "HHVEfficiency": {
              "type": "number",
              "example": 65,
              "description": "HHV Efficiency of Gasification System--Biomass to Clean Gas (%)"
            },
            "FractionOfInputEnergy": {
              "type": "number",
              "example": 20,
              "description": "Dual Fuel -> Fraction of Input Energy (%)"
            },
            "CO": {
              "type": "number",
              "example": 20,
              "description": "Clean Gas Composition -> CO (% by volume, dry)"
            },
            "H2": {
              "type": "number",
              "example": 12,
              "description": "Clean Gas Composition -> H2 (% by volume, dry)"
            },
            "Hydrocarbons": {
              "type": "number",
              "example": 5,
              "description": "Clean Gas Composition -> Hydrocarbons (as CH4) (% by volume, dry)"
            },
            "CO2": {
              "type": "number",
              "example": 12,
              "description": "Clean Gas Composition -> CO2 (% by volume, dry)"
            },
            "O2": {
              "type": "number",
              "example": 0,
              "description": "Clean Gas Composition -> O2 (% by volume, dry)"
            },
            "HHV": {
              "type": "number",
              "example": 18608,
              "description": "Higher Heating Value of Biomass Feedstock to Gasifier (kJ/kg)"
            },
            "AshContent": {
              "type": "number",
              "example": 5,
              "description": "Ash Content of Biomass (% dry matter)"
            },
            "CarbonConcentration": {
              "type": "number",
              "example": 30,
              "description": "Carbon Concentration of Char (% dry basis)"
            }
          },
          "required": [
            "GrossElectricalCapacity",
            "HHVEfficiency",
            "NetHHVEfficiency",
            "FractionOfInputEnergy",
            "CleanGasComposition",
            "CO",
            "H2",
            "Hydrocarbons",
            "CO2",
            "O2",
            "HHV",
            "AshContent",
            "CarbonConcentration",
            "AggregateFractionOfHeatRecovered",
            "AggregateSalesPriceForHeat"
          ]
        },
        {
          "xml": {
            "name": "ElectricalFuelBaseYearInputModGP"
          }
        }
      ]
    },
    "HeatBaseYearInputMod": {
      "type": "object",
      "properties": {
        "AggregateFractionOfHeatRecovered": {
          "type": "number",
          "format": "float",
          "example": 60,
          "description": "Fraction of total heat production available for sale (%)"
        },
        "AggregateSalesPriceForHeat": {
          "type": "number",
          "format": "float",
          "example": 0.0102,
          "description": "Aggregate sales price for heat ($/kWh)"
        }
      },
      "required": [
        "AggregateFractionOfHeatRecovered",
        "AggregateSalesPriceForHeat"
      ],
      "xml": {
        "name": "HeatBaseYearInputMod"
      }
    },
    "ExpensesBaseYearInputMod": {
      "type": "object",
      "properties": {
        "BiomassFuelCost": {
          "type": "number",
          "format": "float",
          "example": 22.05,
          "description": "Cost of fuel ($/dry metric ton)"
        },
        "LaborCost": {
          "type": "number",
          "example": 2000000,
          "description": "Cost of labor to operate facility ($/year)"
        },
        "MaintenanceCost": {
          "type": "number",
          "example": 1500000,
          "description": "Cost of maintaining the plant ($/year)"
        },
        "InsurancePropertyTax": {
          "type": "number",
          "example": 1400000,
          "description": "Cost of insurance for the plant plus any property or other local taxes ($/year)"
        },
        "Utilities": {
          "type": "number",
          "example": 200000,
          "description": "Purchased utilities including power, gas, water, waste disposal ($/year)"
        },
        "Management": {
          "type": "number",
          "example": 200000,
          "description": "Cost for administrative personnel and other administration ($/year)"
        },
        "OtherOperatingExpenses": {
          "type": "number",
          "example": 400000,
          "description": "All other expenses for operating the plant, for example natural gas not included in utilities, chemicals, or additives ($/year)"
        }
      },
      "required": [
        "BiomassFuelCost",
        "LaborCost",
        "MaintenanceCost",
        "InsurancePropertyTax",
        "Utilities",
        "Management",
        "OtherOperatingExpenses"
      ],
      "xml": {
        "name": "ExpensesBaseYearInputMod"
      }
    },
    "ExpensesBaseYearInputModGPO": {
      "allOf": [
        {
          "$ref": "#/definitions/ExpensesBaseYearInputMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "AshDisposal": {
              "type": "number",
              "example": 100000,
              "description": "Cost of ash disposal from plant ($/year), use negative value when ash is sold at value"
            }
          },
          "required": [
            "AshDisposal"
          ]
        },
        {
          "xml": {
            "name": "ExpensesBaseYearInputModGPO"
          }
        }
      ]
    },
    "ExpensesBaseYearInputModGP": {
      "allOf": [
        {
          "$ref": "#/definitions/ExpensesBaseYearInputMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "DualFuelCost": {
              "type": "number",
              "example": 0.3,
              "description": "Dual Fuel Cost ($/L) * Default assumes heavy diesel fuel"
            },
            "WasteTreatment": {
              "type": "number",
              "example": 2000,
              "description": "Waste Treatment/Disposal ($/year)"
            }
          },
          "required": [
            "DualFuelCost",
            "WasteTreatment"
          ]
        },
        {
          "xml": {
            "name": "ExpensesBaseYearInputModGP"
          }
        }
      ]
    },
    "TaxesInputMod": {
      "type": "object",
      "properties": {
        "FederalTaxRate": {
          "type": "number",
          "example": 34,
          "description": "Federal Tax Rate (%)"
        },
        "StateTaxRate": {
          "type": "number",
          "format": "float",
          "example": 9.6,
          "description": "State Tax Rate (%)"
        },
        "ProductionTaxCredit": {
          "type": "number",
          "format": "float",
          "example": 0.009,
          "description": "Production Tax Credit on electrical energy (%)"
        }
      },
      "required": [
        "FederalTaxRate",
        "StateTaxRate",
        "ProductionTaxCredit"
      ],
      "xml": {
        "name": "TaxesInputMod"
      }
    },
    "FinancingInputMod": {
      "type": "object",
      "properties": {
        "DebtRatio": {
          "type": "number",
          "example": 75,
          "description": "Fraction of financing covered by debt borrowing (%)"
        },
        "InterestRateOnDebt": {
          "type": "number",
          "example": 5,
          "description": "Interest rate applied to debt portion of investment (%/year).  Value must be non-zero"
        },
        "EconomicLife": {
          "type": "number",
          "example": 20,
          "description": "Life of Loan (years)"
        },
        "CostOfEquity": {
          "type": "number",
          "example": 15,
          "description": "Rate of return on equity portion of investment (%/year)"
        }
      },
      "required": [
        "DebtRatio",
        "InterestRateOnDebt",
        "EconomicLife",
        "CostOfEquity"
      ],
      "xml": {
        "name": "FinancingInputMod"
      }
    },
    "IncomeOtherThanEnergyInputMod": {
      "type": "object",
      "properties": {
        "CapacityPayment": {
          "type": "number",
          "example": 166,
          "description": "Payment made from power purchaser if plant can guarantee capacity (depends on contract) ($/kW-year)"
        },
        "InterestRateOnDebtReserve": {
          "type": "number",
          "example": 5,
          "description": "Interest income earned on reserve account if financing institution requires security deposit (%/year)"
        }
      },
      "required": [
        "CapacityPayment",
        "InterestRateOnDebtReserve"
      ],
      "xml": {
        "name": "IncomeOtherThanEnergyInputMod"
      }
    },
    "IncomeOtherThanEnergyInputModGP": {
      "allOf": [
        {
          "$ref": "#/definitions/IncomeOtherThanEnergyInputMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "SalesPriceForChar": {
              "type": "number",
              "format": "float",
              "example": 0,
              "description": "Sales Price for Char/Ash ($/t)--for disposal"
            }
          },
          "required": [
            "SalesPriceForChar"
          ]
        },
        {
          "xml": {
            "name": "IncomeOtherThanEnergyInputModGP"
          }
        }
      ]
    },
    "EscalationInflationInputMod": {
      "type": "object",
      "properties": {
        "GeneralInflation": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Overall inflation rate used to adjust current dollar result to constant dollars (%)"
        },
        "EscalationBiomassFuel": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Rate at which fuel cost escalates over time (%)"
        },
        "EscalationProductionTaxCredit": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Specified index for production tax credit (%)"
        },
        "EscalationHeatSales": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Escalation rate applied to heat sales (%/year)"
        },
        "EscalationOther": {
          "type": "number",
          "format": "float",
          "example": 2.1,
          "description": "Rate at which other expenses escalate over time (%)"
        }
      },
      "required": [
        "GeneralInflation",
        "EscalationBiomassFuel",
        "EscalationProductionTaxCredit",
        "EscalationOther"
      ],
      "xml": {
        "name": "EscalationInflationInputMod"
      }
    },
    "EscalationInflationInputModGP": {
      "allOf": [
        {
          "$ref": "#/definitions/EscalationInflationInputMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "EscalationDualFuel": {
              "type": "number",
              "format": "float",
              "example": 2.1,
              "description": "Rate at which dual fuel cost escalates over time (%/year)"
            },
            "EscalationCharSales": {
              "type": "number",
              "format": "float",
              "example": 2.1,
              "description": "Escalation rate applied to sales of char or ash (%/year)"
            }
          },
          "required": [
            "EscalationCharSales",
            "EscalationDualFuel"
          ]
        },
        {
          "xml": {
            "name": "EscalationInflationInputModGP"
          }
        }
      ]
    },
    "OutputModGPO": {
      "allOf": [
        {
          "$ref": "#/definitions/OutputMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "ElectricalAndFuelBaseYear": {
              "$ref": "#/definitions/ElectricalFuelBaseYearModGPO"
            },
            "ExpensesBaseYear": {
              "$ref": "#/definitions/ExpensesBaseYearModGPO"
            },
            "IncomeOtherThanEnergy": {
              "$ref": "#/definitions/IncomeOtherThanEnergyMod"
            },
            "AnnualCashFlows": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CashFlowGPO"
              }
            },
            "TotalCashFlow": {
              "$ref": "#/definitions/TotalCashFlowGPO"
            }
          }
        },
        {
          "xml": {
            "name": "OutputModGPO"
          }
        }
      ]
    },
    "OutputModCHP": {
      "allOf": [
        {
          "$ref": "#/definitions/OutputMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "ElectricalAndFuelBaseYear": {
              "$ref": "#/definitions/ElectricalFuelBaseYearModCHP"
            },
            "HeatBaseYear": {
              "$ref": "#/definitions/HeatBaseYearMod"
            },
            "ExpensesBaseYear": {
              "$ref": "#/definitions/ExpensesBaseYearModGPO"
            },
            "IncomeOtherThanEnergy": {
              "$ref": "#/definitions/IncomeOtherThanEnergyMod"
            },
            "AnnualCashFlows": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CashFlowCHP"
              }
            },
            "TotalCashFlow": {
              "$ref": "#/definitions/TotalCashFlowCHP"
            }
          }
        },
        {
          "xml": {
            "name": "OutputModCHP"
          }
        }
      ]
    },
    "OutputModGP": {
      "allOf": [
        {
          "$ref": "#/definitions/OutputMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "ElectricalAndFuelBaseYear": {
              "$ref": "#/definitions/ElectricalFuelBaseYearModGP"
            },
            "HeatBaseYear": {
              "$ref": "#/definitions/HeatBaseYearMod"
            },
            "ExpensesBaseYear": {
              "$ref": "#/definitions/ExpensesBaseYearModGP"
            },
            "IncomeOtherThanEnergy": {
              "$ref": "#/definitions/IncomeOtherThanEnergyModGP"
            },
            "AnnualCashFlows": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CashFlowGP"
              }
            },
            "TotalCashFlow": {
              "$ref": "#/definitions/TotalCashFlowGP"
            }
          }
        },
        {
          "xml": {
            "name": "OutputModGP"
          }
        }
      ]
    },
    "OutputModHydrogen": {
      "allOf": [
        {
          "$ref": "#/definitions/OutputMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "HydrogenGeneration": {
              "$ref": "#/definitions/HydrogenGenerationMod"
            },
            "ExpensesBaseYear": {
              "$ref": "#/definitions/ExpensesBaseYearModHydrogen"
            },
            "AnnualCashFlows": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CashFlowHydrogen"
              }
            },
            "TotalCashFlow": {
              "$ref": "#/definitions/TotalCashFlowHydrogen"
            }
          }
        },
        {
          "xml": {
            "name": "OutputModHydrogen"
          }
        }
      ]
    },
    "OutputModTransmission": {
      "type": "object",
      "properties": {
        "LineCost": {
          "type": "number",
          "format": "float",
          "example": 1048291.43
        },
        "ROWcost": {
          "type": "number",
          "format": "float",
          "example": 5173.5
        },
        "OverheadCost": {
          "type": "number",
          "format": "float",
          "example": 184356.36
        },
        "AllCost": {
          "type": "number",
          "format": "float",
          "example": 1237821.29
        },
        "LineLoss": {
          "type": "number",
          "format": "float",
          "example": 0.36
        }
      },
      "xml": {
        "name": "OutputModTransmission"
      }
    },
    "OutputModSubstation": {
      "type": "object",
      "properties": {
        "BaseCost": {
          "type": "number",
          "format": "float",
          "example": 2875971
        },
        "CircuitBreakers": {
          "type": "number",
          "format": "float",
          "example": 40263594
        },
        "HVDCconverter": {
          "type": "number",
          "format": "float",
          "example": 517721317
        },
        "Transformer": {
          "type": "number",
          "format": "float",
          "example": 15124
        },
        "SVC": {
          "type": "number",
          "format": "float",
          "example": 98891
        },
        "ShuntReactor": {
          "type": "number",
          "format": "float",
          "example": 23268
        },
        "SeriesCapacitor": {
          "type": "number",
          "format": "float",
          "example": 11634
        },
        "OverheadCost": {
          "type": "number",
          "format": "float",
          "example": 98176715.015
        },
        "TotalSubstationCost": {
          "type": "number",
          "format": "float",
          "example": 659186515
        }
      },
      "xml": {
        "name": "OutputModTransmission"
      }
    },
    "ElectricalFuelBaseYearMod": {
      "type": "object",
      "properties": {
        "AnnualHours": {
          "type": "number",
          "format": "float",
          "example": 7446,
          "description": "Annual Hours"
        },
        "Biomass Target": {
          "type": "number",
          "format": "float",
          "example": 180068,
          "description": "This is the same as AnnualFuelConsumption for GPO and CHP, and AnnualBiomassConsumptionDryMass for GP"
        }
      },
      "xml": {
        "name": "ElectricalFuelBaseYearMod"
      }
    },
    "ElectricalFuelBaseYearModGPO": {
      "allOf": [
        {
          "$ref": "#/definitions/ElectricalFuelBaseYearMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "FuelConsumptionRate": {
              "type": "number",
              "format": "float",
              "example": 24,
              "description": "Fuel consumption rate (dry metric tons/hour)"
            },
            "AnnualGeneration": {
              "type": "number",
              "format": "float",
              "example": 186150000,
              "description": "Annual Generation (kWh)"
            },
            "CapitalCostNEC": {
              "type": "number",
              "format": "float",
              "example": 2800,
              "description": "Capital cost per net electrical capacity ($/kWe)"
            },
            "AnnualFuelConsumption": {
              "type": "number",
              "format": "float",
              "example": 180068,
              "description": "Annual fuel consumption (dry metric tons/year)"
            },
            "AnnualAshDisposal": {
              "type": "number",
              "format": "float",
              "example": 9003,
              "description": "Annual Ash Disposal (dry metric tons/year)"
            }
          }
        },
        {
          "xml": {
            "name": "ElectricalFuelBaseYearModGPO"
          }
        }
      ]
    },
    "ElectricalFuelBaseYearModCHP": {
      "allOf": [
        {
          "$ref": "#/definitions/ElectricalFuelBaseYearModGPO"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "ParasiticLoad": {
              "type": "number",
              "format": "float",
              "example": 3000,
              "description": "Electrical power used to operate facility (kWe)"
            },
            "FuelPower": {
              "type": "number",
              "format": "float",
              "example": 125000,
              "description": "Fuel Power (kW)"
            },
            "GrossStationElectricalEfficiency": {
              "type": "number",
              "format": "float",
              "example": 22.4,
              "description": "Gross Station Electrical Efficiency (%)"
            }
          }
        },
        {
          "xml": {
            "name": "ElectricalFuelBaseYearModCHP"
          }
        }
      ]
    },
    "ElectricalFuelBaseYearModGP": {
      "allOf": [
        {
          "$ref": "#/definitions/ElectricalFuelBaseYearMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "ParasiticLoad": {
              "type": "number",
              "format": "float",
              "example": 150,
              "description": "Electrical power used to operate system (kWe)"
            },
            "AnnualHours": {
              "type": "number",
              "format": "float",
              "example": 7446,
              "description": "Annual Hours"
            },
            "AnnualNetElectricityGeneration": {
              "type": "number",
              "format": "float",
              "example": 3723000,
              "description": "Annual Net Electricity Generation (kWh)"
            },
            "OverallNetSystemEfficiency": {
              "type": "number",
              "format": "float",
              "example": 15,
              "description": "Overall system efficiency (%) -> biomass into gasifier to electricity"
            },
            "NitrogenGas": {
              "type": "number",
              "format": "float",
              "example": 51,
              "description": "Nitrogen"
            },
            "CleanGasMolecularMass": {
              "type": "number",
              "format": "float",
              "example": 26.2,
              "description": "Clean Gas Molecular Mass (kg/kmol)"
            },
            "CleanGasDensity": {
              "type": "number",
              "format": "float",
              "example": 1.071,
              "description": "Clean Gas Density 298K, 1 atm (kg/m3)"
            },
            "CleanGasHigherHeatingValue": {
              "type": "number",
              "format": "float",
              "example": 5523,
              "description": "Clean Gas Higher Heating Value (kJ/m3)"
            },
            "CleanGasLowerHeatingValue": {
              "type": "number",
              "format": "float",
              "example": 5127,
              "description": "Clean Gas Lower Heating Value (MJ/m3)"
            },
            "TotalFuelPowerInput": {
              "type": "number",
              "format": "float",
              "example": 2174,
              "description": "Total Fuel Power Input (kW)"
            },
            "CleanGasPowerInput": {
              "type": "number",
              "format": "float",
              "example": 1739,
              "description": "Clean Gas Power Input (kW)"
            },
            "DualFuelPowerInput": {
              "type": "number",
              "format": "float",
              "example": 435,
              "description": "Dual Fuel Power Input (kW)"
            },
            "CleanGasFlowRateVolume": {
              "type": "number",
              "format": "float",
              "example": 1134,
              "description": "Clean Gas Flow Rate (m3/h)"
            },
            "CleanGasFlowRateMass": {
              "type": "number",
              "format": "float",
              "example": 1215,
              "description": "Clean Gas Flow Rate (kg/h)"
            },
            "AnnualCleanGasConsumption": {
              "type": "number",
              "format": "float",
              "example": 9045,
              "description": "Annual Clean Gas Consumption (dry metric tons/year)"
            },
            "DualFuelFlowRate": {
              "type": "number",
              "format": "float",
              "example": 40,
              "description": "Dual Fuel Flow Rate (L/h) * Default assumes heavy diesel fuel"
            },
            "AnnualDualFuelConsumption": {
              "type": "number",
              "format": "float",
              "example": 301347,
              "description": "Annual Dual Fuel Consumption (L/year)"
            },
            "BiomassFeedRate": {
              "type": "number",
              "format": "float",
              "example": 518,
              "description": "Biomass Feed Rate (kg/h)--dry basis"
            },
            "AnnualBiomassConsumptionDryMass": {
              "type": "number",
              "format": "float",
              "example": 3854,
              "description": "Annual Biomass Consumption (t/year)--dry basis"
            },
            "AnnualBiomassConsumptionWetMass": {
              "type": "number",
              "format": "float",
              "example": 4534,
              "description": "Annual Biomass Consumption (t/year)--wet basis"
            },
            "CharProductionRate": {
              "type": "number",
              "format": "float",
              "example": 37,
              "description": "Char Production Rate (kg/h)--dry"
            },
            "AnnualCharProduction": {
              "type": "number",
              "format": "float",
              "example": 275,
              "description": "Annual Char Production (t/y)--dry"
            }
          }
        },
        {
          "xml": {
            "name": "ElectricalFuelBaseYearModGP"
          }
        }
      ]
    },
    "ExpensesBaseYearMod": {
      "type": "object",
      "properties": {
        "TotalNonFuelExpenses": {
          "type": "number",
          "format": "float",
          "example": 5800000,
          "description": "Total Non-Fuel Expenses ($/kWh)"
        },
        "TotalExpensesIncludingFuel": {
          "type": "number",
          "format": "float",
          "example": 9770493,
          "description": "Total Expenses Including Fuel ($/year)"
        },
        "LaborCostKwh": {
          "type": "number",
          "format": "float",
          "example": 0.0107,
          "description": "Cost of labor to operate facility ($/kWh-net electrical)"
        },
        "MaintenanceCostKwh": {
          "type": "number",
          "format": "float",
          "example": 0.0081,
          "description": "Cost of maintaining the plant ($/kWh-net electrical)"
        },
        "InsurancePropertyTaxKwh": {
          "type": "number",
          "format": "float",
          "example": 0.0075,
          "description": "Cost of insurance for the plant plus any property or other local taxes ($/kWh-net electrical)"
        },
        "UtilitiesKwh": {
          "type": "number",
          "format": "float",
          "example": 0.0011,
          "description": "Purchased utilities including power, gas, water, waste disposal ($/kWh-net electrical)"
        },
        "ManagementKwh": {
          "type": "number",
          "format": "float",
          "example": 0.0011,
          "description": "Cost for administrative personnel and other administration ($/kWh-net electrical)"
        },
        "OtherOperatingExpensesKwh": {
          "type": "number",
          "format": "float",
          "example": 0.0021,
          "description": "All other expenses for operating the plant, for example natural gas not included in utilities, chemicals, or additives ($/kWh-net electrical)"
        },
        "TotalNonFuelExpensesKwh": {
          "type": "number",
          "format": "float",
          "example": 0.0312,
          "description": "Total Non-Fuel Expenses ($/kWh-net electrical)"
        },
        "TotalExpensesIncludingFuelKwh": {
          "type": "number",
          "format": "float",
          "example": 0.0525,
          "description": "Total Expenses Including Fuel ($/kWh-net electrical)"
        }
      },
      "xml": {
        "name": "ExpensesBaseYearMod"
      }
    },
    "ExpensesBaseYearModGPO": {
      "allOf": [
        {
          "$ref": "#/definitions/ExpensesBaseYearMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "FuelCostKwh": {
              "type": "number",
              "format": "float",
              "example": 0.0213,
              "description": "Cost of fuel ($/kWh-net electrical)"
            },
            "AshDisposalKwh": {
              "type": "number",
              "format": "float",
              "example": 0.0005,
              "description": "Cost of ash disposal from plant ($/kWh-net electrical), use negative value when ash is sold at value"
            }
          }
        },
        {
          "xml": {
            "name": "ExpensesBaseYearModGPO"
          }
        }
      ]
    },
    "ExpensesBaseYearModGP": {
      "allOf": [
        {
          "$ref": "#/definitions/ExpensesBaseYearMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "BiomassFuelCostKwh": {
              "type": "number",
              "format": "float",
              "example": 0.0228,
              "description": "Cost of biomass fuel for gasifier ($/kWh-net electrical)"
            },
            "DualFuelCostKwh": {
              "type": "number",
              "format": "float",
              "example": 0.0243,
              "description": "Dual Fuel Cost ($/kWh-net electrical)"
            },
            "WasteTreatmentKwh": {
              "type": "number",
              "format": "float",
              "example": 0.0005,
              "description": "Waste Treatment/Disposal ($/kWh-net electrical)"
            }
          }
        },
        {
          "xml": {
            "name": "ExpensesBaseYearModGP"
          }
        }
      ]
    },
    "ExpensesBaseYearModHydrogen": {
      "type": "object",
      "properties": {
        "AnnualFeedstockCost": {
          "type": "number",
          "format": "float",
          "example": 24768200,
          "description": "Annual feedstock cost ($)"
        },
        "OperatingExpenses": {
          "type": "number",
          "format": "float",
          "example": 8260000,
          "description": "Operating expenses ($)"
        },
        "TotalAnnualExpenses": {
          "type": "number",
          "format": "float",
          "example": 33028200,
          "description": "Total annual expenses including feedstock ($)"
        }
      },
      "xml": {
        "name": "ExpensesBaseYearModHydrogen"
      }
    },
    "IncomeOtherThanEnergyMod": {
      "type": "object",
      "properties": {
        "AnnualCapacityPayment": {
          "type": "number",
          "format": "float",
          "example": 4150000,
          "description": "Annual Capacity Payment ($/year)"
        },
        "AnnualDebtReserveInterest": {
          "type": "number",
          "format": "float",
          "example": 210637,
          "description": "Annual Debt Reserve Interest ($/year)"
        }
      },
      "xml": {
        "name": "IncomeOtherThanEnergyMod"
      }
    },
    "IncomeOtherThanEnergyModGP": {
      "allOf": [
        {
          "$ref": "#/definitions/IncomeOtherThanEnergyMod"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "AnnualIncomeFromChar": {
              "type": "number",
              "format": "float",
              "example": 0,
              "description": "Annual Income from Char/Ash Sales ($/year)"
            }
          }
        },
        {
          "xml": {
            "name": "IncomeOtherThanEnergyModGP"
          }
        }
      ]
    },
    "CashFlow": {
      "type": "object",
      "properties": {
        "Year": {
          "type": "number",
          "example": 1
        },
        "EquityRecovery": {
          "type": "number",
          "format": "float",
          "example": 2795825.732100518,
          "description": "Equity Recovery ($)"
        },
        "EquityInterest": {
          "type": "number",
          "format": "float",
          "example": 2625000,
          "description": "Equity Interest ($)"
        },
        "EquityPrincipalPaid": {
          "type": "number",
          "format": "float",
          "example": 170825.73210051795,
          "description": "Equity Principal Paid ($)"
        },
        "EquityPrincipalRemaining": {
          "type": "number",
          "format": "float",
          "example": 17329174.267899483,
          "description": "Equity Principal Remaining ($)"
        },
        "DebtRecovery": {
          "type": "number",
          "format": "float",
          "example": 4212735.827511293,
          "description": "Debt Recovery ($)"
        },
        "DebtInterest": {
          "type": "number",
          "format": "float",
          "example": 2625000,
          "description": "Debt Interest ($)"
        },
        "DebtPrincipalPaid": {
          "type": "number",
          "format": "float",
          "example": 1587735.8275112929,
          "description": "Debt Principal Paid ($)"
        },
        "DebtPrincipalRemaining": {
          "type": "number",
          "format": "float",
          "example": 50912264.172488704,
          "description": "Debt Principal Remaining ($)"
        },
        "NonFuelExpenses": {
          "type": "number",
          "format": "float",
          "example": 5800000,
          "description": "Non-fuel Expenses ($)"
        },
        "DebtReserve": {
          "type": "number",
          "format": "float",
          "example": 4212735.827511293,
          "description": "Debt Reserve ($)"
        },
        "Depreciation": {
          "type": "number",
          "format": "float",
          "example": 3500000,
          "description": "Depreciation ($)"
        },
        "IncomeCapacity": {
          "type": "number",
          "format": "float",
          "example": 4150000,
          "description": "Income--Capacity ($)"
        },
        "InterestOnDebtReserve": {
          "type": "number",
          "format": "float",
          "example": 210636.79137556464,
          "description": "Interest on Debt Reserve ($)"
        },
        "TaxesWoCredit": {
          "type": "number",
          "format": "float",
          "example": 3445364.9002245483,
          "description": "Taxes w/o credit ($)"
        },
        "TaxCredit": {
          "type": "number",
          "format": "float",
          "example": 1675349.9999999998,
          "description": "Tax Credit ($)"
        },
        "Taxes": {
          "type": "number",
          "format": "float",
          "example": 2312740.242139271,
          "description": "Taxes ($)"
        },
        "EnergyRevenueRequired": {
          "type": "number",
          "format": "float",
          "example": 18943893.90538466,
          "description": "Energy Revenue Required ($)"
        }
      },
      "xml": {
        "name": "CashFlow"
      }
    },
    "CashFlowGPO": {
      "allOf": [
        {
          "$ref": "#/definitions/CashFlow"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "FuelCost": {
              "type": "number",
              "format": "float",
              "example": 3970493.0674978513,
              "description": "Fuel Cost ($)"
            }
          }
        },
        {
          "xml": {
            "name": "CashFlowGPO"
          }
        }
      ]
    },
    "CashFlowCHP": {
      "allOf": [
        {
          "$ref": "#/definitions/CashFlow"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "FuelCost": {
              "type": "number",
              "format": "float",
              "example": 3970493.0674978513,
              "description": "Fuel Cost ($)"
            },
            "IncomeHeat": {
              "type": "number",
              "format": "float",
              "example": 4420243.44,
              "description": "Income--Heat ($)"
            }
          }
        },
        {
          "xml": {
            "name": "CashFlowCHP"
          }
        }
      ]
    },
    "CashFlowGP": {
      "allOf": [
        {
          "$ref": "#/definitions/CashFlow"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "BiomassFuelCost": {
              "type": "number",
              "format": "float",
              "example": 84987.14258189379,
              "description": "Biomass Fuel Cost ($)"
            },
            "DualFuelCost": {
              "type": "number",
              "format": "float",
              "example": 90404.20449116101,
              "description": "Dual Fuel Cost ($)"
            },
            "IncomeHeat": {
              "type": "number",
              "format": "float",
              "example": 56735.282608695656,
              "description": "Income--Heat ($)"
            },
            "IncomeChar": {
              "type": "number",
              "format": "float",
              "example": 0,
              "description": "Income--Char ($)"
            }
          }
        },
        {
          "xml": {
            "name": "CashFlowGP"
          }
        }
      ]
    },
    "CashFlowHydrogen": {
      "allOf": [
        {
          "$ref": "#/definitions/CashFlow"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "FuelCost": {
              "type": "number",
              "format": "float",
              "example": 24768200.038825013,
              "description": "Fuel Cost ($)"
            },
            "Expenses": {
              "type": "number",
              "format": "float",
              "example": 33028200.038825013,
              "description": "Expenses ($)"
            },
            "IncomeElectricalEnergy": {
              "type": "number",
              "format": "float",
              "example": 2,
              "description": "Income--Electrical energy ($)"
            },
            "IncomeIncentivePayments": {
              "type": "number",
              "format": "float",
              "example": 2,
              "description": "Income--Incentive payments ($)"
            },
            "IncomeHeat": {
              "type": "number",
              "format": "float",
              "example": 2,
              "description": "Income--Heat ($)"
            },
            "IncomeResidue": {
              "type": "number",
              "format": "float",
              "example": 2,
              "description": "Income--Residue ($)"
            }
          }
        },
        {
          "xml": {
            "name": "CashFlowHydrogen"
          }
        }
      ]
    },
    "TotalCashFlow": {
      "type": "object",
      "properties": {
        "EquityRecovery": {
          "type": "number",
          "format": "float",
          "example": 55916514.642010346
        },
        "EquityInterest": {
          "type": "number",
          "format": "float",
          "example": 38416514.64201034
        },
        "EquityPrincipalPaid": {
          "type": "number",
          "format": "float",
          "example": 17500000.00000003
        },
        "DebtRecovery": {
          "type": "number",
          "format": "float",
          "example": 84254716.55022588
        },
        "DebtInterest": {
          "type": "number",
          "format": "float",
          "example": 31754716.550225902
        },
        "DebtPrincipalPaid": {
          "type": "number",
          "format": "float",
          "example": 52499999.999999955
        },
        "NonFuelExpenses": {
          "type": "number",
          "format": "float",
          "example": 142336581.7688925
        },
        "DebtReserve": {
          "type": "number",
          "format": "float",
          "example": 0
        },
        "Depreciation": {
          "type": "number",
          "format": "float",
          "example": 70000000
        },
        "IncomeCapacity": {
          "type": "number",
          "format": "float",
          "example": 83000000
        },
        "InterestOnDebtReserve": {
          "type": "number",
          "format": "float",
          "example": 4212735.827511291
        },
        "TaxesWoCredit": {
          "type": "number",
          "format": "float",
          "example": 25971583.10874443
        },
        "TaxCredit": {
          "type": "number",
          "format": "float",
          "example": 8736039.69640549
        },
        "Taxes": {
          "type": "number",
          "format": "float",
          "example": 20065561.09891921
        },
        "EnergyRevenueRequired": {
          "type": "number",
          "format": "float",
          "example": 312799674.64024854
        }
      },
      "xml": {
        "name": "TotalCashFlow"
      }
    },
    "TotalCashFlowGPO": {
      "allOf": [
        {
          "$ref": "#/definitions/TotalCashFlow"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "FuelCost": {
              "type": "number",
              "format": "float",
              "example": 97439036.40771188
            }
          }
        },
        {
          "xml": {
            "name": "TotalCashFlowGPO"
          }
        }
      ]
    },
    "TotalCashFlowCHP": {
      "allOf": [
        {
          "$ref": "#/definitions/TotalCashFlow"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "FuelCost": {
              "type": "number",
              "format": "float",
              "example": 97439036.40771188
            },
            "IncomeHeat": {
              "type": "number",
              "format": "float",
              "example": 108476265.83378807
            }
          }
        },
        {
          "xml": {
            "name": "TotalCashFlowCHP"
          }
        }
      ]
    },
    "TotalCashFlowGP": {
      "allOf": [
        {
          "$ref": "#/definitions/TotalCashFlow"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "BiomassFuelCost": {
              "type": "number",
              "format": "float",
              "example": 2085651.6154159054
            },
            "DualFuelCost": {
              "type": "number",
              "format": "float",
              "example": 2218590.5939323828
            },
            "IncomeHeat": {
              "type": "number",
              "format": "float",
              "example": 1392328.6538299709
            },
            "IncomeChar": {
              "type": "number",
              "format": "float",
              "example": 0
            }
          }
        },
        {
          "xml": {
            "name": "TotalCashFlowGP"
          }
        }
      ]
    },
    "TotalCashFlowHydrogen": {
      "allOf": [
        {
          "$ref": "#/definitions/TotalCashFlow"
        },
        {
          "type": "object"
        },
        {
          "properties": {
            "FuelCost": {
              "type": "number",
              "format": "float",
              "example": 431434831.7572434
            },
            "Expenses": {
              "type": "number",
              "format": "float",
              "example": 575314956.4626594
            },
            "IncomeElectricalEnergy": {
              "type": "number",
              "format": "float",
              "example": 34.8378025921104
            },
            "IncomeIncentivePayments": {
              "type": "number",
              "format": "float",
              "example": 34.8378025921104
            },
            "IncomeHeat": {
              "type": "number",
              "format": "float",
              "example": 34.8378025921104
            },
            "IncomeResidue": {
              "type": "number",
              "format": "float",
              "example": 34.8378025921104
            }
          }
        },
        {
          "xml": {
            "name": "TotalCashFlowHydrogen"
          }
        }
      ]
    },
    "OutputMod": {
      "type": "object",
      "properties": {
        "SensitivityAnalysis": {
          "$ref": "#/definitions/SensitivityAnalysisMod"
        },
        "CombinedTaxRate": {
          "type": "number",
          "format": "float",
          "example": 40.34,
          "description": "Combined federal and state tax rate to which project is subject (%)"
        },
        "Financing": {
          "$ref": "#/definitions/FinancingMod"
        },
        "CurrentLAC": {
          "$ref": "#/definitions/CurrentLevelAnnualCostMod"
        },
        "ConstantLAC": {
          "$ref": "#/definitions/ConstantLevelAnnualCostMod"
        }
      },
      "xml": {
        "name": "OutputMod"
      }
    },
    "SensitivityAnalysisMod": {
      "type": "object",
      "properties": {
        "LACcurrent": {
          "type": "number",
          "format": "float",
          "example": 0.0799,
          "description": "Current $ Level Annual Cost of Energy ($/kWh)"
        },
        "LACconstant": {
          "type": "number",
          "format": "float",
          "example": 0.0696,
          "description": "Constant $ Level Annual Cost of Energy ($/kWh)"
        }
      },
      "xml": {
        "name": "SensitivityAnalysisMod"
      }
    },
    "FinancingMod": {
      "type": "object",
      "properties": {
        "EquityRatio": {
          "type": "number",
          "format": "float",
          "example": 25,
          "description": "Fraction of financing covered by corporate investment (%)"
        },
        "CostOfMoney": {
          "type": "number",
          "format": "float",
          "example": 7.5,
          "description": "Weighted cost of investment for full investment including both debt and equity (%/year)"
        },
        "TotalCostOfPlant": {
          "type": "number",
          "format": "float",
          "example": 70000000,
          "description": "Total Cost of Plant ($)"
        },
        "TotalEquityCost": {
          "type": "number",
          "format": "float",
          "example": 17500000,
          "description": "Total Equity Cost ($)"
        },
        "TotalDebtCost": {
          "type": "number",
          "format": "float",
          "example": 52500000,
          "description": "Total Debt Cost ($)"
        },
        "CapitalRecoveryFactorEquity": {
          "type": "number",
          "format": "float",
          "example": 0.1598,
          "description": "Capital Recovery Factor (Equity)"
        },
        "CapitalRecoveryFactorDebt": {
          "type": "number",
          "format": "float",
          "example": 0.0802,
          "description": "Capital Recovery Factor (Debt)"
        },
        "AnnualEquityRecovery": {
          "type": "number",
          "format": "float",
          "example": 2795826,
          "description": "Uniform annual revenue required to earn stipulated rate of return on equity ($/year)"
        },
        "AnnualDebtPayment": {
          "type": "number",
          "format": "float",
          "example": 4212736,
          "description": "Uniform annual payment needed to pay off debt ($/year)"
        },
        "DebtReserve": {
          "type": "number",
          "format": "float",
          "example": 4212736,
          "description": "Funds placed in reserve account as security deposit ($).  Sometimes required by financing institution to ensure debt repayment if plant operation is stopped for some period, typically up to one year"
        }
      },
      "xml": {
        "name": "FinancingMod"
      }
    },
    "CurrentLevelAnnualCostMod": {
      "type": "object",
      "properties": {
        "CostOfMoney": {
          "type": "number",
          "format": "float",
          "example": 0.15,
          "description": "Cost of Money ($)"
        },
        "PresentWorth": {
          "description": "Present Worth ($)",
          "type": "array",
          "items": {
            "type": "number"
          },
          "example": [
            16472951,
            9163094,
            8126736,
            7208673,
            6395288,
            6217828,
            5518139,
            4897875,
            4347947,
            3860315,
            3427865,
            3044300,
            2704049,
            2402180,
            2134327,
            1896623,
            1685647,
            1498367,
            1332097,
            753047
          ]
        },
        "TotalPresentWorth": {
          "type": "number",
          "format": "float",
          "example": 93087351,
          "description": "Total Present Worth ($)"
        },
        "CapitalRecoveryFactorCurrent": {
          "type": "number",
          "format": "float",
          "example": 0.1598,
          "description": "Capital Recovery Factor (current)"
        },
        "CurrentLevelAnnualRevenueRequirements": {
          "type": "number",
          "format": "float",
          "example": 14871772,
          "description": "Current $ Level Annual Revenue Requirements ($/year)"
        },
        "CurrentLACofEnergy": {
          "type": "number",
          "format": "float",
          "example": 0.0799,
          "description": "Current $ Level Annual Cost of Energy ($/kWh)"
        }
      },
      "xml": {
        "name": "CurrentLevelAnnualCostMod"
      }
    },
    "ConstantLevelAnnualCostMod": {
      "type": "object",
      "properties": {
        "RealCostOfMoney": {
          "type": "number",
          "format": "float",
          "example": 0.1263,
          "description": "Real Cost of Money (inflation adjusted) ($)"
        },
        "CapitalRecoveryFactorConstant": {
          "description": "Capital Recovery Factor (constant)",
          "type": "number",
          "format": "float",
          "example": 0.1392
        },
        "ConstantLevelAnnualRevenueRequirements": {
          "type": "number",
          "format": "float",
          "example": 12961357,
          "description": "Constant $ Level Annual Revenue Requirements ($/year)"
        },
        "ConstantLACofEnergy": {
          "type": "number",
          "format": "float",
          "example": 0.0696,
          "description": "Constant $ Level Annual Cost of Energy ($/kWh)"
        }
      },
      "xml": {
        "name": "ConstantLevelAnnualCostMod"
      }
    },
    "HeatBaseYearMod": {
      "type": "object",
      "properties": {
        "TotalHeatProductionRate": {
          "type": "number",
          "format": "float",
          "example": 97000,
          "description": "Total heat production rate equal to fuel power less gross electrical power (kWth)"
        },
        "RecoveredHeat": {
          "type": "number",
          "format": "float",
          "example": 58200,
          "description": "Recovered heat production rate (kWth)"
        },
        "AnnualHeatSales": {
          "type": "number",
          "format": "float",
          "example": 433357200,
          "description": "Total annual heat energy sales (kWh/year)"
        },
        "TotalIncomeFromHeatSales": {
          "type": "number",
          "format": "float",
          "example": 4420243,
          "description": "Total income from heat sales ($/year)"
        },
        "HeatIncomePerUnitNEE": {
          "type": "number",
          "format": "float",
          "example": 0.0237,
          "description": "Heat income per unit net electrical energy ($/kWh-net)"
        },
        "OverallCHPefficiencyGross": {
          "type": "number",
          "format": "float",
          "example": 69,
          "description": "Overall CHP Efficiency--Gross (%)"
        },
        "OverallCHPefficiencyNet": {
          "type": "number",
          "format": "float",
          "example": 66.6,
          "description": "Overall CHP Efficiency--Net (%)"
        }
      },
      "xml": {
        "name": "HeatBaseYearMod"
      }
    },
    "HydrogenGenerationMod": {
      "type": "object",
      "properties": {
        "HydrogenEnergy": {
          "type": "number",
          "format": "float",
          "example": 22476960,
          "description": "Hydrogen energy (MJ HHV/day)"
        },
        "DesignHydrogenProductionRateMW": {
          "type": "number",
          "format": "float",
          "example": 260.15,
          "description": "Design hydrogen production rate (HHV, MWf)"
        },
        "DesignHydrogenProductionRateMg": {
          "type": "number",
          "format": "float",
          "example": 6.6,
          "description": "Design hydrogen production rate (Mg/hour)"
        },
        "FeedstockInput": {
          "type": "number",
          "format": "float",
          "example": 430,
          "description": "Feedstock  input (dry, MWth)"
        },
        "FeedstockSupply": {
          "type": "number",
          "format": "float",
          "example": 80,
          "description": "Feedstock supply (dry, Mg/operating hour)"
        },
        "AnnualHours": {
          "type": "number",
          "format": "float",
          "example": 8000,
          "description": "Annual Hours"
        },
        "AnnualFeedstockSupply": {
          "type": "number",
          "format": "float",
          "example": 640005,
          "description": "Annual feedstock supply (dry, Mg/year)"
        },
        "AnnualFeedstockEnergyInput": {
          "type": "number",
          "format": "float",
          "example": 12.38,
          "description": "Annual feedstock energy input (PJ/year)"
        },
        "AnnualHydrogenProductionMg": {
          "type": "number",
          "format": "float",
          "example": 52789,
          "description": "Annual hydrogen production (Mg/year)"
        },
        "AnnualHydrogenProductionKg": {
          "type": "number",
          "format": "float",
          "example": 52788840,
          "description": "Annual hydrogen production (kg/year)"
        },
        "AnnualHydrogenEnergy": {
          "type": "number",
          "format": "float",
          "example": 7492320,
          "description": "Annual hydrogen energy (GJ/year)"
        }
      },
      "xml": {
        "name": "HydrogenGenerationMod"
      }
    }
  },
  "externalDocs": {
    "description": "Source code",
    "url": "https://github.com/ucdavis/technoeconomic-assessment"
  }
}