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
// adding a comment $data2 = list(for $i in range(46) list($i,none,none,none,none,none,none,none,none,none) ); $data = if count(list({covered @ferc:AmortizationBaseAndReserveAxis=*})) > 0 list({covered @ferc:AmortizationBaseAndReserveAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration})) else 0, if list({@ferc:DescriptionOfPipelineProperty @unit@period=$currentDuration}).length > 0 first(list({@ferc:DescriptionOfPipelineProperty @unit @period=$currentDuration})) else none, if list({@ferc:DepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts @unit @period=$priorInstant}).length > 0 first(list({@ferc:DepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts @unit @period=$priorInstant})) else none, if list({@ferc:IncreaseInDepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts @unit @period=$currentDuration}).length > 0 first(list({@ferc:IncreaseInDepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts @unit @period=$currentDuration})) else none, if list({@ferc:DecreaseInDepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts @unit @period=$currentDuration}).length > 0 first(list({@ferc:DecreaseInDepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts @unit @period=$currentDuration})) else none, if list({@ferc:DepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts @unit @period=$currentInstant}).length > 0 first(list({@ferc:DepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts @unit @period=$currentInstant})) else none, if list({@ferc:AccruedAmortizationCarrierProperty @unit @period=$priorInstant}).length > 0 first(list({@ferc:AccruedAmortizationCarrierProperty @unit @period=$priorInstant})) else none, if list({@ferc:IncreaseInAccruedAmortizationCarrierProperty @unit @period=$currentDuration}).length > 0 first(list({@ferc:IncreaseInAccruedAmortizationCarrierProperty @unit @period=$currentDuration})) else none, if list({@ferc:DecreaseInAccruedAmortizationCarrierProperty @unit @period=$currentDuration}).length > 0 first(list({@ferc:DecreaseInAccruedAmortizationCarrierProperty @unit @period=$currentDuration})) else none, if list({@ferc:AccruedAmortizationCarrierProperty @unit @period=$currentInstant}).length > 0 first(list({@ferc:AccruedAmortizationCarrierProperty @unit @period=$currentInstant})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none,none,none,none,none,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleAmortizationBaseAndReserveAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F6ScheduleTitle").text Amortization Base and Reserve
taxonomy().concept(ferc:ScheduleAmortizationBaseAndReserveAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F6Instructions").text
  1. Enter in columns (b) thru (e) the cost of pipeline property used as the base in computing amortization charges included in Account 540, Depreciation and Amortization, and Account 541, Depreciation Expense for Asset Retirement Costs, of the accounting company.
  2. Enter in columns (f) thru (i) the balances at the beginning and end of the year and the total credits and debits during the year in Account No. 32, Accrued Amortization -Carrier Property.
  3. The information requested for columns (b) thru (i) may be shown by projects or for totals only.
  4. If reporting by project, briefly describe in a footnote each project amounting to $100,000 or more. Reference the kind of property reported; do not include location. Items less than $100,000 may be combined in a single entry titled Minor Items, Each Less Than $100,000.
  5. If the amounts in column (g) do not correspond to the amounts actually charged to Account No. 540 and/or 541, explain such differences in a footnote.
  6. Explain in a footnote adjustments included in column (h) that affect operating expenses.
BASE 540 AND 541 RESERVE
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleAmortizationBaseAndReserveAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "218 - Schedule - Amortization Base and Reserve") $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],taxonomy().concept(to-qname($row[3])))) ); for $row in $heading_dict.keys.sort
$heading_dict[$row][2].name.local-name
$heading_dict[$row][1] Nature of Payment
$row (a)
1 $row[2] ABC Property $row[3] $28,376,978 $row[4] $1,231,456 $row[5] $2,987,092 $row[6] $26,322,999 $row[7] $98,332,184 $row[8] $1,998,243 $row[9] $7,643,365 $row[10] $89,435,232
47 taxonomy().concept(ferc:DepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts).label("http://ferc.gov/form/2020-01-01/roles/label/F6Total").text
Total
first(list([covered @concept=ferc:DepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts @period = $priorInstant])) $85,531,884 first(list([covered @concept=ferc:IncreaseInDepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts @period = $currentDuration])) $85,531,884 first(list([covered @concept=ferc:DecreaseInDepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts @period = $currentDuration])) $85,531,884 first(list([covered @concept=ferc:DepreciationAndAmortizationExpenseIncludingDepreciationExpenseForAssetRetirementCosts @period = $currentInstant])) $112,837,455 first(list([covered @concept=ferc:AccruedAmortizationCarrierProperty @period = $priorInstant])) $82,266,391 first(list([covered @concept=ferc:IncreaseInAccruedAmortizationCarrierProperty @period = $currentDuration])) $99,635,129 first(list([covered @concept=ferc:DecreaseInAccruedAmortizationCarrierProperty @period = $currentDuration])) $115,378,112 first(list([covered @concept=ferc:AccruedAmortizationCarrierProperty @period = $currentInstant])) $711,927,653