taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F6Header").text Name of Respondent:

first(list([@ferc:RespondentLegalName @period=$currentDuration])) Duke Energy Kentucky, Inc.
taxonomy().concept(ferc:SubmissionType).label("http://ferc.gov/form/2020-01-01/roles/label/F6Header").text This report is:

(1) if missing({covered @concept=ferc:SubmissionType}) ☐ An Original']]> else if [@concept=ferc:SubmissionType @period=$currentDuration] == "O" ☑ An Original']]> else ☐ An Original']]> An Original

(2) if missing([covered @concept=ferc:SubmissionType @period=$currentDuration]) ☐ A Resubmission']]> else if [@concept=ferc:SubmissionType @period=$currentDuration] == "R" ☑ A Resubmission']]> else ☐ A Resubmission']]> A Resubmission
taxonomy().concept(ferc:ReportDate).label("http://ferc.gov/form/2020-01-01/roles/label/F6Header").text Date of Report:

first(list([@ferc:ReportDate @period=$currentDuration])) 04/26/2019
taxonomy().concept(ferc:ReportYearPeriod).label("http://ferc.gov/form/2020-01-01/roles/label/F6Header").text Year/Period of Report:

End of: first(list([@ferc:ReportYear @period=$currentDuration])) 2018 / first(list([@ferc:ReportPeriod @period=$currentDuration])) Q4
$dataHead = navigate parent-child descendants from ferc:AccruedDepreciationCarrierPropertyLineItems stop when $relationship.preferred-label == "http://ferc.gov/form/2020-01-01/roles/label/F6RollforwardHeader" role "http://ferc.gov/form/2020-01-01/roles/Schedule/F6/AccruedDepreciationCarrierProperty" returns list (target-name, preferred-label, order); $rollforwardSection = list(for $x in $dataHead $abstractConcept = taxonomy().concept($x[1]); $is-heading = if ($x[2].role.uri == "http://ferc.gov/form/2020-01-01/roles/label/F6DepreciationCarrierProperty") true else false; $abstractLabel = list($is-heading, $abstractConcept.label($x[2].role.uri).text); $data = navigate parent-child children from $x[1] role "http://ferc.gov/form/2020-01-01/roles/Schedule/F6/AccruedDepreciationCarrierProperty" returns list(target, preferred-label, order); $dataRow2 = list(none, none, none, none, none, none); $row_num = (filter $abstractConcept.references("http://ferc.gov/form/2020-01-01/roles/reference/formLocation") where ($item.part-by-name(ferc-part:Schedule).part-value == "216 - Schedule - Accrued Depreciation - Carrier Property" and $item.part-by-name(ferc-part:ValueType).part-value.string == "Label")).to-list; $row_number = list(if ($row_num.part-by-name(ferc-part:Row)).length == 0 "" else ($row_num.part-by-name(ferc-part:Row))[1].part-value); $dataRow1 = list(for $y in $data $conceptPeriod = $y[1].period-type if $conceptPeriod == "instant" if $y[2].role.uri == "http://ferc.gov/form/2020-01-01/roles/label/F6BeginningBalance" if list([covered @concept = $y[1].name @period = $priorInstant]).length > 0 first(list([covered @concept = $y[1].name @period = $priorInstant])) else none else if list([covered @concept = $y[1].name @period = $currentInstant]).length > 0 first(list([covered @concept = $y[1].name @period = $currentInstant])) else none else if list([covered @concept = $y[1].name @period = $currentDuration]).length > 0 first(list([covered @concept = $y[1].name @period = $currentDuration])) else none); if $x[2].role.uri == "http://ferc.gov/form/2020-01-01/roles/label/F6DepreciationCarrierProperty" $abstractLabel + $dataRow2 + $row_number + list($abstractConcept) else $abstractLabel + $dataRow1 + $row_number + list($abstractConcept) ) for $rowl in $rollforwardSection
taxonomy().concept(ferc:ScheduleAccruedDepreciationCarrierPropertyAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F6ScheduleTitle").text Accrued Depreciation - Carrier Prop (Exclusive of Depreciation on Undiv. Joint Int. Prop. reported in schedule 217)
taxonomy().concept(ferc:ScheduleAccruedDepreciationCarrierPropertyAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F6Instructions").text

Give particulars (details) of the credits and debits to Account No. 31, Accrued Depreciation - Carrier Property, during the year.

  1. On schedule 216, give an analysis of changes during the year in Account No. 31, Accrued Depreciation - Carrier Property, by carrier property accounts, excluding depreciation on undivided joint interest property reported on page 217.
  2. In column (c), enter debits by carrier property account to Account Nos. 540, Depreciation and Amortization, and 541, Depreciation Expense for Asset Retirement Costs, during the year.
  3. In column (d), enter all debits to Account No. 31, Accrued Depreciation - Carrier Property, during the year resulting from the retirement of carrier property.
  4. In column (e), enter the net of any other debits and credits made to Account No. 31, Accrued Depreciation - Carrier Property, during the year.
  5. If composite annual depreciation rates are prescribed, enter those in effect at the end of the year in column (g). If component rates are prescribed, the composite rates entered in column (g) should be computed from the charges developed for December by using the prescribed component rates. Whether component or composite rates are prescribed, the entries on lines 17, 34, 42, and 43 of column (g) should be computed from December depreciation charges.
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleAccruedDepreciationCarrierPropertyAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "216 - Schedule - Accrued Depreciation - Carrier Property") $heading = list(for $ref in $headings list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:ColumnName).part-value, $ref.part-by-name(ferc-part:ElementName).part-value)) $heading_dict = dict(for $row in $heading list("("+$row[1]+")",list($row[2],if $row[3] == none "" else taxonomy().concept(to-qname($row[3])))) ); for $row in $heading_dict.keys.sort
$heading_dict[$row][1] Account
$row (a)
$rowl[9] 1
$rowl[10].name.local-name
$rowl[2] (200) Gathering Revenues
$rowl[3] if $rowl[1] "gray-out" else "" $rowl[4] if $rowl[1] "gray-out" else "" $rowl[5] if $rowl[1] "gray-out" else "" if $rowl[5].name in list(ferc:RightOfWayGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:LinePipeGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:LinePipeFittingsGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:PipelineConstructionGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:BuildingsGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:BoilersGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:PumpingEquipmentGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:MachineToolsAndMachineryGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:OtherStationEquipmentGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:OilTanksGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:DeliveryFacilitiesGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:CommunicationSystemsGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:OfficeFurnitureAndEquipmentGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:VehiclesAndOtherWorkEquipmentGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:OtherPropertyGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:AssetRetirementCostsGatheringLinesAccruedDepreciationCarrierPropertyRetirement,ferc:AccruedDepreciationCarrierPropertyGatheringLinesRetirement,ferc:RightOfWayTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:LinePipeTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:LinePipeFittingsTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:PipelineConstructionTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:BuildingsTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:BoilersTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:PumpingEquipmentTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:MachineToolsAndMachineryTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:OtherStationEquipmentTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:OilTanksTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:DeliveryFacilitiesTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:CommunicationSystemsTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:OfficeFurnitureAndEquipmentTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:VehiclesAndOtherWorkEquipmentTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:OtherPropertyTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:AssetRetirementCostsTrunkLinesAccruedDepreciationCarrierPropertyRetirement,ferc:AccruedDepreciationCarrierPropertyTrunkLinesRetirement,ferc:BuildingsGeneralAccruedDepreciationCarrierPropertyRetirement,ferc:MachineToolsAndMachineryGeneralAccruedDepreciationCarrierPropertyRetirement,ferc:CommunicationSystemsGeneralAccruedDepreciationCarrierPropertyRetirement,ferc:OfficeFurnitureAndEquipmentGeneralAccruedDepreciationCarrierPropertyRetirement,ferc:VehiclesAndOtherWorkEquipmentGeneralAccruedDepreciationCarrierPropertyRetirement,ferc:OtherPropertyGeneralAccruedDepreciationCarrierPropertyRetirement,ferc:AssetRetirementCostsGeneralAccruedDepreciationCarrierPropertyRetirement,ferc:AccruedDepreciationCarrierPropertyGeneralRetirement,ferc:AccruedDepreciationCarrierPropertyExcludingUndividedJointInterestPropertyRetirement) "-" else none $rowl[6] if $rowl[1] "gray-out" else "" $rowl[7] if $rowl[1] "gray-out" else "" $rowl[8] if $rowl[1] "gray-out" else ""