taxonomy().concept(ferc:RespondentLegalName).label("http://ferc.gov/form/2020-01-01/roles/label/F2Header").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/F2Header").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/F2Header").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/F2Header").text Year/Period of Report:

End of: first(list([@ferc:ReportYear @period=$currentDuration])) 2018 / first(list([@ferc:ReportPeriod @period=$currentDuration])) Q4
// adding a comment $members = navigate parent-child descendants from ferc:FunctionalLocationClassificationDomain role "http://ferc.gov/form/2020-01-01/roles/Schedule/F2/DepreciationDepletionAndAmortzationOfGasPlantSectionB" returns list (target-name, preferred-label, order); $output = list(for $row in $members $concept=taxonomy().concept($row[1]); $row_num = (filter $concept.references("http://ferc.gov/form/2020-01-01/roles/reference/formLocation") where ($item.part-by-name(ferc-part:Schedule).part-value == "336 - Schedule - Depreciation, Depletion and Amortization of Gas Plant - Section B" and $item.part-by-name(ferc-part:ValueType).part-value.string == "Label")).to-list; $rowID = if ($row_num.part-by-name(ferc-part:Row)).length > 0 ($row_num.part-by-name(ferc-part:Row))[1].part-value else ""; $abstractLabel = list($rowID.number, $concept.label($row[2].role.uri).text); $data = navigate parent-child descendants from ferc:FactorsUsedInEstimatingDepreciationChargesLineItems role "http://ferc.gov/form/2020-01-01/roles/Schedule/F2/DepreciationDepletionAndAmortzationOfGasPlantSectionB" returns list (target, preferred-label, order); $dataRow1 = list(for $y in $data if exists([covered @concept = $y[1] @ferc:UtilityTypeAxis=ferc:GasUtilityMember @ferc:FunctionalLocationClassificationAxis = $row[1] @period = $currentDuration]) first(list([covered @concept = $y[1] @ferc:UtilityTypeAxis=ferc:GasUtilityMember @ferc:FunctionalLocationClassificationAxis = $row[1] @period = $currentDuration])) else none ); $abstractLabel + $dataRow1 ); for $rowl in $output.sort // adding a comment $data2 = list(for $i in range(7) list($i,none,none,none) ); $data = if count(list({covered @ferc:UtilityTypeAxis=ferc:GasUtilityMember @ferc:ItemizedFunctionalClassificationAxis=* })) > 0 list({covered @ferc:ItemizedFunctionalClassificationAxis=* {list( if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0 first(list({@ferc:OrderNumber @unit=* @period=$currentDuration })) else 0, if exists({@ferc:DescriptionOfItemizedFunctionalClassification @unit @period=$currentDuration @ferc:UtilityTypeAxis=ferc:GasUtilityMember}) first(list({@ferc:DescriptionOfItemizedFunctionalClassification @unit @period=$currentDuration @ferc:UtilityTypeAxis=ferc:GasUtilityMember })) else none, if exists({@ferc:PlantBasesUsedInEstimatingDepreciationCharges @unit @period=$currentDuration @ferc:UtilityTypeAxis=ferc:GasUtilityMember }) first(list({@ferc:PlantBasesUsedInEstimatingDepreciationCharges @unit @period=$currentDuration @ferc:UtilityTypeAxis=ferc:GasUtilityMember })) else none, if exists({@ferc:AppliedDepreciationOrAmortizationRates @unit @period=$currentDuration @ferc:UtilityTypeAxis=ferc:GasUtilityMember }) first(list({@ferc:AppliedDepreciationOrAmortizationRates @unit @period=$currentDuration @ferc:UtilityTypeAxis=ferc:GasUtilityMember})) else none )}}) else $data2; $uniqueData = list(for $x in $data if $x == list(0,none,none,none) skip else $x ); for $row in $uniqueData.sort
taxonomy().concept(ferc:ScheduleDepreciationDepletionAndAmortizationOfGasPlantAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2ScheduleTitle").text Depreciation, Depletion And Amortization Of Gas Plant (Accts 403, 404.1, 404.2, 404.3, 405) (Except Amortization of Acquisition Adjustments)
taxonomy().concept(ferc:ScheduleDepreciationDepletionAndAmortizationAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Instructions").text
  1. Report in Section A the amounts of depreciation expense, depletion and amortization for the accounts indicated and classified according to the plant functional groups shown.
  2. Report in Section B, column (b) all depreciable or amortizable plant balances to which rates are applied and show a composite total. (If more desirable, report by plant account, subaccount or functional classifications other than those pre-printed in column (a). Indicate in a footnote the manner in which column (b) balances are obtained. If average balances are used, state the method of averaging used. For column (c) report available information for each plant functional classification listed in column (a). If composite depreciation accounting is used, report available information called for in columns (b) and (c) on this basis. Where the unit-of-production method is used to determine depreciation charges, show in a footnote any revisions made to estimated gas reserves.
  3. If provisions for depreciation were made during the year in addition to depreciation provided by application of reported rates, state in a footnote the amounts and nature of the provisions and the plant items to which related.
  4. Add rows as necessary to completely report all data. Number the additional rows in sequence as 2.01, 2.02, 3.01, 3.02, etc.
taxonomy().concept(ferc:ScheduleFactorsUsedInEstimatingDepreciationChargesAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F2Schedule").text Section B. Factors Used in Estimating Depreciation Charges
Line No. $headings = filter (taxonomy().concept(ferc:ScheduleFactorsUsedInEstimatingDepreciationChargesAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "336 - Schedule - Depreciation, Depletion and Amortization of Gas Plant - Section B") $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
if $heading_dict[$row][2] != "" $heading_dict[$row][2].name.local-name else ""
$heading_dict[$row][1] Nature of Payment
$row (a)
$rowl[1] 1 $rowl[2] Production and Gathering Plant $rowl[3] $300,000 $rowl[4] 5%
"9" 9 $row[2] $row[3] $1,000,000 $row[4] 23.23%